vendor: 4,593 bytes, lines 1-2
1/*! For license information please see booking-hub.js.LICENSE.txt */ 2!function(){var e={2:function(e,t,n){var i=n(2199),r=n(4664),s=n(5950);e.exports=function(e){return i(e,s,r)}},79:function(e,t,n){var i=n(3702),r=n(80),s=n(4739),o=n(8655),a=n(1175);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},80:function(e,t,n){var i=n(6025),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},119:function(e,t,n){!function(e){"use strict";var t={1:"Û±",2:"Û²",3:"Û³",4:"Û´",5:"Ûµ",6:"Û¶",7:"Û·",8:"Û¸",9:"Û¹",0:"Û°"},n={"Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","Û°":"0"};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}})}(n(5093))},158:function(e,t,n){!function(e){"use strict";var t=["جÙÙØ±Û","ÙØ±ÙرÛ","٠ارÚ","اپرÛÙ","٠ئÛ","جÙÙ","جÙÙØ§Ø¦Û","اگست","ست٠بر","Ø§Ú©ØªÙØ¨Ø±","ÙÙ٠بر","دس٠بر"],n=["Ø§ØªÙØ§Ø±","Ù¾ÛØ±","Ù ÙÚ¯Ù","بدھ","ج٠عرات","ج٠عÛ","ÛÙØªÛ"];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}})}(n(5093))},217:function(e,t,n){!function(e){"use strict";var t=["Am Faoilleach","An Gearran","Am Mà rt","An Giblean","An Cèitean","An t-Ãgmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dà mhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Mà rt","Gibl","Cèit","Ãgmh","Iuch","Lùn","Sult","Dà mh","Samh","Dùbh"],i=["Didòmhnaich","Diluain","Dimà irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],r=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],s=["Dò","Lu","Mà ","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:s,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]
2LT",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){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},270:function(e,t,n){var i=n(7068),r=n(346);e.exports=function e(t,n,s,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,s,o,e,a))}},289:function(e,t,n){var i=n(2651);e.exports=function(e){return i(this,e).get(e)}},294:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},304:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n(5093))},306:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},317:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}},346:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},361:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},392:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},527:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function i(e,t,n,i){var s="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":s=i?"sekunnin":"sekuntia";break;case"m":return i?"minuutin":"minuutti";case"mm":s=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":s=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":s=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":s=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":s=i?"vuoden":"vuotta"}return s=r(e,i)+" "+s}function r(e,i){return e<10?i?n[e]:t[e]:e}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_t
2i_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},609:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},659:function(e,t,n){var i=n(1873),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(e){}var r=o.call(e);return i&&(t?e[a]=n:delete e[a]),r}},684:function(e,t,n){!function(e){"use strict";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"})}(n(5093))},689:function(e,t,n){var i=n(2),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,s,o,a){var l=1&n,c=i(e),d=c.length;if(d!=i(t).length&&!l)return!1;for(var u=d;u--;){var h=c[u];if(!(l?h in t:r.call(t,h)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var p=!0;a.set(e,t),a.set(t,e);for(var g=l;++u<d;){var y=e[h=c[u]],_=t[h];if(s)var b=l?s(_,y,h,t,e,a):s(y,_,h,e,t,a);if(!(void 0===b?y===_||o(y,_,n,s,a):b)){p=!1;break}
vendor: 4,333 bytes, line 2
2g||(g="constructor"==h)}if(p&&!g){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(p=!1)}return a.delete(e),a.delete(t),p}},695:function(e,t,n){var i=n(8096),r=n(2428),s=n(6449),o=n(3656),a=n(361),l=n(7167),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=s(e),d=!n&&r(e),u=!n&&!d&&o(e),h=!n&&!d&&!u&&l(e),f=n||d||u||h,m=f?i(e.length,String):[],p=m.length;for(var g in e)!t&&!c.call(e,g)||f&&("length"==g||u&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,p))||m.push(g);return m}},708:function(e,t,n){!function(e){"use strict";var t=["ÞÞ¬ÞÞªÞÞ¦ÞÞ©","ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©","ÞÞ§ÞÞ¨ÞÞª","ÞÞÞÞ°ÞÞ©ÞÞª","ÞÞ","ÞÞ«ÞÞ°","ÞÞªÞÞ¦ÞÞ¨","ÞÞ¯ÞÞ¦ÞÞ°ÞÞª","ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª","ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª","ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª"],n=["ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦","ÞÞ¯ÞÞ¦","ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦","ÞÞªÞÞ¦","ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨","ÞÞªÞÞªÞÞª","ÞÞ®ÞÞ¨ÞÞ¨ÞÞª"];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}})}(n(5093))},748:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},838:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
2S:"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}})}(n(5093))},938:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},945:function(e,t,n){var i=n(79),r=n(8223),s=n(3661);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new s(o)}return n.set(e,t),this.size=n.size,this}},977:function(e,t,n){var i,r;!function(s){i=[n(9786)],r=function(e){return function(e,t){"use strict";var n={extend:function(e,t){for(var n in t)e[n]=t[n];return e},modulo:function(e,t){return(e%t+t)%t}},i=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?i.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,i){e=n.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(i){t(e,i)&&r.push(e);for(var n=e.querySelectorAll(i),s=0;s<n.length;s++)r.push(n[s])}else r.push(e)}),r},n.debounceMethod=function(e,t,n){n=n||100;var i=e.prototype[t],r=t+"Timeout";e.prototype[t]=function(){var e=this[r];clearTimeout(e);var t=arguments,s=this;this[r]=setTimeout(function(){i.apply(s,t),delete s[r]},n)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var r=e.console;return n.htmlInit=function(t,i){n.docReady(function(){var s=n.toDashed(i),o="data-"+s,a=document.querySelectorAll("["+o+"]"),l=document.querySelectorAll(".js-"+s),c=n.makeArray(a).concat(n.makeArray(l)),d=o+"-options",u=e.jQuery;c.forEach(function(e){var n,s=e.getAttribute(o)||e.getAttribute(d);try{n=s&&JSON.parse(s)}catch(t){return void(r&&r.error("Error parsing "+o+" on "+e.className+": "+t))}var a=new t(e,n);u&&u.data(e,i,a)})})},n}(s,e)}.apply(t,i),void 0===r||(e.exports=r)}(window)},1011:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(5093))},1025:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"à¯",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","à¯":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ª
2à®°à¯_à®
à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯".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}})}(n(5093))},1042:function(e,t,n){var i=n(6110)(Object,"create");e.exports=i},1052:function(e,t,n){!function(e){"use strict";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"}function i(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Huâ":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function r(e,t,n,i){var r=s(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";
vendor: 6,417 bytes, line 2
2case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function s(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,s="";return n>0&&(s+=t[n]+"vatlh"),i>0&&(s+=(""!==s?" ":"")+t[i]+"maH"),r>0&&(s+=(""!==s?" ":"")+t[r]),""===s?"pagh":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:i,s:"puS lup",ss:r,m:"waâ tup",mm:r,h:"waâ rep",hh:r,d:"waâ jaj",dd:r,M:"waâ jar",MM:r,y:"waâ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},1135:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},1175:function(e,t,n){var i=n(6025);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},1221:function(e,t,n){!function(e){"use strict";var t=["جÙÙØ±Ù","ÙÙØ¨Ø±ÙرÙ","Ù
ارÚ","اپرÙÙ","Ù
ئÙ","جÙÙ","جÙÙØ§Ø¡Ù","آگسٽ","سÙپٽÙ
بر","Ø¢ÚªÙ½ÙØ¨Ø±","ÙÙÙ
بر","ÚØ³Ù
بر"],n=["Ø¢ÚØ±","سÙÙ
ر","اڱارÙ","اربع","Ø®Ù
ÙØ³","جÙ
ع","ÚÙÚØ±"];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}})}(n(5093))},1290:function(e,t,n){!function(e){"use strict";var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};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>
2=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}})}(n(5093))},1380:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1420:function(e,t,n){var i=n(79);e.exports=function(){this.__data__=new i,this.size=0}},1459:function(e){e.exports=function(e){return this.__data__.has(e)}},1470:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+r({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){switch(i(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function i(e){return e>9?i(e%10):e}function r(e,t){return 2===t?s(e):e}function s(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],a=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,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],u=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:d,shortWeekdaysParse:u,minWeekdaysParse:h,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},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."}})}(n(5093))},1485:function(e,t,n){var i,r;window,void 0===(r="function"==typeof(i=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function t(){}var n="undefined"==typeof console?t:function(e){console.error(e)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=i.length;function s(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<r;t++)e[i[t]]=0;return e}function o(e){var t=getComputedStyle(e);return t||n("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var a,l=!1;function c(){if(!l){l=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var i=o(t);a=200==Math.round(e(i.width)),d.isBoxSizeOuter=a,n.removeChild(t)}}function d(t){if(c(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var n=o(t);if("none"==n.display)return s();var l={};l.width=t.offsetWidth,l.height=t.offsetHeight;for(var d=l.isBorderBox="border-box"==n.boxSizing,u=0;u<r;u++){var h=i[u],f=n[h],m=parseFloat(f);l[h]=isNaN(m)?0:m}var p=l.paddingLeft+l.paddingRight,g=l.paddingTop+l.paddingBottom,y=l.marginLeft+l.marginRight,_=l.marginTop+l.marginBottom,b=l.borderLeftWidth+l.borderRightWidth,v=l.borderTopWidth+l.borderBottomWidth,w=d&&a,k=e(n.width);!1!==k&&(l.width=k+(w?0:p+b));var T=e(n.height);return!1!==T&&(l.height=T+(w?0:g+v)),l.innerWidth=l.width-(p+b),l.innerHe
vendor: 5,810 bytes, line 2
2ight=l.height-(g+v),l.outerWidth=l.width+y,l.outerHeight=l.height+_,l}}return d})?i.call(t,n,t,e):i)||(e.exports=r)},1488:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},i=function(e){return function(i,r,s,o){var a=t(i),l=n[e][t(i)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["جاÙÙÙ","ÙÙÙØ±Ù","Ù
ارس","Ø£ÙØ±ÙÙ","Ù
اÙ","Ø¬ÙØ§Ù","جÙÙÙÙØ©","Ø£ÙØª","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:0,doy:4}})}(n(5093))},1509:function(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},s=function(e){return function(t,n,s,o){var a=i(t),l=r[e][i(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/âM/âYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"Ù
ÙØ° %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("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}})}(n(5093))},1541:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"D/M/YYYY",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;
vendor: 4,709 bytes, line 2
2return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©] LT",nextDay:"[æå¤©] LT",nextWeek:"[ä¸]dddd LT",lastDay:"[æ¨å¤©] LT",lastWeek:"[ä¸]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så
§",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n(5093))},1545:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};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}})}(n(5093))},1549:function(e,t,n){var i=n(2032),r=n(3862),s=n(6721),o=n(2749),a=n(5749);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},1632:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t?e>=11?e:e+12:"ä¸å"===t||"æä¸"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;
vendor: 2,628 bytes, line 2
2return i<600?"忍":i<900?"æ©ä¸":i<1200?"ä¸å":1200===i?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:"[ä¸]ddddLT",lastDay:"[æ¨å¤©]LT",lastWeek:"[ä¸]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|é±)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"é±";default:return e}},relativeTime:{future:"%så¾",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"}})}(n(5093))},1713:function(e,t,n){!function(e){"use strict";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?'×××"צ':"×××¨× ×צ×ר×××":"×ער×"}})}(n(5093))},1734:function(e,t,n){!function(e){"use strict";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=["E
2an","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],s=["Do","Lu","Má","Cé","Dé","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:s,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){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(5093))},1765:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},1794:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},1827:function(e,t,n){!function(e){"use strict";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(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[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:"%
2d 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}})}(n(5093))},1848:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},1873:function(e,t,n){var i=n(9325).Symbol;e.exports=i},1882:function(e,t,n){var i=n(2552),r=n(3805);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1885:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},1986:function(e,t,n){var i=n(1873),r=n(7828),s=n(5288),o=n(5911),a=n(317),l=n(4247),c=i?i.prototype:void 0,d=c?c.valueOf:void 0;e.exports=function(e,t,n,i,c,u,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!u(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var m=1&i;if(f||(f=l),e.size!=t.size&&!m)return!1;var p=h.get(e);if(p)return p==t;i|=2,h.set(e,t);var g=o(f(e),f(t),i,c,u,h);return h.delete(e),g;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},2032:function(e,t,n){var i=n(1042);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},2124:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["थà¥à¤¡à¤¯à¤¾ सà¥
à¤à¤à¤¡à¤¾à¤à¤¨à¥","थà¥à¤¡à¥ सà¥
à¤à¤à¤¡"],ss:[e+" सà¥
à¤à¤à¤¡à¤¾à¤à¤¨à¥",e+" सà¥
à¤à¤à¤¡"],m:["à¤à¤à¤¾ मिणà¤à¤¾à¤¨","à¤à¤ मिनà¥à¤"],mm:[e+" मिणà¤à¤¾à¤à¤¨à¥",e+" मिणà¤à¤¾à¤"],h:["à¤à¤à¤¾ वरान","à¤à¤ वर"],hh:[e+" वराà¤à¤¨à¥",e+" वराà¤"],d:["à¤à¤à¤¾ दिसान","à¤à¤ दà¥à¤¸"],dd:[e+" दिसाà¤à¤¨à¥",e+" दà¥à¤¸"],M:["à¤à¤à¤¾ मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨","à¤à¤ मà¥à¤¹à¤¯à¤¨à¥"],MM:[e+" मà¥à¤¹à¤¯à¤¨à¥à¤¯à¤¾à¤¨à¥",e+" मà¥à¤¹à¤¯à¤¨à¥"],y:["à¤à¤à¤¾ वरà¥à¤¸à¤¾à¤¨","à¤à¤ वरà¥à¤¸"],yy:[e+" वरà¥à¤¸à¤¾à¤à¤¨à¥",e+" वरà¥à¤¸à¤¾à¤"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-deva",{months:{standalone:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¥à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¤¯_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),format:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥à¤à¥à¤¯à¤¾_मारà¥à¤à¤¾à¤à¥à¤¯à¤¾_à¤à¤ªà¥à¤°à¥à¤²à¤¾à¤à¥à¤¯à¤¾_मà¥à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤¨à¤¾à¤à¥à¤¯à¤¾_à¤à¥à¤²à¤¯à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¤¸à¥à¤à¤¾à¤à¥à¤¯à¤¾_सपà¥à¤à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_à¤à¤à¥à¤à¥à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾_डिसà¥à¤à¤¬à¤°à¤¾à¤à¥à¤¯à¤¾".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_à¤à¤ªà¥à¤°à¥._मà¥_à¤à¥à¤¨_à¤à¥à¤²._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"à¤à¤¯à¤¤à¤¾à¤°_सà¥à¤®à¤¾à¤°_मà¤à¤à¤³à¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_बिरà¥à¤¸à¥à¤¤à¤¾à¤°_सà¥à¤à¥à¤°à¤¾à
2¤°_शà¥à¤¨à¤µà¤¾à¤°".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){return"D"===t?e+"वà¥à¤°":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?"साà¤à¤à¥":"रातà¥"}})}(n(5093))},2137:function(e){var t,n;t="undefined"!=typeof window?window:this,n=function(){function e(){}let t=e.prototype;return t.on=function(e,t){if(!e||!t)return this;let n=this._events=this._events||{},i=n[e]=n[e]||[];return i.includes(t)||i.push(t),this},t.once=function(e,t){if(!e||!t)return this;this.on(e,t);let n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this},t.off=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;let i=n.indexOf(t);return-1!=i&&n.splice(i,1),this},t.emitEvent=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;n=n.slice(0),t=t||[];let i=this._onceEvents&&this._onceEvents[e];for(let r of n)i&&i[r]&&(this.off(e,r),delete i[r]),r.apply(this,t);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e},e.exports?e.exports=n():t.EvEmitter=n()},2199:function(e,t,n){var i=n(4528),r=n(6449);e.exports=function(e,t,n){var s=t(e);return r(e)?s:i(s,n(e))}},2218:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"SẹÌrẹÌ_EÌreÌleÌ_ẸrẹÌnaÌ_IÌgbeÌ_EÌbibi_OÌkuÌdu_Agẹmo_OÌguÌn_Owewe_á»ÌwaÌraÌ_BeÌluÌ_á»ÌpẹÌÌ".split("_"),monthsShort:"SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ".split("_"),weekdays:"AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta".split("_"),weekdaysShort:"AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ".split("_"),weekdaysMin:"AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌ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:"[OÌniÌ ni] LT",nextDay:"[á»Ìla ni] LT",nextWeek:"dddd [á»sáº¹Ì toÌn'bá»] [ni] LT",lastDay:"[AÌna ni] LT",lastWeek:"dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT",sameElse:"L"},relativeTime:{future:"niÌ %s",past:"%s ká»jaÌ",s:"iÌsẹjuÌ aayaÌ die",ss:"aayaÌ %d",m:"iÌsẹjuÌ kan",mm:"iÌsẹjuÌ %d",h:"waÌkati kan",hh:"waÌkati %d",d:"á»já»Ì kan",dd:"á»já»Ì %d",M:"osuÌ kan",MM:"osuÌ %d",y:"á»duÌn kan",yy:"á»duÌn %d"},dayOfMonthOrdinalParse:/á»já»Ì\s\d{1,2}/,ordinal:"á»já»Ì %d",week:{dow:1,doy:4}})}(n(5093))},2264:function(e,t,n){!function(e){"use strict";var t={1:"á",2:"á",3:"á",4:"á",5:"á
",6:"á",7:"á",8:"á",9:"á",0:"á"},n={"á":"1","á":"2","á":"3","á":"4","á
":"5","á":"6","á":"7","á":"8","á":"9","á":"0"};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:"á
áá¹áááº.á¡ááá
2ºá¸áááº",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}})}(n(5093))},2271:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){return"m"===i?n?"минÑÑа":"минÑÑÑ":e+" "+t({ss:n?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:n?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",ww:"неделÑ_недели_неделÑ",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"}[i],+e)}var i=[/^Ñнв/i,/^Ñев/i,/^маÑ/i,/^апÑ/i,/^ма[йÑ]/i,/^иÑн/i,/^иÑл/i,/^авг/i,/^Ñен/i,/^окÑ/i,/^ноÑ/i,/^дек/i];e.defineLocale("ru",{months:{format:"ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_"),standalone:"ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ".split("_")},monthsShort:{format:"Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_"),standalone:"Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.".split("_")},weekdays:{standalone:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа".split("_"),format:"воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ".split("_"),isFormat:/\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?] ?dddd/},weekdaysShort:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsShortRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsStrictRegex:/^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i,monthsShortStrictRegex:/^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|окÑ\.|ноÑб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[СегоднÑ, в] LT",nextDay:"[ÐавÑÑа, в] LT",lastDay:"[ÐÑеÑа, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[Ð ÑледÑÑÑее] dddd, [в] LT";case 1:case 2:case 4:return"[Ð ÑледÑÑÑий] dddd, [в] LT";case 3:case 5:case 6:return"[Ð ÑледÑÑÑÑÑ] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Ðо] dddd, [в] LT":"[Ð] dddd, [в] LT";switch(this.day()){case 0:return"[РпÑоÑлое] dddd, [в] LT";case 1:case 2:case 4:return"[РпÑоÑлÑй] dddd, [в] LT";
vendor: 14,595 bytes, line 2
2case 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}})}(n(5093))},2274:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i gÃ¥r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én mÃ¥ned",MM:"%d mÃ¥neder",y:"ett Ã¥r",yy:"%d Ã¥r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},2297:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},2353:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},r=function(e){return function(t,r,s,o){var a=n(t),l=i[e][n(t)];return 2===a&&(l=l[r?0:1]),l.replace(/%d/i,t)}},s=["ÙÙØ§Ùر","ÙØ¨Ø±Ø§Ùر","Ù
ارس","أبرÙÙ","Ù
اÙÙ","ÙÙÙÙÙ","ÙÙÙÙÙ","أغسطس","سبتÙ
بر","Ø£ÙØªÙبر","ÙÙÙÙ
بر","Ø¯ÙØ³Ù
بر"];e.defineLocale("ar-ly",{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: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}})}(n(5093))},2404:function(e,t,n){var i=n(270);e.exports=function(e,t){return i(e,t)}},2428:function(e,t,n){var i=n(7534),r=n(346),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},2475:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},2477:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},2534:function(e,t,n){var i,r,s;window,r=[n(3763)],void 0===(s="function"==typeof(i=function(e){"use strict";var t=e.create("fitRows"),n=t.prototype;return n._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},n._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,n=this.isotope.size.innerWidth+this.gutter;0!==this.x&&t+this.x>n&&(this.x=0,this.y=this.maxY);var i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,i},n._getContainerSize=function(){return{height:this.maxY}},t})?i.apply(t,r):i)||(e.exports=s)},2552:function(e,t,n){var i=n(1873),r=n(659),s=n(9350),o=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},2572:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},2648:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour:function(e,t){return 12===e&&(e=0),"忍"===t||"æ©ä¸"===t||"ä¸å"===t?e:"ä¸å"===t||"æä¸"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"忍":i<900?"æ©ä¸":i<1130?"ä¸å":i<1230?"ä¸å":i<1800?"ä¸å":"æä¸"},calendar:{sameDay:"[ä»å¤©]LT",nextDay:"[æå¤©]LT",nextWeek:function(e){return e.week()!==this.week()?"[ä¸]dddLT":"[æ¬]dddLT"},lastDay:"[æ¨å¤©]LT",lastWeek:function(e){return this.week()!==e.week()?"[ä¸]dddLT":"[æ¬]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|å¨)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"æ¥";case"M":return e+"æ";case"w":case"W":return e+"å¨";default:return e}},relativeTime:{future:"%så",past:"%så",s:"å ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",w:"1 å¨",ww:"%d å¨",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},week:{dow:1,doy:4}})}(n(5093))},2651:function(e,t,n){var i=n(4218);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},2682:function(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};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}})}(n(5093))},2749:function(e,t,n){var i=n(1042),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},2804:function(e,t,n){var i=n(6110)(n(9325),"Promise");e.exports=i},2831:function(e,t,n){var i,r;!function(s){"use strict";i=[n(7738),n(1485),n(977),n(3169)],r=function(e,t,n,i){return function(e,t,n,i,r){var s=e.console,o=e.jQuery,a=function(){},l=0,c={};function d(e,t){var n=i.getQueryElement(e);
vendor: 8,454 bytes, line 2
2if(n){this.element=n,o&&(this.$element=o(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(t);var r=++l;this.element.outlayerGUID=r,c[r]=this,this._create(),this._getOption("initLayout")&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(n||e))}d.namespace="outlayer",d.Item=r,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=d.prototype;function h(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}i.extend(u,t.prototype),u.option=function(e){i.extend(this.options,e)},u._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,i=[],r=0;r<t.length;r++){var s=new n(t[r],this);i.push(s)}return i},u._filterFindItemElements=function(e){return i.filterFindElements(e,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(e){return e.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=n(this.element)},u._getMeasurement=function(e,t){var i,r=this.options[e];r?("string"==typeof r?i=this.element.querySelector(r):r instanceof HTMLElement&&(i=r),this[e]=i?n(i)[t]:r):this[e]=0},u.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},u._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},u._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach(function(e){var i=this._getItemLayoutPosition(e);i.item=e,i.isInstant=t||e.isLayoutInstant,n.push(i)},this),this._processLayoutQueue(n)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},u.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=m(e),this.stagger;this.stagger=0},u._positionItem=function(e,t,n,i,r){i?e.goTo(t,n):(e.stagger(r*this.stagger),e.moveTo(t,n))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},u._getContainerSize=a,u._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},u._emitCompleteOnItems=function(e,t){var n=this;function i(){n.dispatchEvent(e+"Complete",null,[t])}var r=t.length;if(t&&r){var s=0;t.forEach(function(t){t.once(e,o)})}else i();function o(){++s==r&&i()}},u.dispatchEvent=function(e,t,n){var i=t?[t].concat(n):n;if(this.emitEvent(e,i),o)if(this.$element=this.$element||o(this.element),t){var r=o.Event(t);r.type=e,this.$element.trigger(r,n)}else this.$element.trigger(e,n)},u.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},u.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},u.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},u.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){i.removeFrom(this.stamps,e),this.unignore(e)},this)},u._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=i.makeArray(e)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},u._manageStamp=a,u._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,r=n(e);return{left:t.left-i.left-r.marginLeft,top:t.top-i.top-r.marginTop,right:i.right-t.right-r.marginRight,bottom:i.bottom-t.bottom-r.marginBottom}},u.handleEvent=i.handleEvent,u.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},i.debounceMethod(d,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var e=n(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},u.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},u.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},u.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},u.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.reveal()})}},u.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.hide()})}},u.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},u.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},u.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},u.getItems=function(e){e=i.makeArray(e);var t=[];return e.forEach(function(e){var n=this.getItem(e);n&&t.push(n)},this),t},u.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),i.removeFrom(this.items,e)},this)},u.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete c[t],delete this.element.outlayerGUID,o&&o.removeData(this.element,this.constructor.namespace)},d.data=function(e){var t=(e=i.getQueryElement(e))&&e.outlayerGUID;return t&&c[t]},d.create=function(e,t){var n=h(d);return n.defaults=i.extend({},d.defaults),i.extend(n.defaults,t),n.compatOptions=i.extend({},d.compatOptions),n.namespace=e,n.data=d.data,n.Item=h(r),i.htmlInit(n,e),o&&o.bridget&&o.bridget(e,n),n};var f={ms:1,s:1e3};function m(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],i=t&&t[2];return n.length?(n=parseFloat(n))*(f[i]||1):0}return d.Item=r,d}(s,e,t,n,i)}.apply(t,i),void 0===r||(e.exports=r)}(window)},2934:function(e,t,n){!function(e){"use strict";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>
vendor: 4,193 bytes, line 2
211?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}})}(n(5093))},2949:function(e,t,n){var i=n(2651);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},3004:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},3035:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}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}})}(n(5093))},3040:function(e,t,n){var i=n(1549),r=n(79),s=n(8223);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(s||r),string:new i}}},3164:function(e,t,n){!function(e){"use strict";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:"%
2dìê°",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?"ì¤ì ":"ì¤í"}})}(n(5093))},3169:function(e,t,n){var i,r,s;window,r=[n(7738),n(1485)],void 0===(s="function"==typeof(i=function(e,t){"use strict";function n(e){for(var t in e)return!1;return!0}var i=document.documentElement.style,r="string"==typeof i.transition?"transition":"WebkitTransition",s="string"==typeof i.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],a={transform:s,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"};function l(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var c=l.prototype=Object.create(e.prototype);function d(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}c.constructor=l,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.getSize=function(){this.size=t(this.element)},c.css=function(e){var t=this.element.style;for(var n in e)t[a[n]||n]=e[n]},c.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=e[t?"left":"right"],r=e[n?"top":"bottom"],s=parseFloat(i),o=parseFloat(r),a=this.layout.size;-1!=i.indexOf("%")&&(s=s/100*a.width),-1!=r.indexOf("%")&&(o=o/100*a.height),s=isNaN(s)?0:s,o=isNaN(o)?0:o,s-=t?a.paddingLeft:a.paddingRight,o-=n?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=o},c.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=n?"paddingLeft":"paddingRight",s=n?"left":"right",o=n?"right":"left",a=this.position.x+e[r];t[s]=this.getXValue(a),t[o]="";var l=i?"paddingTop":"paddingBottom",c=i?"top":"bottom",d=i?"bottom":"top",u=this.position.y+e[l];t[c]=this.getYValue(u),t[d]="",this.css(t),this.emitEvent("layout",[this])},c.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},c.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},c._transitionTo=function(e,t){this.getPosition();var n=this.position.x,i=this.position.y,r=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!r||this.isTransitioning){var s=e-n,o=t-i,a={};a.transform=this.getTranslate(s,o),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},c.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},c.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},c._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},c.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);e.from&&(this.css(e.from),this.element.offsetHeight),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var u="opacity,"+d(s);c.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:u,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1)}},c.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},c.onotransitionend=function(e){this.ontransitionend(e)};var h={"-webkit-transform":"transform"};c.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,i=h[e.propertyName]||e.propertyName;delete t.ingProperties[i],n(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd&&(t.onEnd[i].call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},c._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(f)},c.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},c.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},l})?i.apply(t,r):i)||(e.exports=s)},3322:function(e,t,n){!function(e){"use strict";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,i,r){var s,o=t.words[i];return 1===i.length?"y"===i&&n?"Ñедна година":r||n?o[0]:o[1]:(s=t.correctGrammaticalCase(e,o),"yy"===i&&n&&"годинÑ"===s?e+" година":e+" "+s)}};e.defineLocale("sr-cyrl",{months:"ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_ок
2ÑобаÑ_новембаÑ_деÑембаÑ".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(){return["[пÑоÑле] [недеÑе] [Ñ] LT","[пÑоÑлог] [понедеÑка] [Ñ] LT","[пÑоÑлог] [ÑÑоÑка] [Ñ] LT","[пÑоÑле] [ÑÑеде] [Ñ] LT","[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT","[пÑоÑлог] [пеÑка] [Ñ] LT","[пÑоÑле] [ÑÑбоÑе] [Ñ] LT"][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}})}(n(5093))},3330:function(e,t,n){var i,r,s;window,r=[n(3763),n(6994)],i=function(e,t){"use strict";var n=e.create("masonry"),i=n.prototype,r={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in t.prototype)r[s]||(i[s]=t.prototype[s]);var o=i.measureColumns;i.measureColumns=function(){this.items=this.isotope.filteredItems,o.call(this)};var a=i._getOption;return i._getOption=function(e){return"fitWidth"==e?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},n},void 0===(s="function"==typeof i?i.apply(t,r):i)||(e.exports=s)},3345:function(e){e.exports=function(){return[]}},3383:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}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){return"D"===t?e+"er":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}
vendor: 6,194 bytes, line 2
2,meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(5093))},3386:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},3478:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},3508:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},3601:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},3605:function(e){e.exports=function(e){return this.__data__.get(e)}},3635:function(e,t,n){!function(e){"use strict";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){return e+(/ÑеÑ
еÑ$/i.exec(e)?"Ñен":/Ò«Ñл$/i.exec(e)?"Ñан":"Ñан")},past:"%s каÑлла",s:"пÓÑ-ик ҫеккÑнÑ",ss:"%d ҫеккÑнÑ",m:"пÓÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"пÓÑ ÑеÑ
еÑ",hh:"%
2d ÑеÑ
еÑ",d:"пÓÑ ÐºÑн",dd:"%d кÑн",M:"пÓÑ ÑйÓÑ
",MM:"%d ÑйÓÑ
",y:"пÓÑ Ò«Ñл",yy:"%d Ò«Ñл"},dayOfMonthOrdinalParse:/\d{1,2}-мÓÑ/,ordinal:"%d-мÓÑ",week:{dow:1,doy:7}})}(n(5093))},3650:function(e,t,n){var i=n(4335)(Object.keys,Object);e.exports=i},3656:function(e,t,n){e=n.nmd(e);var i=n(9325),r=n(9935),s=t&&!t.nodeType&&t,o=s&&e&&!e.nodeType&&e,a=o&&o.exports===s?i.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},3661:function(e,t,n){var i=n(3040),r=n(7670),s=n(289),o=n(4509),a=n(2949);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},3702:function(e){e.exports=function(){this.__data__=[],this.size=0}},3739:function(e,t,n){!function(e){"use strict";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?"à´µàµà´àµà´¨àµà´¨àµà´°à´":"രാതàµà´°à´¿"}})}(n(5093))},3763:function(e,t,n){var i,r,s;window,r=[n(1485),n(2831)],i=function(e,t){"use strict";function n(e){this.isotope=e,e&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}var i=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(e){i[e]=function(){return t.prototype[e].apply(this.isotope,arguments)}}),i.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},i._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.getRowHeight=function(){this.getSegmentSize("row","Height")},i.getSegmentSize=function(e,t){var n=e+t,i="outer"+t;if(this._getMeasurement(n,i),!this[n]){var r=this.getFirstItemSize();this[n]=r&&r[i]||this.isotope.size["inner"+t]}},i.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},i.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(e,t){function r(){n.apply(this,arguments)}return r.prototype=Object.create(i),r.prototype.constructor=r,t&&(r.options=t),r.prototype.namespace=e,n.modes[e]=r,r},n},void 0===(s="function"==typeof i?i.apply(t,r):i)||(e.exports=s)},3784:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},3805:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3827:function(e,t,n){!function(e){"use strict";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:"西æ¦",n
vendor: 4,111 bytes, line 2
2arrow:"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å¹´"}})}(n(5093))},3861:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"},i=[/^à¤à¤¨/i,/^फ़र|फर/i,/^मारà¥à¤/i,/^à¤
पà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^à¤
à¤/i,/^सितà¤|सित/i,/^à¤
à¤à¥à¤à¥/i,/^नव|नवà¤/i,/^दिसà¤|दिस/i],r=[/^à¤à¤¨/i,/^फ़र/i,/^मारà¥à¤/i,/^à¤
पà¥à¤°à¥/i,/^मà¤/i,/^à¤à¥à¤¨/i,/^à¤à¥à¤²/i,/^à¤
à¤/i,/^सित/i,/^à¤
à¤à¥à¤à¥/i,/^नव/i,/^दिस/i];e.defineLocale("hi",{months:{format:"à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°".split("_"),standalone:"à¤à¤¨à¤µà¤°à¥_फरवरà¥_मारà¥à¤_à¤
पà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_à¤
à¤à¤¸à¥à¤¤_सितà¤à¤¬à¤°_à¤
à¤à¥à¤à¥à¤¬à¤°_नवà¤à¤¬à¤°_दिसà¤à¤¬à¤°".split("_")},monthsShort:"à¤à¤¨._फ़र._मारà¥à¤_à¤
पà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._à¤
à¤._सित._à¤
à¤à¥à¤à¥._नव._दिस.".split("_"),weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm बà¤à¥",LTS:"A h:mm:ss बà¤à¥",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बà¤à¥",LLLL:"dddd, D MMMM YYYY, A h:mm बà¤à¥"},monthsParse:i,longMonthsParse:i,shortMonthsParse:r,monthsRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|à¤
à¤à¤¸à¥à¤¤|à¤
à¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/i,monthsShortRegex:/^(à¤à¤¨à¤µà¤°à¥|à¤à¤¨\.?|फ़रवरà¥|फरवरà¥|फ़र\.?|मारà¥à¤?|à¤
पà¥à¤°à¥à¤²|à¤
पà¥à¤°à¥\.?|मà¤?|à¤à¥à¤¨?|à¤à¥à¤²à¤¾à¤|à¤à¥à¤²\.?|à¤
à¤à¤¸à¥à¤¤|à¤
à¤\.?|सितमà¥à¤¬à¤°|सितà¤à¤¬à¤°|सित\.?|à¤
à¤à¥à¤à¥à¤¬à¤°|à¤
vendor: 3,946 bytes, line 2
2à¤à¥à¤à¥\.?|नवमà¥à¤¬à¤°|नवà¤à¤¬à¤°|नव\.?|दिसमà¥à¤¬à¤°|दिसà¤à¤¬à¤°|दिस\.?)/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}})}(n(5093))},3862:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},3872:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(5093))},4051:function(e,t,n){!function(e){"use strict";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
2é",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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},4063:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},4218:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4226:function(e,t,n){!function(e){"use strict";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="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(5093))},4247:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},4248:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},4335:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},4418:function(e,t,n){!function(e){"use strict";var t="styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutÄ";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinÄ";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesiÄ
ce":"miesiÄcy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ
tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_År_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_År_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DziÅ o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielÄ o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W ÅrodÄ o] LT";case 6:return"[W sobotÄ o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszÅÄ
niedzielÄ o] LT";case 3:return"[W zeszÅÄ
ÅrodÄ o] LT";case 6:return"[W zeszÅÄ
sobotÄ o] LT";default:return"[W zeszÅy] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzieÅ",dd:"%d dni",w:"tydzieÅ",ww:s,M:"miesiÄ
c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},4429:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){if("m"===n)return t?"jedna minuta":i?"jednu minutu":"jedne minute"}function n(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return"jedan sat";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._Äet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_Äe_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juÄer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[proÅ¡lu] dddd [u] LT";case 6:return"[proÅ¡le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[proÅ¡li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:n,m:t,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(5093))},4451:function(e,t,n){!function(e){"use strict";var t={1:"à³§",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"à³",8:"à³®",9:"೯",0:"೦"}
vendor: 5,452 bytes, line 2
2,n={"à³§":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","à³":"7","à³®":"8","೯":"9","೦":"0"};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}})}(n(5093))},4457:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"sÄptÄmâni",MM:"luni",yy:"ani"}[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}})}(n(5093))},4496:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},4509:function(e,t,n){var i=n(2651);e.exports=function(e){return i(this,e).has(e)}},4528:function(e){e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},4566:function(e,t,n){!function(e){"use strict";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Ã¥._t
2y._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}})}(n(5093))},4664:function(e,t,n){var i=n(9770),r=n(3345),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),i(o(e),function(t){return s.call(e,t)}))}:r;e.exports=a},4691:function(e,t,n){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}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(){return 6===this.day()?"[Ïο ÏÏοηγοÏμενο] dddd [{}] LT":"[Ïην ÏÏοηγοÏμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,n){var i=this._calendarEl[e],r=n&&n.hours();return t(i)&&(i=i.apply(n)),i.replace("{}",r%12==1?"ÏÏη":"ÏÏιÏ")},relativeTime:{future:"Ïε %s",past:"%s ÏÏιν",s:"λίγα δεÏ
ÏεÏÏλεÏÏα",ss:"%d δεÏ
ÏεÏÏλεÏÏα",m:"Îνα λεÏÏÏ",mm:"%d λεÏÏά",h:"μία ÏÏα",hh:"%d ÏÏεÏ",d:"μία μÎÏα",dd:"%d μÎÏεÏ",M:"ÎÎ½Î±Ï Î¼Î®Î½Î±Ï",MM:"%d μήνεÏ",y:"ÎÎ½Î±Ï ÏÏÏνοÏ",yy:"%d ÏÏÏνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(5093))},4697:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}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:"%
2d 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}})}(n(5093))},4739:function(e,t,n){var i=n(6025);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},4840:function(e,t,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},4894:function(e,t,n){var i=n(1882),r=n(294);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},4901:function(e,t,n){var i=n(2552),r=n(294),s=n(346),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return s(e)&&r(e.length)&&!!o[i(e)]}},4903:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},5050:function(e,t,n){!function(e){"use strict";var t={1:"à«§",2:"૨",3:"à«©",4:"૪",5:"à««",6:"૬",7:"à«",8:"à«®",9:"૯",0:"૦"},n={"à«§":"1","૨":"2","à«©":"3","૪":"4","à««":"5","૬":"6","à«":"7","à«®":"8","૯":"9","૦":"0"};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}})}(n(5093))},5083:function(e,t,n){var i=n(1882),r=n(7296),s=n(3805),o=n(7473),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,d=l.toString,u=c.hasOwnProperty,h=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!s(e)||r(e))&&(i(e)?h:a).test(o(e))}},5093:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function s(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function d(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function m(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,i){return Qn(e,t,n,i,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 53,606 bytes, line 2
2dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=g()),e._pf}function _(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=y(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function b(e){var t=p(NaN);return null!=e?m(y(t),e):y(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=r.momentProperties=[],w=!1;function k(e,t){var n,i,r,s=v.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=y(t)),d(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)d(r=t[i=v[n]])||(e[i]=r);return e}function T(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,r.updateOffset(this),w=!1)}function M(e){return e instanceof T||null!=e&&null!=e._isAMomentObject}function L(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return m(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,s,o,a=[],c=arguments.length;for(s=0;s<c;s++){if(i="","object"==typeof arguments[s]){for(o in i+="\n["+s+"] ",arguments[0])l(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[s];a.push(i)}L(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var x,O={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),O[e]||(L(t),O[e]=!0)}function Y(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e){var t,n;for(n in e)l(e,n)&&(Y(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function C(e,t){var n,i=m({},e);for(n in t)l(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},m(i[n],e[n]),m(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)l(e,n)&&!l(t,n)&&a(e[n])&&(i[n]=m({},i[n]));return i}function E(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return Y(i)?i.call(t,n):i}function N(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var R=/(\[[^\[]*\])|(\\)?([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,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},j={};function F(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(j[e]=r),t&&(j[t[0]]=function(){return N(r.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $(e){var t,n,i=e.match(R);for(t=0,n=i.length;t<n;t++)j[i[t]]?i[t]=j[i[t]]:i[t]=B(i[t]);return function(t){var r,s="";for(r=0;r<n;r++)s+=Y(i[r])?i[r].call(t,e):i[r];return s}}function W(e,t){return e.isValid()?(t=U(t,e.localeData()),H[t]=H[t]||$(t),H[t](e)):e.localeData().invalidDate()}function U(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(z.lastIndex=0;n>=0&&z.test(e);)e=e.replace(z,i),z.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var q="Invalid date";function Q(){return this._invalidDate}var X="%d",G=/\d{1,2}/;function K(e){return this._ordinal.replace("%d",e)}var J={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 ee(e,t,n,i){var r=this._relativeTime[n];return Y(r)?r(e,t,n,i):r.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return Y(n)?n(t):n.replace(/%s/i,t)}var ne={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ie(e){return"string"==typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function re(e){var t,n,i={};for(n in e)l(e,n)&&(t=ie(n))&&(i[t]=e[n]);return i}var se={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oe(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:se[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}var ae,le=/\d/,ce=/\d\d/,de=/\d{3}/,ue=/\d{4}/,he=/[+-]?\d{6}/,fe=/\d\d?/,me=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ye=/\d{1,4}/,_e=/[+-]?\d{1,6}/,be=/\d+/,ve=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,ke=/Z|[+-]\d\d(?::?\d\d)?/gi,Te=/[+-]?\d+(\.\d{1,3})?/,Me=/[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,Le=/^[1-9]\d?/,Se=/^([1-9]\d|\d)/;function xe(e,t,n){ae[e]=Y(t)?t:function(e,i){return e&&n?n:t}}function Oe(e,t){return l(ae,e)?ae[e](t._strict,t._locale):new RegExp(De(e))}function De(e){return Ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function Ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ae(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ae(t)),n}ae={};var Ee={};function Ie(e,t){var n,i,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=Ce(e)}),i=e.length,n=0;n<i;n++)Ee[e[n]]=r}function Pe(e,t){Ie(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function Ne(e,t,n){null!=t&&l(Ee,e)&&Ee[e](t,n._a,n,e)}function Re(e){return e%4==0&&e%100!=0||e%400==0}var ze=0,He=1,je=2,Fe=3,Be=4,$e=5,We=6,Ue=7,Ve=8;function Ze(e){return Re(e)?366:365}F("Y",0,0,function(){var e=this.year();return e<=9999?N(e,4):"+"+e}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),xe("Y",ve),xe("YY",fe,ce),xe("YYYY",ye,ue),xe("YYYYY",_e,he),xe("YYYYYY",_e,he),Ie(["YYYYY","YYYYYY"],ze),Ie("YYYY",function(e,t){t[ze]=2===e.length?r.parseTwoDigitYear(e):Ce(e)}),Ie("YY",function(e,t){t[ze]=r.parseTwoDigitYear(e)}),Ie("Y",function(e,t){t[ze]=parseInt(e,10)}),r.parseTwoDigitYear=function(e){return Ce(e)+(Ce(e)>68?1900:2e3)};var qe,Qe=Ge("FullYear",!0);function Xe(){return Re(this.year())}function Ge(e,t){return function(n){return null!=n?(Je(this,e,n),r.updateOffset(this,t),this):Ke(this,e)}}function Ke(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Je(e,t,n){var i,r,s,o,a;if(e.isValid()&&!isNaN(n)){switch(i=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(r?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(r?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(r?i.setUTCHours(n):i.setHours(n));case"Date":return void(r?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}s=n,o=e.month(),a=29!==(a=e.date())||1!==o||Re(s)?a:28,r?i.setUTCFullYear(s,o,a):i.setFullYear(s,o,a)}}function et(e){return Y(this[e=ie(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var n,i=oe(e=re(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(Y(this[e=ie(e)]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=nt(t,12);return e+=(t-n)/12,1===n?Re(e)?29:28:31-n%7%2}qe=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},F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),F("MMMM",0,0,function(e){return this.localeData().months(this,e)}),xe("M",fe,Le),xe("MM",fe,ce),xe("MMM",function(e,t){return t.monthsShortRegex(e)}),xe("MMMM",function(e,t){return t.monthsRegex(e)}),Ie(["M","MM"],function(e,t){t[He]=Ce(e)-1}),Ie(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[He]=r:y(n).invalidMonth=e});var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),st="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at=Me,lt=Me;function ct(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function dt(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=p([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=qe.call(this._shortMonthsParse,o))?r:null:-1!==(r=qe.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=qe.call(this._shortMonthsParse,o))||-1!==(r=qe.call(this._longMonthsParse,o))?r:null:-1!==(r=qe.call(this._longMonthsParse,o))||-1!==(r=qe.call(this._shortMonthsParse,o))?r:null}function ht(e,t,n){var i,r,s;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=p([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ft(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Ce(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,i=e.date();return i=i<29?i:Math.min(i,it(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function mt(e){return null!=e?(ft(this,e),r.updateOffset(this,!0),this):Ke(this,"Month")}function pt(){return it(this.year(),this.month())}function gt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||_t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=at),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||_t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _t(){function e(e,t){return t.length-e.length}var t,n,i,r,s=[],o=[],a=[];for(t=0;t<12;t++)n=p([2e3,t]),i=Ye(this.monthsShort(n,"")),r=Ye(this.months(n,"")),s.push(i),o.push(r),a.push(r),a.push(i);s.sort(e),o.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+s.join("|")+")","i")}function bt(e,t,n,i,r,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,s,o),a}function vt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function wt(e,t,n){var i=7+t-n;return-(7+vt(e,0,i).getUTCDay()-t)%7+i-1}function kt(e,t,n,i,r){var s,o,a=1+7*(t-1)+(7+n-i)%7+wt(e,i,r);return a<=0?o=Ze(s=e-1)+a:a>Ze(e)?(s=e+1,o=a-Ze(e)):(s=e,o=a),{year:s,dayOfYear:o}}function Tt(e,t,n){var i,r,s=wt(e.year(),t,n),o=Math.floor((e.dayOfYear()-s-1)/7)+1;return o<1?i=o+Mt(r=e.year()-1,t,n):o>Mt(e.year(),t,n)?(i=o-Mt(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Mt(e,t,n){var i=wt(e,t,n),r=wt(e+1,t,n);return(Ze(e)-i+r)/7}function Lt(e){return Tt(e,this._week.dow,this._week.doy).week}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),xe("w",fe,Le),xe("ww",fe,ce),xe("W",fe,Le),xe("WW",fe,ce),Pe(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=Ce(e)});var St={dow:0,doy:6};function xt(){return this._week.dow}function Ot(){return this._week.doy}function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Yt(e){var t=Tt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function At(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ct(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Et(e,t){return e.slice(t,7).concat(e.slice(0,t))}F("d",0,"do","day"),F("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),F("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),F("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),xe("d",fe),xe("e",fe),xe("E",fe),xe("dd",function(e,t){return t.weekdaysMinRegex(e)}),xe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),xe("dddd",function(e,t){return t.weekdaysRegex(e)}),Pe(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:y(n).invalidWeekday=e}),Pe(["d","e","E"],function(e,t,n,i){t[i]=Ce(e)});var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Me,zt=Me,Ht=Me;function jt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Et(n,this._week.dow):e?n[e.day()]:n}function Ft(e){return!0===e?Et(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Et(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $t(e,t,n){var i,r,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=p([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=qe.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=qe.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=qe.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=qe.call(this._weekdaysParse,o))||-1!==(r=qe.call(this._shortWeekdaysParse,o))||-1!==(r=qe.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=qe.call(this._shortWeekdaysParse,o))||-1!==(r=qe.call(this._weekdaysParse,o))||-1!==(r=qe.call(this._minWeekdaysParse,o))?r:null:-1!==(r=qe.call(this._minWeekdaysParse,o))||-1!==(r=qe.call(this._weekdaysParse,o))||-1!==(r=qe.call(this._shortWeekdaysParse,o))?r:null}function Wt(e,t,n){var i,r,s;if(this._weekdaysParseExact)return $t.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=p([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=Ke(this,"Day");return null!=e?(e=At(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Zt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ct(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Gt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Qt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Gt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Gt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ht),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Gt(){function e(e,t){return t.length-e.length}var t,n,i,r,s,o=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),i=Ye(this.weekdaysMin(n,"")),r=Ye(this.weekdaysShort(n,"")),s=Ye(this.weekdays(n,"")),o.push(i),a.push(r),l.push(s),c.push(i),c.push(r),c.push(s);o.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Kt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){F(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Kt),F("k",["kk",2],0,Jt),F("hmm",0,0,function(){return""+Kt.apply(this)+N(this.minutes(),2)}),F("hmmss",0,0,function(){return""+Kt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),F("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),F("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),en("a",!0),en("A",!1),xe("a",tn),xe("A",tn),xe("H",fe,Se),xe("h",fe,Le),xe("k",fe,Le),xe("HH",fe,ce),xe("hh",fe,ce),xe("kk",fe,ce),xe("hmm",me),xe("hmmss",pe),xe("Hmm",me),xe("Hmmss",pe),Ie(["H","HH"],Fe),Ie(["k","kk"],function(e,t,n){var i=Ce(e);t[Fe]=24===i?0:i}),Ie(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Ie(["h","hh"],function(e,t,n){t[Fe]=Ce(e),y(n).bigHour=!0}),Ie("hmm",function(e,t,n){var i=e.length-2;t[Fe]=Ce(e.substr(0,i)),t[Be]=Ce(e.substr(i)),y(n).bigHour=!0}),Ie("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Fe]=Ce(e.substr(0,i)),t[Be]=Ce(e.substr(i,2)),t[$e]=Ce(e.substr(r)),y(n).bigHour=!0}),Ie("Hmm",function(e,t,n){var i=e.length-2;t[Fe]=Ce(e.substr(0,i)),t[Be]=Ce(e.substr(i))}),Ie("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Fe]=Ce(e.substr(0,i)),t[Be]=Ce(e.substr(i,2)),t[$e]=Ce(e.substr(r))});var rn=/[ap]\.?m?\.?/i,sn=Ge("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:I,longDateFormat:V,invalidDate:q,ordinal:X,dayOfMonthOrdinalParse:G,relativeTime:J,months:rt,monthsShort:st,week:St,weekdays:It,weekdaysMin:Nt,weekdaysShort:Pt,meridiemParse:rn},cn={},dn={};function un(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function hn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,i,r,s=0;s<e.length;){for(t=(r=hn(e[s]).split("-")).length,n=(n=hn(e[s+1]))?n.split("-"):null;t>0;){if(i=pn(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&un(r,n)>=t-1)break;t--}s++}return an}function mn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function pn(t){var i=null;if(void 0===cn[t]&&e&&e.exports&&mn(t))try{i=an._abbr,n(5358)("./"+t),gn(i)}catch(e){cn[t]=null}return cn[t]}function gn(e,t){var n;return e&&((n=d(t)?bn(e):yn(e,t))?an=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,i=ln;if(t.abbr=e,null!=cn[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])i=cn[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;i=n._config}return cn[e]=new E(C(i,t)),dn[e]&&dn[e].forEach(function(e){yn(e.name,e.config)}),gn(e),cn[e]}return delete cn[e],null}function _n(e,t){if(null!=t){var n,i,r=ln;null!=cn[e]&&null!=cn[e].parentLocale?cn[e].set(C(cn[e]._config,t)):(null!=(i=pn(e))&&(r=i._config),t=C(r,t),null==i&&(t.abbr=e),(n=new E(t)).parentLocale=cn[e],cn[e]=n),gn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(t=pn(e))return t;e=[e]}return fn(e)}function vn(){return x(cn)}function wn(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[He]<0||n[He]>11?He:n[je]<1||n[je]>it(n[ze],n[He])?je:n[Fe]<0||n[Fe]>24||24===n[Fe]&&(0!==n[Be]||0!==n[$e]||0!==n[We])?Fe:n[Be]<0||n[Be]>59?Be:n[$e]<0||n[$e]>59?$e:n[We]<0||n[We]>999?We:-1,y(e)._overflowDayOfYear&&(t<ze||t>je)&&(t=je),y(e)._overflowWeeks&&-1===t&&(t=Ue),y(e)._overflowWeekday&&-1===t&&(t=Ve),y(e).overflow=t),e}var kn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mn=/Z|[+-]\d\d(?::?\d\d)?/,Ln=[["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]],Sn=[["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/]],xn=/^\/?Date\((-?\d+)/i,On=/^(?:(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}))$/,Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yn(e){var t,n,i,r,s,o,a=e._i,l=kn.exec(a)||Tn.exec(a),c=Ln.length,d=Sn.length;if(l){for(y(e).iso=!0,t=0,n=c;t<n;t++)if(Ln[t][1].exec(l[1])){r=Ln[t][0],i=!1!==Ln[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=d;t<n;t++)if(Sn[t][1].exec(l[3])){s=(l[2]||" ")+Sn[t][0];break}if(null==s)return void(e._isValid=!1)}if(!i&&null!=s)return void(e._isValid=!1);if(l[4]){if(!Mn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(s||"")+(o||""),Bn(e)}else e._isValid=!1}function An(e,t,n,i,r,s){var o=[Cn(e),st.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return s&&o.push(parseInt(s,10)),o}function Cn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function En(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function In(e,t,n){return!e||Pt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Pn(e,t,n){if(e)return Dn[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}function Nn(e){var t,n=On.exec(En(e._i));if(n){if(t=An(n[4],n[3],n[2],n[5],n[6],n[7]),!In(n[1],t,e))return;e._a=t,e._tzm=Pn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function Rn(e){var t=xn.exec(e._i);null===t?(Yn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function zn(e,t,n){return null!=e?e:null!=t?t:n}function Hn(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function jn(e){var t,n,i,r,s,o=[];if(!e._d){for(i=Hn(e),e._w&&null==e._a[je]&&null==e._a[He]&&Fn(e),null!=e._dayOfYear&&(s=zn(e._a[ze],i[ze]),(e._dayOfYear>Ze(s)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=vt(s,0,e._dayOfYear),e._a[He]=n.getUTCMonth(),e._a[je]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Fe]&&0===e._a[Be]&&0===e._a[$e]&&0===e._a[We]&&(e._nextDay=!0,e._a[Fe]=0),e._d=(e._useUTC?vt:bt).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Fe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(y(e).weekdayMismatch=!0)}}function Fn(e){var t,n,i,r,s,o,a,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(s=1,o=4,n=zn(t.GG,e._a[ze],Tt(Xn(),1,4).year),i=zn(t.W,1),((r=zn(t.E,1))<1||r>7)&&(l=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,c=Tt(Xn(),s,o),n=zn(t.gg,e._a[ze],c.year),i=zn(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+s,(t.e<0||t.e>6)&&(l=!0)):r=s),i<1||i>Mt(n,s,o)?y(e)._overflowWeeks=!0:null!=l?y(e)._overflowWeekday=!0:(a=kt(n,i,r,s,o),e._a[ze]=a.year,e._dayOfYear=a.dayOfYear)}function Bn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],y(e).empty=!0;var t,n,i,s,o,a,l,c=""+e._i,d=c.length,u=0;for(l=(i=U(e._f,e._locale).match(R)||[]).length,t=0;t<l;t++)s=i[t],(n=(c.match(Oe(s,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&y(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),u+=n.length),j[s]?(n?y(e).empty=!1:y(e).unusedTokens.push(s),Ne(s,n,e)):e._strict&&!n&&y(e).unusedTokens.push(s);y(e).charsLeftOver=d-u,c.length>0&&y(e).unusedInput.push(c),e._a[Fe]<=12&&!0===y(e).bigHour&&e._a[Fe]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[Fe]=$n(e._locale,e._a[Fe],e._meridiem),null!==(a=y(e).era)&&(e._a[ze]=e._locale.erasConvertYear(a,e._a[ze])),jn(e),wn(e)}else Nn(e);else Yn(e)}function $n(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function Wn(e){var t,n,i,r,s,o,a=!1,l=e._f.length;if(0===l)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)s=0,o=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Bn(t),_(t)&&(o=!0),s+=y(t).charsLeftOver,s+=10*y(t).unusedTokens.length,y(t).score=s,a?s<i&&(i=s,n=t):(null==i||s<i||o)&&(i=s,n=t,o&&(a=!0));m(e,n||t)}function Un(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),jn(e)}}function Vn(e){var t=new T(wn(Zn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Zn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),M(t)?new T(wn(t)):(h(t)?e._d=t:o(n)?Wn(e):n?Bn(e):qn(e),_(e)||(e._d=null),e))}function qn(e){var t=e._i;d(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Rn(e):o(t)?(e._a=f(t.slice(0),function(e){return parseInt(e,10)}),jn(e)):a(t)?Un(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Qn(e,t,n,i,r){var s={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&c(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=n,s._i=e,s._f=t,s._strict=i,Vn(s)}function Xn(e,t,n,i){return Qn(e,t,n,i,!1)}r.createFromInputFallback=S("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":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){};var Gn=S("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:b()}),Kn=S("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:b()});function Jn(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Xn();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function ei(){return Jn("isBefore",[].slice.call(arguments,0))}function ti(){return Jn("isAfter",[].slice.call(arguments,0))}var ni=function(){return Date.now?Date.now():+new Date},ii=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ri(e){var t,n,i=!1,r=ii.length;for(t in e)if(l(e,t)&&(-1===qe.call(ii,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[ii[n]]){if(i)return!1;parseFloat(e[ii[n]])!==Ce(e[ii[n]])&&(i=!0)}return!0}function si(){return this._isValid}function oi(){return Di(NaN)}function ai(e){var t=re(e),n=t.year||0,i=t.quarter||0,r=t.month||0,s=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=ri(t),this._milliseconds=+d+1e3*c+6e4*l+1e3*a*60*60,this._days=+o+7*s,this._months=+r+3*i+12*n,this._data={},this._locale=bn(),this._bubble()}function li(e){return e instanceof ai}function ci(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function di(e,t,n){var i,r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&Ce(e[i])!==Ce(t[i]))&&o++;return o+s}function ui(e,t){F(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)})}ui("Z",":"),ui("ZZ",""),xe("Z",ke),xe("ZZ",ke),Ie(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=fi(ke,e)});var hi=/([\+\-]|\d\d)/gi;function fi(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(hi)||["-",0,0])[1]+Ce(n[2]))?0:"+"===n[0]?i:-i}function mi(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(M(e)||h(e)?e.valueOf():Xn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Xn(e).local()}function pi(e){return-Math.round(e._d.getTimezoneOffset())}function gi(e,t,n){var i,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fi(ke,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pi(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),s!==e&&(!t||this._changeInProgress?Ii(this,Di(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:pi(this)}function yi(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function _i(e){return this.utcOffset(0,e)}function bi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pi(this),"m")),this}function vi(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fi(we,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wi(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function ki(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ti(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),(t=Zn(t))._a?(e=t._isUTC?p(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&di(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Mi(){return!!this.isValid()&&!this._isUTC}function Li(){return!!this.isValid()&&this._isUTC}function Si(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var xi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Di(e,t){var n,i,r,s=e,o=null;return li(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(o=xi.exec(e))?(n="-"===o[1]?-1:1,s={y:0,d:Ce(o[je])*n,h:Ce(o[Fe])*n,m:Ce(o[Be])*n,s:Ce(o[$e])*n,ms:Ce(ci(1e3*o[We]))*n}):(o=Oi.exec(e))?(n="-"===o[1]?-1:1,s={y:Yi(o[2],n),M:Yi(o[3],n),w:Yi(o[4],n),d:Yi(o[5],n),h:Yi(o[6],n),m:Yi(o[7],n),s:Yi(o[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(r=Ci(Xn(s.from),Xn(s.to)),(s={}).ms=r.milliseconds,s.M=r.months),i=new ai(s),li(e)&&l(e,"_locale")&&(i._locale=e._locale),li(e)&&l(e,"_isValid")&&(i._isValid=e._isValid),i}function Yi(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ai(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ci(e,t){var n;return e.isValid()&&t.isValid()?(t=mi(t,e),e.isBefore(t)?n=Ai(e,t):((n=Ai(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ei(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(D(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."),r=n,n=i,i=r),Ii(this,Di(n,i),e),this}}function Ii(e,t,n,i){var s=t._milliseconds,o=ci(t._days),a=ci(t._months);e.isValid()&&(i=null==i||i,a&&ft(e,Ke(e,"Month")+a*n),o&&Je(e,"Date",Ke(e,"Date")+o*n),s&&e._d.setTime(e._d.valueOf()+s*n),i&&r.updateOffset(e,o||a))}Di.fn=ai.prototype,Di.invalid=oi;var Pi=Ei(1,"add"),Ni=Ei(-1,"subtract");function Ri(e){return"string"==typeof e||e instanceof String}function zi(e){return M(e)||h(e)||Ri(e)||u(e)||ji(e)||Hi(e)||null==e}function Hi(e){var t,n,i=a(e)&&!c(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=s.length;for(t=0;t<o;t+=1)n=s[t],r=r||l(e,n);return i&&r}function ji(e){var t=o(e),n=!1;return t&&(n=0===e.filter(function(t){return!u(t)&&Ri(e)}).length),t&&n}function Fi(e){var t,n,i=a(e)&&!c(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)n=s[t],r=r||l(e,n);return i&&r}function Bi(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function $i(e,t){1===arguments.length&&(arguments[0]?zi(arguments[0])?(e=arguments[0],t=void 0):Fi(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Xn(),i=mi(n,this).startOf("day"),s=r.calendarFormat(this,i)||"sameElse",o=t&&(Y(t[s])?t[s].call(this,n):t[s]);return this.format(o||this.localeData().calendar(s,this,Xn(n)))}function Wi(){return new T(this)}function Ui(e,t){var n=M(e)?e:Xn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vi(e,t){var n=M(e)?e:Xn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Zi(e,t,n,i){var r=M(e)?e:Xn(e),s=M(t)?t:Xn(t);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(s,n):!this.isAfter(s,n))}function qi(e,t){var n,i=M(e)?e:Xn(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Qi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xi(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Gi(e,t,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=mi(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=ie(t)){case"year":s=Ki(this,i)/12;break;case"month":s=Ki(this,i);break;case"quarter":s=Ki(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:Ae(s)}function Ki(e,t){if(e.date()<t.date())return-Ki(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Ji(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function er(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Y(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=s+'[")]',this.format(e+t+n+i)}function nr(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ir(e,t){return this.isValid()&&(M(e)&&e.isValid()||Xn(e).isValid())?Di({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(Xn(),e)}function sr(e,t){return this.isValid()&&(M(e)&&e.isValid()||Xn(e).isValid())?Di({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function or(e){return this.to(Xn(),e)}function ar(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lr=S("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 cr(){return this._locale}var dr=1e3,ur=60*dr,hr=60*ur,fr=3506328*hr;function mr(e,t){return(e%t+t)%t}function pr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fr:new Date(e,t,n).valueOf()}function gr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fr:Date.UTC(e,t,n)}function yr(e){var t,n;if(void 0===(e=ie(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gr:pr,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-=mr(t+(this._isUTC?0:this.utcOffset()*ur),hr);break;case"minute":t=this._d.valueOf(),t-=mr(t,ur);break;case"second":t=this._d.valueOf(),t-=mr(t,dr)}return this._d.setTime(t),r.updateOffset(this,!0),this}function _r(e){var t,n;if(void 0===(e=ie(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gr:pr,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-mr(t+(this._isUTC?0:this.utcOffset()*ur),hr)-1;break;case"minute":t=this._d.valueOf(),t+=ur-mr(t,ur)-1;break;case"second":t=this._d.valueOf(),t+=dr-mr(t,dr)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function br(){return this._d.valueOf()-6e4*(this._offset||0)}function vr(){return Math.floor(this.valueOf()/1e3)}function wr(){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 Tr(){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 Mr(){return this.isValid()?this.toISOString():null}function Lr(){return _(this)}function Sr(){return m({},y(this))}function xr(){return y(this).overflow}function Or(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Dr(e,t){var n,i,s,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(s=r(o[n].since).startOf("day"),o[n].since=s.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":s=r(o[n].until).startOf("day").valueOf(),o[n].until=s.valueOf()}return o}function Yr(e,t,n){var i,r,s,o,a,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(s=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if([s,o,a].indexOf(e)>=0)return l[i]}function Ar(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Cr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Er(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Ir(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Pr(){var e,t,n,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return(this.year()-r(s[e].since).year())*n+s[e].offset;return this.year()}function Nr(e){return l(this,"_erasNameRegex")||$r.call(this),e?this._erasNameRegex:this._erasRegex}function Rr(e){return l(this,"_erasAbbrRegex")||$r.call(this),e?this._erasAbbrRegex:this._erasRegex}function zr(e){return l(this,"_erasNarrowRegex")||$r.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hr(e,t){return t.erasAbbrRegex(e)}function jr(e,t){return t.erasNameRegex(e)}function Fr(e,t){return t.erasNarrowRegex(e)}function Br(e,t){return t._eraYearOrdinalRegex||be}function $r(){var e,t,n,i,r,s=[],o=[],a=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ye(c[e].name),i=Ye(c[e].abbr),r=Ye(c[e].narrow),o.push(n),s.push(i),a.push(r),l.push(n),l.push(i),l.push(r);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function Wr(e,t){F(0,[e,e.length],0,t)}function Ur(e){return Gr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Vr(e){return Gr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Zr(){return Mt(this.year(),1,4)}function qr(){return Mt(this.isoWeekYear(),1,4)}function Qr(){var e=this.localeData()._week;return Mt(this.year(),e.dow,e.doy)}function Xr(){var e=this.localeData()._week;return Mt(this.weekYear(),e.dow,e.doy)}function Gr(e,t,n,i,r){var s;return null==e?Tt(this,i,r).year:(t>(s=Mt(e,i,r))&&(t=s),Kr.call(this,e,t,n,i,r))}function Kr(e,t,n,i,r){var s=kt(e,t,n,i,r),o=vt(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Jr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),xe("N",Hr),xe("NN",Hr),xe("NNN",Hr),xe("NNNN",jr),xe("NNNNN",Fr),Ie(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?y(n).era=r:y(n).invalidEra=e}),xe("y",be),xe("yy",be),xe("yyy",be),xe("yyyy",be),xe("yo",Br),Ie(["y","yy","yyy","yyyy"],ze),Ie(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ze]=n._locale.eraYearOrdinalParse(e,r):t[ze]=parseInt(e,10)}),F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Wr("gggg","weekYear"),Wr("ggggg","weekYear"),Wr("GGGG","isoWeekYear"),Wr("GGGGG","isoWeekYear"),xe("G",ve),xe("g",ve),xe("GG",fe,ce),xe("gg",fe,ce),xe("GGGG",ye,ue),xe("gggg",ye,ue),xe("GGGGG",_e,he),xe("ggggg",_e,he),Pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=Ce(e)}),Pe(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),F("Q",0,"Qo","quarter"),xe("Q",le),Ie("Q",function(e,t){t[He]=3*(Ce(e)-1)}),F("D",["DD",2],"Do","date"),xe("D",fe,Le),xe("DD",fe,ce),xe("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Ie(["D","DD"],je),Ie("Do",function(e,t){t[je]=Ce(e.match(fe)[0])});var es=Ge("Date",!0);function ts(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}F("DDD",["DDDD",3],"DDDo","dayOfYear"),xe("DDD",ge),xe("DDDD",de),Ie(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Ce(e)}),F("m",["mm",2],0,"minute"),xe("m",fe,Se),xe("mm",fe,ce),Ie(["m","mm"],Be);var ns=Ge("Minutes",!1);F("s",["ss",2],0,"second"),xe("s",fe,Se),xe("ss",fe,ce),Ie(["s","ss"],$e);var is,rs,ss=Ge("Seconds",!1);for(F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),xe("S",ge,le),xe("SS",ge,ce),xe("SSS",ge,de),is="SSSS";is.length<=9;is+="S")xe(is,be);function os(e,t){t[We]=Ce(1e3*("0."+e))}for(is="S";is.length<=9;is+="S")Ie(is,os);function as(){return this._isUTC?"UTC":""}function ls(){return this._isUTC?"Coordinated Universal Time":""}rs=Ge("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var cs=T.prototype;function ds(e){return Xn(1e3*e)}function us(){return Xn.apply(null,arguments).parseZone()}function hs(e){return e}cs.add=Pi,cs.calendar=$i,cs.clone=Wi,cs.diff=Gi,cs.endOf=_r,cs.format=nr,cs.from=ir,cs.fromNow=rr,cs.to=sr,cs.toNow=or,cs.get=et,cs.invalidAt=xr,cs.isAfter=Ui,cs.isBefore=Vi,cs.isBetween=Zi,cs.isSame=qi,cs.isSameOrAfter=Qi,cs.isSameOrBefore=Xi,cs.isValid=Lr,cs.lang=lr,cs.locale=ar,cs.localeData=cr,cs.max=Kn,cs.min=Gn,cs.parsingFlags=Sr,cs.set=tt,cs.startOf=yr,cs.subtract=Ni,cs.toArray=kr,cs.toObject=Tr,cs.toDate=wr,cs.toISOString=er,cs.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(cs[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),cs.toJSON=Mr,cs.toString=Ji,cs.unix=vr,cs.valueOf=br,cs.creationData=Or,cs.eraName=Cr,cs.eraNarrow=Er,cs.eraAbbr=Ir,cs.eraYear=Pr,cs.year=Qe,cs.isLeapYear=Xe,cs.weekYear=Ur,cs.isoWeekYear=Vr,cs.quarter=cs.quarters=Jr,cs.month=mt,cs.daysInMonth=pt,cs.week=cs.weeks=Dt,cs.isoWeek=cs.isoWeeks=Yt,cs.weeksInYear=Qr,cs.weeksInWeekYear=Xr,cs.isoWeeksInYear=Zr,cs.isoWeeksInISOWeekYear=qr,cs.date=es,cs.day=cs.days=Ut,cs.weekday=Vt,cs.isoWeekday=Zt,cs.dayOfYear=ts,cs.hour=cs.hours=sn,cs.minute=cs.minutes=ns,cs.second=cs.seconds=ss,cs.millisecond=cs.milliseconds=rs,cs.utcOffset=gi,cs.utc=_i,cs.local=bi,cs.parseZone=vi,cs.hasAlignedHourOffset=wi,cs.isDST=ki,cs.isLocal=Mi,cs.isUtcOffset=Li,cs.isUtc=Si,cs.isUTC=Si,cs.zoneAbbr=as,cs.zoneName=ls,cs.dates=S("dates accessor is deprecated. Use date instead.",es),cs.months=S("months accessor is deprecated. Use month instead",mt),cs.years=S("years accessor is deprecated. Use year instead",Qe),cs.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yi),cs.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ti);var fs=E.prototype;function ms(e,t,n,i){var r=bn(),s=p().set(i,t);return r[n](s,e)}function ps(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return ms(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=ms(e,i,n,"month");return r}function gs(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,s=bn(),o=e?s._week.dow:0,a=[];if(null!=n)return ms(t,(n+o)%7,i,"day");for(r=0;r<7;r++)a[r]=ms(t,(r+o)%7,i,"day");return a}function ys(e,t){return ps(e,t,"months")}function _s(e,t){return ps(e,t,"monthsShort")}function bs(e,t,n){return gs(e,t,n,"weekdays")}
vendor: 11,694 bytes, line 2
2function vs(e,t,n){return gs(e,t,n,"weekdaysShort")}function ws(e,t,n){return gs(e,t,n,"weekdaysMin")}fs.calendar=P,fs.longDateFormat=Z,fs.invalidDate=Q,fs.ordinal=K,fs.preparse=hs,fs.postformat=hs,fs.relativeTime=ee,fs.pastFuture=te,fs.set=A,fs.eras=Dr,fs.erasParse=Yr,fs.erasConvertYear=Ar,fs.erasAbbrRegex=Rr,fs.erasNameRegex=Nr,fs.erasNarrowRegex=zr,fs.months=ct,fs.monthsShort=dt,fs.monthsParse=ht,fs.monthsRegex=yt,fs.monthsShortRegex=gt,fs.week=Lt,fs.firstDayOfYear=Ot,fs.firstDayOfWeek=xt,fs.weekdays=jt,fs.weekdaysMin=Bt,fs.weekdaysShort=Ft,fs.weekdaysParse=Wt,fs.weekdaysRegex=qt,fs.weekdaysShortRegex=Qt,fs.weekdaysMinRegex=Xt,fs.isPM=nn,fs.meridiem=on,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;return e+(1===Ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",bn);var ks=Math.abs;function Ts(){var e=this._data;return this._milliseconds=ks(this._milliseconds),this._days=ks(this._days),this._months=ks(this._months),e.milliseconds=ks(e.milliseconds),e.seconds=ks(e.seconds),e.minutes=ks(e.minutes),e.hours=ks(e.hours),e.months=ks(e.months),e.years=ks(e.years),this}function Ms(e,t,n,i){var r=Di(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Ls(e,t){return Ms(this,e,t,1)}function Ss(e,t){return Ms(this,e,t,-1)}function xs(e){return e<0?Math.floor(e):Math.ceil(e)}function Os(){var e,t,n,i,r,s=this._milliseconds,o=this._days,a=this._months,l=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*xs(Ys(a)+o),o=0,a=0),l.milliseconds=s%1e3,e=Ae(s/1e3),l.seconds=e%60,t=Ae(e/60),l.minutes=t%60,n=Ae(t/60),l.hours=n%24,o+=Ae(n/24),a+=r=Ae(Ds(o)),o-=xs(Ys(r)),i=Ae(a/12),a%=12,l.days=o,l.months=a,l.years=i,this}function Ds(e){return 4800*e/146097}function Ys(e){return 146097*e/4800}function As(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=ie(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Ds(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ys(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Cs(e){return function(){return this.as(e)}}var Es=Cs("ms"),Is=Cs("s"),Ps=Cs("m"),Ns=Cs("h"),Rs=Cs("d"),zs=Cs("w"),Hs=Cs("M"),js=Cs("Q"),Fs=Cs("y"),Bs=Es;function $s(){return Di(this)}function Ws(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Us(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vs=Us("milliseconds"),Zs=Us("seconds"),qs=Us("minutes"),Qs=Us("hours"),Xs=Us("days"),Gs=Us("months"),Ks=Us("years");function Js(){return Ae(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function no(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function io(e,t,n,i){var r=Di(e).abs(),s=eo(r.as("s")),o=eo(r.as("m")),a=eo(r.as("h")),l=eo(r.as("d")),c=eo(r.as("M")),d=eo(r.as("w")),u=eo(r.as("y")),h=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||o<=1&&["m"]||o<n.m&&["mm",o]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=t,h[3]=+e>0,h[4]=i,no.apply(null,h)}function ro(e){return void 0===e?eo:"function"==typeof e&&(eo=e,!0)}function so(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=to;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(s=Object.assign({},to,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),i=io(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var ao=Math.abs;function lo(e){return(e>0)-(e<0)||+e}function co(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,s,o,a,l=ao(this._milliseconds)/1e3,c=ao(this._days),d=ao(this._months),u=this.asSeconds();return u?(e=Ae(l/60),t=Ae(e/60),l%=60,e%=60,n=Ae(d/12),d%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=u<0?"-":"",s=lo(this._months)!==lo(u)?"-":"",o=lo(this._days)!==lo(u)?"-":"",a=lo(this._milliseconds)!==lo(u)?"-":"",r+"P"+(n?s+n+"Y":"")+(d?s+d+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var uo=ai.prototype;return uo.isValid=si,uo.abs=Ts,uo.add=Ls,uo.subtract=Ss,uo.as=As,uo.asMilliseconds=Es,uo.asSeconds=Is,uo.asMinutes=Ps,uo.asHours=Ns,uo.asDays=Rs,uo.asWeeks=zs,uo.asMonths=Hs,uo.asQuarters=js,uo.asYears=Fs,uo.valueOf=Bs,uo._bubble=Os,uo.clone=$s,uo.get=Ws,uo.milliseconds=Vs,uo.seconds=Zs,uo.minutes=qs,uo.hours=Qs,uo.days=Xs,uo.weeks=Js,uo.months=Gs,uo.years=Ks,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=ar,uo.localeData=cr,uo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=lr,F("X",0,0,"unix"),F("x",0,0,"valueOf"),xe("x",ve),xe("X",Te),Ie("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),Ie("x",function(e,t,n){n._d=new Date(Ce(e))}),r.version="2.30.1",s(Xn),r.fn=cs,r.min=ei,r.max=ti,r.now=ni,r.utc=p,r.unix=ds,r.months=ys,r.isDate=h,r.locale=gn,r.invalid=b,r.duration=Di,r.isMoment=M,r.weekdays=bs,r.parseZone=us,r.localeData=bn,r.isDuration=li,r.monthsShort=_s,r.weekdaysMin=ws,r.defineLocale=yn,r.updateLocale=_n,r.locales=vn,r.weekdaysShort=vs,r.normalizeUnits=ie,r.relativeTimeRounding=ro,r.relativeTimeThreshold=so,r.calendarFormat=Bi,r.prototype=cs,r.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"},r}()},5096:function(e,t,n){!function(e){"use strict";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ı"};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 i=e%10,r=e%100-i,s=e>=100?100:null;return e+(t[i]||t[r]||t[s])}},week:{dow:1,doy:7}})}(n(5093))},5177:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},5288:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},5358:function(e,t,n){var i={"./af":5177,"./af.js":5177,"./ar":1509,"./ar-dz":1488,"./ar-dz.js":1488,"./ar-kw":8676,"./ar-kw.js":8676,"./ar-ly":2353,"./ar-ly.js":2353,"./ar-ma":4496,"./ar-ma.js":4496,"./ar-ps":6947,"./ar-ps.js":6947,"./ar-sa":2682,"./ar-sa.js":2682,"./ar-tn":9756,"./ar-tn.js":9756,"./ar.js":1509,"./az":5533,"./az.js":5533,"./be":8959,"./be.js":8959,"./bg":7777,"./bg.js":7777,"./bm":4903,"./bm.js":4903,"./bn":1290,"./bn-bd":7357,"./bn-bd.js":7357,"./bn.js":1290,"./bo":1545,"./bo.js":1545,"./br":1470,"./br.js":1470,"./bs":4429,"./bs.js":4429,"./ca":7306,"./ca.js":7306,"./cs":6464,"./cs.js":6464,"./cv":3635,"./cv.js":3635,"./cy":4226,"./cy.js":4226,"./da":3601,"./da.js":3601,"./de":7853,"./de-at":6111,"./de-at.js":6111,"./de-ch":4697,"./de-ch.js":4697,"./de.js":7853,"./dv":708,"./dv.js":708,"./el":4691,"./el.js":4691,"./en-au":3872,"./en-au.js":3872,"./en-ca":8298,"./en-ca.js":8298,"./en-gb":6195,"./en-gb.js":6195,"./en-ie":6584,"./en-ie.js":6584,"./en-il":5543,"./en-il.js":5543,"./en-in":9033,"./en-in.js":9033,"./en-nz":9402,"./en-nz.js":9402,"./en-sg":3004,"./en-sg.js":3004,"./eo":2934,"./eo.js":2934,"./es":7650,"./es-do":838,"./es-do.js":838,"./es-mx":7730,"./es-mx.js":7730,"./es-us":6575,"./es-us.js":6575,"./es.js":7650,"./et":3035,"./et.js":3035,"./eu":3508,"./eu.js":3508,"./fa":119,"./fa.js":119,"./fi":527,"./fi.js":527,"./fil":5995,"./fil.js":5995,"./fo":2477,"./fo.js":2477,"./fr":5498,"./fr-ca":6435,"./fr-ca.js":6435,"./fr-ch":7892,"./fr-ch.js":7892,"./fr.js":5498,"./fy":7071,"./fy.js":7071,"./ga":1734,"./ga.js":1734,"./gd":217,"./gd.js":217,"./gl":7329,"./gl.js":7329,"./gom-deva":2124,"./gom-deva.js":2124,"./gom-latn":3383,"./gom-latn.js":3383,"./gu":5050,"./gu.js":5050,"./he":1713,"./he.js":1713,"./hi":3861,"./hi.js":3861,"./hr":6308,"./hr.js":6308,"./hu":609,"./hu.js":609,"./hy-am":7160,"./hy-am.js":7160,"./id":4063,"./id.js":4063,"./is":9374,"./is.js":9374,"./it":8383,"./it-ch":1827,"./it-ch.js":1827,"./it.js":8383,"./ja":3827,"./ja.js":3827,"./jv":9722,"./jv.js":9722,"./ka":1794,"./ka.js":1794,"./kk":7088,"./kk.js":7088,"./km":6870,"./km.js":6870,"./kn":4451,"./kn.js":4451,"./ko":3164,"./ko.js":3164,"./ku":8174,"./ku-kmr":6181,"./ku-kmr.js":6181,"./ku.js":8174,"./ky":8474,"./ky.js":8474,"./lb":9680,"./lb.js":9680,"./lo":5867,"./lo.js":5867,"./lt":5766,"./lt.js":5766,"./lv":9532,"./lv.js":9532,"./me":8076,"./me.js":8076,"./mi":1848,"./mi.js":1848,"./mk":306,"./mk.js":306,"./ml":3739,"./ml.js":3739,"./mn":9053,"./mn.js":9053,"./mr":6169,"./mr.js":6169,"./ms":3386,"./ms-my":2297,"./ms-my.js":2297,"./ms.js":3386,"./mt":7075,"./mt.js":7075,"./my":2264,"./my.js":2264,"./nb":2274,"./nb.js":2274,"./ne":8235,"./ne.js":8235,"./nl":25
vendor: 1,661 bytes, line 2
272,"./nl-be":3784,"./nl-be.js":3784,"./nl.js":2572,"./nn":4566,"./nn.js":4566,"./oc-lnc":9330,"./oc-lnc.js":9330,"./pa-in":9849,"./pa-in.js":9849,"./pl":4418,"./pl.js":4418,"./pt":9834,"./pt-br":684,"./pt-br.js":684,"./pt.js":9834,"./ro":4457,"./ro.js":4457,"./ru":2271,"./ru.js":2271,"./sd":1221,"./sd.js":1221,"./se":3478,"./se.js":3478,"./si":7538,"./si.js":7538,"./sk":5784,"./sk.js":5784,"./sl":6637,"./sl.js":6637,"./sq":6794,"./sq.js":6794,"./sr":5719,"./sr-cyrl":3322,"./sr-cyrl.js":3322,"./sr.js":5719,"./ss":6e3,"./ss.js":6e3,"./sv":1011,"./sv.js":1011,"./sw":748,"./sw.js":748,"./ta":1025,"./ta.js":1025,"./te":1885,"./te.js":1885,"./tet":8861,"./tet.js":8861,"./tg":6571,"./tg.js":6571,"./th":5802,"./th.js":5802,"./tk":9527,"./tk.js":9527,"./tl-ph":9231,"./tl-ph.js":9231,"./tlh":1052,"./tlh.js":1052,"./tr":5096,"./tr.js":5096,"./tzl":9846,"./tzl.js":9846,"./tzm":1765,"./tzm-latn":7711,"./tzm-latn.js":7711,"./tzm.js":1765,"./ug-cn":8414,"./ug-cn.js":8414,"./uk":6618,"./uk.js":6618,"./ur":158,"./ur.js":158,"./uz":7609,"./uz-latn":2475,"./uz-latn.js":2475,"./uz.js":7609,"./vi":1135,"./vi.js":1135,"./x-pseudo":4051,"./x-pseudo.js":4051,"./yo":2218,"./yo.js":2218,"./zh-cn":2648,"./zh-cn.js":2648,"./zh-hk":1632,"./zh-hk.js":1632,"./zh-mo":1541,"./zh-mo.js":1541,"./zh-tw":304,"./zh-tw.js":304};function r(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=s,e.exports=r,r.id=5358},5481:function(e,t,n){var i=n(9325)["__core-js_shared__"];e.exports=i},5498:function(e,t,n){!function(e){"use strict";
2var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[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}})}(n(5093))},5527:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},5530:function(e,t,n){var i,r,s;window,r=[n(2831)],i=function(e){"use strict";function t(){e.Item.apply(this,arguments)}var n=t.prototype=Object.create(e.Item.prototype),i=n._create;n._create=function(){this.id=this.layout.itemGUID++,i.call(this),this.sortData={}},n.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var e=this.layout.options.getSortData,t=this.layout._sorters;for(var n in e){var i=t[n];this.sortData[n]=i(this.element,this)}}};var r=n.destroy;return n.destroy=function(){r.apply(this,arguments),this.css({display:""})},t},void 0===(s="function"==typeof i?i.apply(t,r):i)||(e.exports=s)},5533:function(e,t,n){!function(e){"use strict";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ı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ".split("_"),weekdaysShort:"Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn".split("_"),weekdaysMin:"Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gÉlÉn hÉftÉ] dddd [saat] LT",lastDay:"[dünÉn] LT",lastWeek:"[keçÉn hÉftÉ] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s ÉvvÉl",s:"bir neÃ§É saniyÉ",ss:"%d saniyÉ",m:"bir dÉqiqÉ",mm:"%d dÉqiqÉ",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecÉ|sÉhÉr|gündüz|axÅam/,isPM:function(e){return/^(gündüz|axÅam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecÉ":e<12?"sÉhÉr":e<17?"gündüz":"axÅam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,i=e%100-n,r=e>=100?100:null;return e+(t[n]||t[i]||t[r])},week:{dow:1,doy:7}})}(n(5093))},5543:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5093))},5580:function(e,t,n){var i=n(6110)(n(9325),"DataView");e.exports=i},5719:function(e,t,n){!function(e){"use strict";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,i,r){var s,o=t.words[i];return 1===i.length?"y"===i&&n?"jedna godina":r||n?o[0]:o[1]:(s=t.correctGrammaticalCase(e,o),"yy"===i&&n&&"godinu"===s?e+" godina":e+" "+s)}};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(){return["[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"][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}})}(n(5093))},5749:function(e,t,n){var i=n(1042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},5766:function(e,t,n){!function(e){"use strict";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_die
2nÄ
",dd:"dienos_dienų_dienas",M:"mÄnuo_mÄnesio_mÄnesį",MM:"mÄnesiai_mÄnesių_mÄnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,i){return t?"kelios sekundÄs":i?"kelių sekundžių":"kelias sekundes"}function i(e,t,n,i){return t?s(n)[0]:i?s(n)[1]:s(n)[2]}function r(e){return e%10==0||e>10&&e<20}function s(e){return t[e].split("_")}function o(e,t,n,o){var a=e+" ";return 1===e?a+i(e,t,n[0],o):t?a+(r(e)?s(n)[1]:s(n)[0]):o?a+s(n)[1]:a+(r(e)?s(n)[1]:s(n)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Å ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Å iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[PraÄjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieÅ¡ %s",s:n,ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(5093))},5784:function(e,t,n){!function(e){"use strict";var t="január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var s=e+" ";switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"ss":return t||r?s+(i(e)?"sekundy":"sekúnd"):s+"sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?s+(i(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(i(e)?"hodiny":"hodÃn"):s+"hodinami";case"d":return t||r?"deÅ":"dÅom";case"dd":return t||r?s+(i(e)?"dni":"dnÃ"):s+"dÅami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(i(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(i(e)?"roky":"rokov"):s+"rokmi"}}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:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu 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}})}(n(5093))},5802:function(e,t,n){!function(e){"use strict";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 à¸à¸µ"}})}(n(5093))},5861:function(e,t,n){var i=n(5580),r=n(8223),s=n(2804),o=n(6545),a=n(8303),l=n(2552),c=n(7473),d="[object Map]",u="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",p=c(i),g=c(r),y=c(s),_=c(o),b=c(a),v=l;(i&&v(new i(new ArrayBuffer(1)))!=m||r&&v(new r)!=d||s&&v(s.resolve())!=u||o&&v(new o)!=h||a&&v(new a)!=f)&&(v=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?c(n):"";if(i)switch(i){case p:return m;case g:return d;case y:return u;case _:return h;case b:return f}return t}),e.exports=v},5867:function(e,t,n){!function(e){"use strict";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:"%
2d àºàº»à»àº§à»àº¡àº",d:"1 ມືà»",dd:"%d ມືà»",M:"1 à»àºàº·àºàº",MM:"%d à»àºàº·àºàº",y:"1 àºàºµ",yy:"%d àºàºµ"},dayOfMonthOrdinalParse:/(àºàºµà»)\d{1,2}/,ordinal:function(e){return"àºàºµà»"+e}})}(n(5093))},5911:function(e,t,n){var i=n(8859),r=n(4248),s=n(9219);e.exports=function(e,t,n,o,a,l){var c=1&n,d=e.length,u=t.length;if(d!=u&&!(c&&u>d))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var m=-1,p=!0,g=2&n?new i:void 0;for(l.set(e,t),l.set(t,e);++m<d;){var y=e[m],_=t[m];if(o)var b=c?o(_,y,m,t,e,l):o(y,_,m,e,t,l);if(void 0!==b){if(b)continue;p=!1;break}if(g){if(!r(t,function(e,t){if(!s(g,t)&&(y===e||a(y,e,n,o,l)))return g.push(t)})){p=!1;break}}else if(y!==_&&!a(y,_,n,o,l)){p=!1;break}}return l.delete(e),l.delete(t),p}},5950:function(e,t,n){var i=n(695),r=n(8984),s=n(4894);e.exports=function(e){return s(e)?i(e):r(e)}},5990:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach(function(n){return e[n]=t[n]})},r=0,s=t;r<s.length;r++){i(s[r])}return e})},5995:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},6e3:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},6009:function(e,t,n){e=n.nmd(e);var i=n(4840),r=t&&!t.nodeType&&t,s=r&&e&&!e.nodeType&&e,o=s&&s.exports===r&&i.process,a=function(){try{var e=s&&s.require&&s.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},6025:function(e,t,n){var i=n(5288);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},6110:function(e,t,n){var i=n(5083),r=n(392);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},6111:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}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:"%
2d 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}})}(n(5093))},6169:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦";break;case"ss":r="%d सà¥à¤à¤à¤¦";break;case"m":r="à¤à¤ मिनिà¤";break;case"mm":r="%d मिनिà¤à¥";break;case"h":r="à¤à¤ तास";break;case"hh":r="%d तास";break;case"d":r="à¤à¤ दिवस";break;case"dd":r="%d दिवस";break;case"M":r="à¤à¤ महिना";break;case"MM":r="%d महिनà¥";break;case"y":r="à¤à¤ वरà¥à¤·";break;case"yy":r="%d वरà¥à¤·à¥"}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 वरà¥à¤·à¤¾à¤"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°".split("_"),monthsShort:"à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार".split("_"),weekdaysShort:"रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि".split("_"),weekdaysMin:"र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श".split("_"),longDateFormat:{LT:"A h:mm वाà¤à¤¤à¤¾",LTS:"A h:mm:ss वाà¤à¤¤à¤¾",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾",LLLL:"dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾"},calendar:{sameDay:"[à¤à¤] LT",nextDay:"[à¤à¤¦à¥à¤¯à¤¾] LT",nextWeek:"dddd, LT",lastDay:"[à¤à¤¾à¤²] LT",lastWeek:"[माà¤à¥à¤²] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमधà¥à¤¯à¥",past:"%sपà¥à¤°à¥à¤µà¥",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाà¤à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥|रातà¥à¤°à¥/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाà¤à¥"===t||"सà¤à¤¾à¤³à¥"===t?e:"दà¥à¤ªà¤¾à¤°à¥"===t||"सायà¤à¤à¤¾à¤³à¥"===t||"रातà¥à¤°à¥"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाà¤à¥":e<12?"सà¤à¤¾à¤³à¥":e<17?"दà¥à¤ªà¤¾à¤°à¥":e<20?"सायà¤à¤à¤¾à¤³à¥":"रातà¥à¤°à¥"},week:{dow:0,doy:6}})}(n(5093))},6181:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?r[n][0]:r[n][1]}function n(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Ãlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Ãlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"YekÅem_DuÅem_SêÅem_ÃarÅem_PêncÅem_Ãn_Åemî".split("_"),weekdaysShort:"Yek_Du_Sê_Ãar_Pên_Ãn_Åem".split("_"),weekdaysMin:"Ye_Du_Sê_Ãa_Pê_Ãn_Åe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Ãro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var i=t.toLowerCase();return i.includes("w")||i.includes("m")?e+".":e+n(e)},week:{dow:1,doy:4}})}(n(5093))},6195:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},6308:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return i+=1===e?"dan":"dana";case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}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}})}(n(5093))},6334:function(e,t,n){var i,r;!function(s){i=[n(2831),n(1485),n(9786),n(977),n(5530),n(3763),n(3330),n(2534),n(6987)],r=function(e,t,n,i,r,o){return function(e,t,n,i,r,s,o){"use strict";var a=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},c=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=o;var d=c.prototype;d._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],o.modes)this._initLayoutMode(e)},d.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},d._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),n=0;n<e.length;n++){e[n].id=this.itemGUID++}return this._updateItemsSortData(e),e},d._initLayoutMode=function(e){var t=o.modes[e],n=this.options[e]||{};this.options[e]=t.options?r.extend(t.options,n):n,this.modes[e]=new t(this)},d.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},d._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},d.arrange=function(e){this.option(e),this._getIsInstant();var t=this._filter(this.items);this.filteredItems=t.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t),this._sort(),this._layout()},d._init=d.arrange,d._hideReveal=function(e){this.reveal(e.needReveal),this.hide(e.needHide)},d._getIsInstant=function(){var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;return this._isInstant=t,t},d._bindArrangeComplete=function(){var e,t,n,i=this;function r(){e&&t&&n&&i.dispatchEvent("arrangeComplete",null,[i.filteredItems])}this.once("layoutComplete",function(){e=!0,r()}),this.once("hideComplete",function(){t=!0,r()}),this.once("revealComplete",function(){n=!0,r()})},d._filter=function(e){var t=this.options.filter;t=t||"*";for(var n=[],i=[],r=[],s=this._getFilterTest(t),o=0;o<e.length;o++){var a=e[o];if(!a.isIgnored){var l=s(a);l&&n.push(a),l&&a.isHidden?i.push(a):l||a.isHidden||r.push(a)}}return{matches:n,needReveal:i,needHide:r}},d._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return i(t.element,e)}},d.updateSortData=function(e){var t;e?(e=r.makeArray(e),t=this.getItems(e)):t=this.items,this._getSorters(),this._updateItemsSortData(t)},d._getSorters=function(){var e=this.options.getSortData;for(var t in e){var n=e[t];this._sorters[t]=u(n)}},d._updateItemsSortData=function(e){for(var t=e&&e.length,n=0;t&&n<t;n++){e[n].updateSortData()}};var u=function(){function e(e){if("string"!=typeof e)return e;var n=l(e).split(" "),i=n[0],r=i.match(/^\[(.+)\]$/),s=t(r&&r[1],i),o=c.sortDataParsers[n[1]];return e=o?function(e){return e&&o(s(e))}:function(e){return e&&s(e)}}function t(e,t){return e?function(t){return t.getAttribute(e)}:function(e){var n=e.querySelector(t);return n&&n.textContent}}return e}();function h(e,t){return function(n,i){for(var r=0;r<e.length;r++){var s=e[r],o=n.sortData[s],a=i.sortData[s];if(o>a||o<a)return(o>a?1:-1)*((void 0!==t[s]?t[s]:t)?1:-1)}return 0}}c.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},d._sort=function(){if(this.options.sortBy){var e=r.makeArray(this.options.sortBy);this._getIsSameSortBy(e)||(this.sortHistory=e.concat(this.sortHistory));var t=h(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(t)}},d._getIsSameSortBy=function(e){for(var t=0;t<e.length;t++)if(e[t]!=this.sortHistory[t])return!1;return!0},d._mode=function(){var e=this.options.layoutMode,t=this.modes[e];if(!t)throw new Error("No layout mode: "+e);return t.options=this.options[e],t},d._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)},d._manageStamp=function(e){this._mode()._manageStamp(e)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(e){var t=this.addItems(e);if(t.length){var n=this._filterRevealAdded(t);this.filteredItems=this.filteredItems.concat(n)}},d.prepended=function(e){var t=this._itemize(e);if(t.length){this._resetLayout(),this._manageStamps();var n=this._filterRevealAdded(t);this.layoutItems(this.filteredItems),this.filteredItems=n.concat(this.filteredItems),this.items=t.concat(this.items)}},d._filterRevealAdded=function(e){var t=this._filter(e);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},d.insert=function(e){var t=this.addItems(e);if(t.length){var n,i,r=t.length;for(n=0;n<r;n++)i=t[n],this.element.appendChild(i.element);var s=this._filter(t).matches;for(n=0;n<r;n++)t[n].isLayoutInstant=!0;for(this.arrange(),n=0;n<r;n++)delete t[n].isLayoutInstant;this.reveal(s)}};var f=d.remove;return d.remove=function(e){e=r.makeArray(e);var t=this.getItems(e);f.call(this,e);for(var n=t&&t.length,i=0;n&&i<n;i++){var s=t[i];r.removeFrom(this.filteredItems,s)}},d.shuffle=function(){for(var e=0;e<this.items.length;e++){this.items[e].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d._noTransition=function(e,t){var n=this.options.transitionDuration;this.options.transitionDuration=0;var i=e.apply(this,t);return this.options.transitionDuration=n,i},d.getFilteredItemElements=function(){return this.filteredItems.map(function(e){return e.element})},c}(s,e,0,n,i,r,o)}.apply(t,i),void 0===r||(e.exports=r)}(window)},6435:function(e,t,n){!function(e){"use strict";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")}}})}(n(5093))},6449:function(e){var t=Array.isArray;e.exports=t},6464:function(e,t,n){!function(e){"use strict";var t={standalone:"leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec".split("_"),format:"ledna_února_bÅezna_dubna_kvÄtna_Äervna_Äervence_srpna_záÅÃ_ÅÃjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bÅe/i,/^dub/i,/^kvÄ/i,/^(Ävn|Äerven$|Äervna)/i,/^(Ävc|Äervenec|Äervence)/i,/^srp/i,/^záÅ/i,/^ÅÃj/i,/^lis/i,/^pro/i],r=/^(leden|únor|bÅezen|duben|kvÄten|Äervenec|Äervence|Äerven|Äervna|srpen|záÅÃ|ÅÃjen|listopad|prosinec|led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}functi
vendor: 5,546 bytes, line 2
2on o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekund":"pár sekundami";case"ss":return t||i?r+(s(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(s(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(s(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(s(e)?"dny":"dnÃ"):r+"dny";case"M":return t||i?"mÄsÃc":"mÄsÃcem";case"MM":return t||i?r+(s(e)?"mÄsÃce":"mÄsÃců"):r+"mÄsÃci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(s(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|února|únor|bÅezen|bÅezna|duben|dubna|kvÄten|kvÄtna|Äervenec|Äervence|Äerven|Äervna|srpen|srpna|záÅÃ|ÅÃjen|ÅÃjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bÅe|dub|kvÄ|Ävn|Ävc|srp|záÅ|ÅÃj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_Ät_pá_so".split("_"),weekdaysMin:"ne_po_út_st_Ät_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zÃtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedÄli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve stÅedu v] LT";case 4:return"[ve Ätvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[vÄera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou nedÄli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou stÅedu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pÅed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},6545:function(e,t,n){var i=n(6110)(n(9325),"Set");e.exports=i},6571:function(e,t,n){!function(e){"use strict";var t={0:"-Ñм",1:"-Ñм",2:"-Ñм",3:"-Ñм",4:"-Ñм",5:"-Ñм",6:"-Ñм",7:"-Ñм",8:"-Ñм",9:"-Ñм",10:"-Ñм",12:"-Ñм",13:"-Ñм",20:"-Ñм",30:"-Ñм",40:"-Ñм",50:"-Ñм",60:"-Ñм",70:"-Ñм",80:"-Ñм",90:"-Ñм",100:"-Ñм"};e.defineLocale("tg",{months:{format:"ÑнваÑи_ÑевÑали_маÑÑи_апÑели_майи_иÑни_иÑли_авгÑÑÑи_ÑенÑÑбÑи_окÑÑбÑи_ноÑбÑи_декабÑи".split("_"),standalone:"ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ".split("_")},monthsShort:"Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек".split("_"),weekdays:"ÑкÑанбе_дÑÑанбе_ÑеÑанбе_ÑоÑÑанбе_панҷÑанбе_Ò·ÑмÑа_Ñанбе".split("_"),weekdaysShort:"ÑÑб_дÑб_ÑÑб_ÑÑб_пÑб_Ò·Ñм_Ñнб".split("_"),weekdaysMin:"ÑÑ_дÑ_ÑÑ_ÑÑ_пÑ_ҷм_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐмÑӯз ÑоаÑи] LT",nextDay:"[ФаÑдо ÑоаÑи] LT",lastDay:"[ÐиÑӯз ÑоаÑи] LT",nextWeek:"dddd[и] [ҳаÑÑаи оÑнда ÑоаÑи] LT",lastWeek:"dddd[и] [ҳаÑÑаи гÑзаÑÑа ÑоаÑи] LT",sameElse:"L"},relativeTime:{future:"баÑди %s",past:"%s пеÑ",s:"ÑкÑанд ÑониÑ",m:"Ñк даÒиÒа",mm:"%d даÒиÒа",h:"Ñк ÑоаÑ",hh:"%d ÑоаÑ",d:"Ñк Ñӯз",dd:"%d Ñӯз",M:"Ñк моҳ",MM:"%d моҳ",y:"Ñк Ñол",yy:"%d Ñол"},meridiemParse:/Ñаб|ÑÑбҳ|Ñӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"Ñаб"===t?e<4?e:e+12:"ÑÑбҳ"===t?e:"Ñӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"Ñаб":e<11?"ÑÑбҳ":e<16?"Ñӯз":e<19?"бегоҳ":"Ñаб"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñм|Ñм)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}})}(n(5093))},6575:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
vendor: 4,362 bytes, line 2
2S:"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}})}(n(5093))},6584:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},6618:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){return"m"===i?n?"Ñ
вилина":"Ñ
вилинÑ":"h"===i?n?"година":"годинÑ":e+" "+t({ss:n?"ÑекÑнда_ÑекÑнди_ÑекÑнд":"ÑекÑндÑ_ÑекÑнди_ÑекÑнд",mm:n?"Ñ
вилина_Ñ
вилини_Ñ
вилин":"Ñ
вилинÑ_Ñ
вилини_Ñ
вилин",hh:n?"година_години_годин":"годинÑ_години_годин",dd:"денÑ_днÑ_днÑв",MM:"мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв",yy:"ÑÑк_Ñоки_ÑокÑв"}[i],+e)}function i(e,t){var n={nominative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа".split("_"),accusative:"недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ".split("_"),genitive:"недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ÐвУÑ]\]) ?dddd/.test(t)?"accusative":/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ".split("_"),standalone:"ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ".split("_")},monthsShort:"ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),weekdaysMin:"нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY Ñ.",LLL:"D MMMM YYYY Ñ., HH:mm",LLLL:"dddd, D MMMM YYYY Ñ., HH:mm"},calendar:{sameDay:r("[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ "),nextDay:r("[ÐавÑÑа "),lastDay:r("[ÐÑоÑа "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case
vendor: 5,696 bytes, line 2
26: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}})}(n(5093))},6637:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return r+=1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return r+=1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami";case"d":return t||i?"en dan":"enim dnem";case"dd":return r+=1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi";case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+=1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci";case"y":return t||i?"eno leto":"enim letom";case"yy":return r+=1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti"}}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}})}(n(5093))},6721:function(e,t,n){var i=n(1042),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},6794:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},6870:function(e,t,n){!function(e){"use strict";var t={1:"á¡",2:"á¢",3:"á£",4:"á¤",5:"á¥",6:"á¦",7:"á§",8:"á¨",9:"á©",0:"á "},n={"á¡":"1","á¢":"2","á£":"3","á¤":"4","á¥":"5","á¦":"6","á§":"7","á¨":"8","á©":"9","á ":"0"};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?"áááá¹á":"áááá¶á
"}
2,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}})}(n(5093))},6942:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,s(n)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},6947:function(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-ps",{months:"ÙØ§ÙÙÙ Ø§ÙØ«Ø§ÙÙ_شباط_آذار_ÙÙØ³Ø§Ù_Ø£ÙÙØ§Ø±_ØØ²ÙراÙ_تÙ
ÙÙØ²_آب_Ø£ÙÙÙÙ_ØªØ´Ø±Ù Ø§ÙØ£ÙÙÙ_تشرÙÙ Ø§ÙØ«Ø§ÙÙ_ÙØ§ÙÙÙ Ø§ÙØ£ÙÙÙ".split("_"),monthsShort:"ÙÙ¢_شباط_آذار_ÙÙØ³Ø§Ù_Ø£ÙÙØ§Ø±_ØØ²ÙراÙ_تÙ
ÙÙØ²_آب_Ø£ÙÙÙÙ_ت١_ت٢_ÙÙ¡".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(e){return n[e]}).split("").reverse().join("").replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:0,doy:6}})}(n(5093))},6987:function(e,t,n){var i,r,s;window,r=[n(3763)],void 0===(s="function"==typeof(i=function(e){"use strict";var t=e.create("vertical",{horizontalAlignment:0}),n=t.prototype;return n._resetLayout=function(){this.y=0},n._getItemLayoutPosition=function(e){e.getSize();var t=(this.isotope.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment,n=this.y;return this.y+=e.size.outerHeight,{x:t,y:n}},n._getContainerSize=function(){return{height:this.y}},t})?i.apply(t,r):i)||(e.exports=s)},6994:function(e,t,n){var i,r,s;window,r=[n(2831),n(1485)],void 0===(s="function"==typeof(i=function(e,t){"use strict";var n=e.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;
vendor: 3,080 bytes, line 2
2return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,r=this.containerWidth+this.gutter,s=r/i,o=i-r%i;s=Math[o&&o<1?"round":"floor"](s),this.cols=Math.max(s,1)},i.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,n=t(e);this.containerWidth=n&&n.innerWidth},i._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,e),r={x:this.columnWidth*i.col,y:i.y},s=i.y+e.size.outerHeight,o=n+i.col,a=i.col;a<o;a++)this.colYs[a]=s;return r},i._getTopColPosition=function(e){var t=this._getTopColGroup(e),n=Math.min.apply(Math,t);return{col:t.indexOf(n),y:n}},i._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,i=0;i<n;i++)t[i]=this._getColGroupY(i,e);return t},i._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var n=this.colYs.slice(e,e+t);return Math.max.apply(Math,n)},i._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols;n=e>1&&n+e>this.cols?0:n;var i=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=i?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},i._manageStamp=function(e){var n=t(e),i=this._getElementOffset(e),r=this._getOption("originLeft")?i.left:i.right,s=r+n.outerWidth,o=Math.floor(r/this.columnWidth);o=Math.max(0,o);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?i.top:i.bottom)+n.outerHeight,c=o;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},i._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})?i.apply(t,r):i)||(e.exports=s)},7068:function(e,t,n){var i=n(7217),r=n(5911),s=n(1986),o=n(689),a=n(5861),l=n(6449),c=n(3656),d=n(7167),u="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,p,g,y){var _=l(e),b=l(t),v=_?h:a(e),w=b?h:a(t),k=(v=v==u?f:v)==f,T=(w=w==u?f:w)==f,M=v==w;if(M&&c(e)){if(!c(t))return!1;_=!0,k=!1}if(M&&!k)return y||(y=new i),_||d(e)?r(e,t,n,p,g,y):s(e,t,v,n,p,g,y);if(!(1&n)){var L=k&&m.call(e,"__wrapped__"),S=T&&m.call(t,"__wrapped__");
vendor: 6,464 bytes, line 2
2if(L||S){var x=L?e.value():e,O=S?t.value():t;return y||(y=new i),g(x,O,n,p,y)}}return!!M&&(y||(y=new i),o(e,t,n,p,g,y))}},7071:function(e,t,n){!function(e){"use strict";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("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(5093))},7075:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7088:function(e,t,n){!function(e){"use strict";var t={0:"-ÑÑ",1:"-ÑÑ",2:"-ÑÑ",3:"-ÑÑ",4:"-ÑÑ",5:"-ÑÑ",6:"-ÑÑ",7:"-ÑÑ",8:"-ÑÑ",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÑ",60:"-ÑÑ",70:"-ÑÑ",80:"-ÑÑ",90:"-ÑÑ",100:"-ÑÑ"};e.defineLocale("kk",{months:"ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан".split("_"),monthsShort:"Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел".split("_"),weekdays:"жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ".split("_"),weekdaysShort:"жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен".split("_"),weekdaysMin:"жк_дй_Ñй_ÑÑ_бй_жм_Ñн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ÐүгÑн ÑаÒаÑ] LT",nextDay:"[ÐÑÑең ÑаÒаÑ] LT",nextWeek:"dddd [ÑаÒаÑ] LT",lastDay:"[ÐеÑе ÑаÒаÑ] LT",lastWeek:"[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT",sameElse:"L"},relativeTime:{future:"%s ÑÑÑнде",past:"%s бұÑÑн",s:"бÑÑнеÑе ÑекÑнд",ss:"%d ÑекÑнд",m:"бÑÑ Ð¼Ð¸Ð½ÑÑ",mm:"%d минÑÑ",h:"бÑÑ ÑаÒаÑ",hh:"%d ÑаÒаÑ",d:"бÑÑ ÐºÒ¯Ð½",dd:"%d күн",M:"бÑÑ Ð°Ð¹",MM:"%d ай",y:"бÑÑ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(ÑÑ|ÑÑ)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}})}(n(5093))},7160:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7167:function(e,t,n){var i=n(4901),r=n(7301),s=n(6009),o=s&&s.isTypedArray,a=o?r(o):i;e.exports=a},7217:function(e,t,n){var i=n(79),r=n(1420),s=n(938),o=n(3605),a=n(9817),l=n(945);function c(e){var t=this.__data__=new i(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=o,c.prototype.has=a,c.prototype.set=l,e.exports=c},7296:function(e,t,n){var i,r=n(5481),s=(i=/[^.]+$/.exec(r&&r.ke
vendor: 5,461 bytes, line 2
2ys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!s&&s in e}},7301:function(e){e.exports=function(e){return function(t){return e(t)}}},7306:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7329:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7357:function(e,t,n){!function(e){"use strict";var t={1:"à§§",2:"২",3:"à§©",4:"৪",5:"à§«",6:"৬",7:"à§",8:"à§®",9:"৯",0:"০"},n={"à§§":"1","২":"2","à§©":"3","৪":"4","à§«":"5","৬":"6","à§":"7","à§®":"8","৯":"9","০":"0"};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:"দà§à¦ªà§à¦°"
2===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}})}(n(5093))},7473:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7534:function(e,t,n){var i=n(2552),r=n(346);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},7538:function(e,t,n){!function(e){"use strict";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?"à¶´à·.à·.":"à¶´à·à¶» à·à¶»à·"}})}(n(5093))},7576:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return k}});var i=n(279),r=n.n(i),s=n(370),o=n.n(s),a=n(817),l=n.n(a);function c(e){try{return document.execCommand(e)}catch(e){return!1}}var d=function(e){var t=l()(e);return c("cut"),t},u=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(i,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var i=l()(n);return c("copy"),n.remove(),i},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=u(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=u(e.value,t):(n=l()(e),c("copy")),n};function f(e){return f="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},f(e)}var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,i=e.container,r=e.target,s=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==f(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return s?h(s,{container:i}):r?"cut"===n?d(r):h(r,{container:i}):void 0};function p(e){return p="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},p(e)}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
vendor: 4,645 bytes, line 2
2function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,i=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,n)}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function v(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(s,e);var t,n,i,r=_(s);function s(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=r.call(this)).resolveOptions(t),n.listenClick(e),n}return t=s,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=o()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",i=m({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(i?"success":"error",{action:n,text:i,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return v("action",e)}},{key:"defaultTarget",value:function(e){var t=v("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return v("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],i=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return h(e,t)}},{key:"cut",value:function(e){return d(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}],n&&g(t.prototype,n),i&&g(t,i),s}(r()),k=w},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var i=n(828);function r(e,t,n,i,r){var o=s.apply(this,arguments);return e.addEventListener(n,o,r),{destroy:function(){e.removeEventListener(n,o,r)}}}function s(e,t,n,r){return function(n){n.delegateTarget=i(n.target,t),n.delegateTarget&&r.call(e,n)}}e.exports=function(e,t,n,i,s){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return r(e,t,n,i,s)}))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var i=n(879),r=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!i.string(t))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}
2(e,t,n);if(i.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}(e,t,n);if(i.string(e))return function(e,t,n){return r(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(e),i.removeAllRanges(),i.addRange(r),t=i.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var i=this;function r(){i.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),i=n[e],r=[];if(i&&t)for(var s=0,o=i.length;s<o;s++)i[s].fn!==t&&i[s].fn._!==t&&r.push(i[s]);return r.length?n[e]=r:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},7609:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7650:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
2d 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"})}(n(5093))},7670:function(e,t,n){var i=n(2651);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},7711:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7730:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un dÃa",dd:"%d dÃas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(5093))},7738:function(e,t,n){var i,r;"undefined"!=typeof window&&window,void 0===(r="function"==typeof(i=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},i=n[e]=n[e]||[];return-1==i.indexOf(t)&&i.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=n.indexOf(t);return-1!=i&&n.splice(i,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var i=this._onceEvents&&this._onceEvents[e],r=0;r<n.length;r++){var s=n[r];i&&i[s]&&(this.off(e,s),delete i[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?i.call(t,n,t,e):i)||(e.exports=r)},7777:function(e,t,n){!function(e){"use strict";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:"%
2d ÑаÑа",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}})}(n(5093))},7828:function(e,t,n){var i=n(9325).Uint8Array;e.exports=i},7853:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}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}})}(n(5093))},7892:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},7943:function(e,t,n){!function(t,i){e.exports?e.exports=i(t,n(2137)):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){let n=e.jQuery,i=e.console;function r(e,t,s){if(!(this instanceof r))return new r(e,t,s);let o=e;var a;("string"==typeof e&&(o=document.querySelectorAll(e)),o)?(this.elements=(a=o,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?[...a]:[a]),this.options={},"function"==typeof t?s=t:Object.assign(this.options,t),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):i.error(`Bad element for imagesLoaded ${o||e}`)}r.prototype=Object.create(t.prototype),r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const s=[1,9,11];r.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);let{nodeType:t}=e;if(!t||!s.includes(t))return;let n=e.querySelectorAll("img");for(let e of n)this.addImage(e);if("string"==typeof this.options.background){let t=e.querySelectorAll(this.options.background);
2for(let e of t)this.addElementBackgroundImages(e)}};const o=/url\((['"])?(.*?)\1\)/gi;function a(e){this.img=e}function l(e,t){this.url=e,this.element=t,this.img=new Image}return r.prototype.addElementBackgroundImages=function(e){let t=getComputedStyle(e);if(!t)return;let n=o.exec(t.backgroundImage);for(;null!==n;){let i=n&&n[2];i&&this.addBackground(i,e),n=o.exec(t.backgroundImage)}},r.prototype.addImage=function(e){let t=new a(e);this.images.push(t)},r.prototype.addBackground=function(e,t){let n=new l(e,t);this.images.push(n)},r.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let e=(e,t,n)=>{setTimeout(()=>{this.progress(e,t,n)})};this.images.forEach(function(t){t.once("progress",e),t.check()})},r.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&i&&i.log(`progress: ${n}`,e,t)},r.prototype.complete=function(){let e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){let e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(t.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(e,t){this.isLoaded=e;let{parentNode:n}=this.img,i="PICTURE"===n.nodeName?n:this.img;this.emitEvent("progress",[this,i,t])},a.prototype.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&(n=t,n.fn.imagesLoaded=function(e,t){return new r(this,e,t).jqDeferred.promise(n(this))})},r.makeJQueryPlugin(),r})},8076:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};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(){return["[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"][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}})}(n(5093))},8096:function(e){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},8174:function(e,t,n){!function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"},i=["کاÙÙÙÛ Ø¯ÙÙÛÙ
","Ø´ÙØ¨Ø§Øª","ئازار","ÙÛØ³Ø§Ù","Ø¦Ø§ÛØ§Ø±","ØÙزÛÛØ±Ø§Ù","تÛÙ
Ù
ÙØ²","ئاب","ئÛÛÙÙÙÙ","تشرÛÙÛ ÛÛÙÛÙ
","تشرÛÙÛ Ø¯ÙÙÛÙ
","ÙØ§ÙÙÙÛ ÛÛÚ©ÛÙ
"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"ÛÙâÙØ´ÙâÙ
Ù
Ùâ_دÙÙØ´ÙâÙ
Ù
Ùâ_Ø³ÛØ´ÙâÙ
Ù
Ùâ_ÚÙØ§Ø±Ø´ÙâÙ
Ù
Ùâ_Ù¾ÛÙØ¬Ø´ÙâÙ
Ù
Ùâ_ÙÙâÛÙÛ_Ø´ÙâÙ
Ù
Ùâ".split("_"),weekdaysShort:"ÛÙâÙØ´ÙâÙ
_دÙÙØ´ÙâÙ
_Ø³ÛØ´ÙâÙ
_ÚÙØ§Ø±Ø´ÙâÙ
_Ù¾ÛÙØ¬Ø´ÙâÙ
_ÙÙâÛÙÛ_Ø´ÙâÙ
Ù
Ùâ".split("_"),weekdaysMin:"Û_د_س_Ú_Ù¾_Ù_Ø´".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئÛÙØ§Ø±Ùâ|بÙâÛØ§ÙÛ/,isPM:function(e){return/ئÛÙØ§Ø±Ùâ/.test(e)},meridiem:function(e,t,n){return e<12?"بÙâÛØ§ÙÛ":"ئÛÙØ§Ø±Ùâ"},calendar:{sameDay:"[ئÙâÙ
Ø±Û ÙØ§ØªÚÙ
ÛØ±] LT",nextDay:"[بÙâÛØ§ÙÛ ÙØ§ØªÚÙ
ÛØ±] LT",nextWeek:"dddd [ÙØ§ØªÚÙ
ÛØ±] LT",lastDay:"[دÙÛÙÛ ÙØ§ØªÚÙ
ÛØ±] LT",lastWeek:"dddd [ÙØ§ØªÚÙ
ÛØ±] LT",sameElse:"L"},relativeTime:{future:"ÙÙâ %s",past:"%s",s:"ÚÙâÙØ¯ ÚØ±ÙÙâÛÙâÙ",ss:"ÚØ±ÙÙâ %d",m:"ÛÙâÙ Ø®ÙÙÙâÙ",mm:"%d Ø®ÙÙÙâÙ",h:"ÛÙâÙ ÙØ§ØªÚÙ
ÛØ±",hh:"%
2d ÙØ§ØªÚÙ
ÛØ±",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}})}(n(5093))},8223:function(e,t,n){var i=n(6110)(n(9325),"Map");e.exports=i},8235:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"à¥",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","à¥":"7","८":"8","९":"9","०":"0"};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}})}(n(5093))},8298:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(5093))},8303:function(e,t,n){var i=n(6110)(n(9325),"WeakMap");e.exports=i},8383:function(e,t,n){!function(e){"use strict";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(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[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:"%
2d 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}})}(n(5093))},8414:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_Ù
ارت_ئاپرÛÙ_Ù
اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),monthsShort:"ÙØ§ÙÛØ§Ø±_ÙÛÛØ±Ø§Ù_Ù
ارت_ئاپرÛÙ_Ù
اÙ_ئÙÙÛÙ_ئÙÙÛÙ_Ø¦Ø§ÛØºÛست_سÛÙØªÛØ¨ÙØ±_ئÛÙØªÛØ¨ÙØ±_ÙÙÙØ§Ø¨Ùر_دÛÙØ§Ø¨Ùر".split("_"),weekdays:"ÙÛÙØ´ÛÙØ¨Û_Ø¯ÛØ´ÛÙØ¨Û_سÛÙØ´ÛÙØ¨Û_ÚØ§Ø±Ø´ÛÙØ¨Û_Ù¾ÛÙØ´ÛÙØ¨Û_جÛÙ
Û_Ø´ÛÙØ¨Û".split("_"),weekdaysShort:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),weekdaysMin:"ÙÛ_دÛ_سÛ_ÚØ§_Ù¾Û_جÛ_Ø´Û".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙ",LLL:"YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm",LLLL:"ddddØ YYYY-ÙÙÙÙM-ئاÙÙÙÚD-ÙÛÙÙØ HH:mm"},meridiemParse:/ÙÛØ±ÙÙ
ÙÛÚÛ|سÛÚ¾ÛØ±|ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ|ÚÛØ´|ÚÛØ´ØªÙÙ ÙÛÙÙÙ|ÙÛÚ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ÙÛØ±ÙÙ
ÙÛÚÛ"===t||"سÛÚ¾ÛØ±"===t||"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ"===t?e:"ÚÛØ´ØªÙÙ ÙÛÙÙÙ"===t||"ÙÛÚ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"ÙÛØ±ÙÙ
ÙÛÚÛ":i<900?"سÛÚ¾ÛØ±":i<1130?"ÚÛØ´ØªÙÙ Ø¨ÛØ±ÛÙ":i<1230?"ÚÛØ´":i<1800?"ÚÛØ´ØªÙÙ ÙÛÙÙÙ":"ÙÛÚ"},calendar:{sameDay:"[بÛÚ¯ÛÙ Ø³Ø§Ø¦ÛØª] LT",nextDay:"[Ø¦ÛØªÛ Ø³Ø§Ø¦ÛØª] LT",nextWeek:"[ÙÛÙÛØ±ÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",lastDay:"[تÛÙÛÚ¯ÛÙ] LT",lastWeek:"[Ø¦Ø§ÙØ¯ÙÙÙÙ] dddd [Ø³Ø§Ø¦ÛØª] LT",sameElse:"L"},relativeTime:{future:"%s ÙÛÙÙÙ",past:"%s Ø¨ÛØ±ÛÙ",s:"ÙÛÚÚÛ Ø³ÛÙÙÙØª",ss:"%d سÛÙÙÙØª",m:"Ø¨ÙØ± Ù
ÙÙÛØª",mm:"%d Ù
ÙÙÛØª",h:"Ø¨ÙØ± Ø³Ø§Ø¦ÛØª",hh:"%d Ø³Ø§Ø¦ÛØª",d:"Ø¨ÙØ± ÙÛÙ",dd:"%d ÙÛÙ",M:"Ø¨ÙØ± ئاÙ",MM:"%d ئاÙ",y:"Ø¨ÙØ± ÙÙÙ",yy:"%d ÙÙÙ"},dayOfMonthOrdinalParse:/\d{1,2}(-ÙÛÙÙ|-ئاÙ|-Ú¾ÛپتÛ)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-ÙÛÙÙ";case"w":case"W":return e+"-Ú¾ÛپتÛ";default:return e}},preparse:function(e){return e.replace(/Ø/g,",")},postformat:function(e){return e.replace(/,/g,"Ø")},week:{dow:1,doy:7}})}(n(5093))},8474:function(e,t,n){!function(e){"use strict";var t={0:"-ÑÒ¯",1:"-Ñи",2:"-Ñи",3:"-ÑÒ¯",4:"-ÑÒ¯",5:"-Ñи",6:"-ÑÑ",7:"-Ñи",8:"-Ñи",9:"-ÑÑ",10:"-ÑÑ",20:"-ÑÑ",30:"-ÑÑ",40:"-ÑÑ",50:"-ÑÒ¯",60:"-ÑÑ",70:"-Ñи",80:"-Ñи",90:"-ÑÑ",100:"-ÑÒ¯"};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:"%
2d ÑааÑ",d:"Ð±Ð¸Ñ ÐºÒ¯Ð½",dd:"%d күн",M:"Ð±Ð¸Ñ Ð°Ð¹",MM:"%d ай",y:"Ð±Ð¸Ñ Ð¶Ñл",yy:"%d жÑл"},dayOfMonthOrdinalParse:/\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}})}(n(5093))},8655:function(e,t,n){var i=n(6025);e.exports=function(e){return i(this.__data__,e)>-1}},8676:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},8859:function(e,t,n){var i=n(3661),r=n(1380),s=n(1459);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=s,e.exports=o},8861:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},8959:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,i){return"m"===i?n?"Ñ
вÑлÑна":"Ñ
вÑлÑнÑ":"h"===i?n?"гадзÑна":"гадзÑнÑ":e+" "+t({ss:n?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:n?"Ñ
вÑлÑна_Ñ
вÑлÑнÑ_Ñ
вÑлÑн":"Ñ
вÑлÑнÑ_Ñ
вÑлÑнÑ_Ñ
вÑлÑн",hh:n?"гадзÑна_гадзÑнÑ_гадзÑн":"гадзÑнÑ_гадзÑнÑ_гадзÑн",dd:"дзенÑ_днÑ_дзÑн",MM:"меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ",yy:"год_гадÑ_гадоÑ"}[i],+e)}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"}
vendor: 5,269 bytes, line 2
2,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}})}(n(5093))},8984:function(e,t,n){var i=n(5527),r=n(3650),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}},9033:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(5093))},9053:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"Ñ
ÑдÑ
Ñн ÑекÑнд":"Ñ
ÑдÑ
Ñн ÑекÑндÑн";case"ss":return e+(t?" ÑекÑнд":" ÑекÑндÑн");case"m":case"mm":return e+(t?" минÑÑ":" минÑÑÑн");case"h":case"hh":return e+(t?" Ñаг":" Ñагийн");case"d":case"dd":return e+(t?" өдөÑ":" өдÑийн");case"M":case"MM":return e+(t?" ÑаÑ":" ÑаÑÑн");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}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}}})}(n(5093))},9219:function(e){e.exports=function(e,t){return e.has(t)}},9231:function(e,t,n){!function(e){"use strict";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:"%
2d 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}})}(n(5093))},9325:function(e,t,n){var i=n(4840),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();e.exports=s},9330:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},9350:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9374:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var s=e+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";
vendor: 4,377 bytes, line 2
2case"ss":return t(e)?s+(n||r?"sekúndur":"sekúndum"):s+"sekúnda";case"m":return n?"mÃnúta":"mÃnútu";case"mm":return t(e)?s+(n||r?"mÃnútur":"mÃnútum"):n?s+"mÃnúta":s+"mÃnútu";case"hh":return t(e)?s+(n||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?s+"dagar":s+(r?"daga":"dögum"):n?s+"dagur":s+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return t(e)?n?s+"mánuðir":s+(r?"mánuði":"mánuðum"):n?s+"mánuður":s+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return t(e)?s+(n||r?"ár":"árum"):s+(n||r?"ár":"ári")}}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}})}(n(5093))},9402:function(e,t,n){!function(e){"use strict";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;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(5093))},9527:function(e,t,n){!function(e){"use strict";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"};e.defineLocale("tk",{months:"Ãanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ãan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"ÃekÅenbe_DuÅenbe_SiÅenbe_ÃarÅenbe_PenÅenbe_Anna_Åenbe".split("_"),weekdaysShort:"Ãek_DuÅ_SiÅ_Ãar_Pen_Ann_Åen".split("_"),weekdaysMin:"Ãk_DÅ_SÅ_Ãr_Pn_An_Ån".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soÅ",past:"%s öÅ",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10,r=e%100-i,s=e>=100?100:null;return e+(t[i]||t[r]||t[s])}},week:{dow:1,doy:7}})}(n(5093))},9532:function(e,t,n){!function(e){"use strict";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_die
2nÄm_diena_dienas".split("_"),dd:"dienas_dienÄm_diena_dienas".split("_"),M:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),MM:"mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}function s(e,t){return t?"dažas sekundes":"dažÄm sekundÄm"}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:s,ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9680:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){return r(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function i(e){return r(e.substr(0,e.indexOf(" ")))?"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;return r(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return r(e)}return r(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(5093))},9722:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},9756:function(e,t,n){!function(e){"use strict";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}})}(n(5093))},9770:function(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,s=[];++n<i;){var o=e[n];t(o,n,e)&&(s[r++]=o)}return s}},9786:function(e,t,n){var i,r;!function(s,o){"use strict";void 0===(r="function"==typeof(i=o)?i.call(t,n,t,e):i)||(e.exports=r)}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var i=t[n]+"MatchesSelector";if(e[i])return i}}();return function(t,n){return t[e](n)}})},9817:function(e){e.exports=function(e){return this.__data__.has(e)}},9834:function(e,t,n){!function(e){"use strict";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:"%
2d 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}})}(n(5093))},9846:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n mÃut","'iens mÃut"],mm:[e+" mÃuts",e+" mÃuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}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: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:4}})}(n(5093))},9849:function(e,t,n){!function(e){"use strict";var t={1:"à©§",2:"੨",3:"à©©",4:"੪",5:"à©«",6:"੬",7:"à©",8:"à©®",9:"੯",0:"੦"},n={"à©§":"1","੨":"2","à©©":"3","੪":"4","à©«":"5","੬":"6","à©":"7","à©®":"8","੯":"9","੦":"0"};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}})}(n(5093))},9935:function(e){e.exports=function(){return!1}}},t={};function n(i){var r=t[i];
2if(void 0!==r)return r.exports;var s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";jQuery.confirm;var e,t=function(){return t=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)},i=function(){function e(e){this.options=e,this.listeners={}}return e.prototype.on=function(e,t){var n=this.listeners[e]||[];this.listeners[e]=n.concat([t])},e.prototype.triggerEvent=function(e,t){var n=this;(this.listeners[e]||[]).forEach(function(e){return e({target:n,event:t})})},e}();!function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(e||(e={}));var r,s=function(){function t(){this.notifications=[]}return t.prototype.push=function(t){this.notifications.push(t),this.updateFn(t,e.Add,this.notifications)},t.prototype.splice=function(t,n){var i=this.notifications.splice(t,n)[0];return this.updateFn(i,e.Remove,this.notifications),i},t.prototype.indexOf=function(e){return this.notifications.indexOf(e)},t.prototype.onUpdate=function(e){this.updateFn=e},t}();!function(e){e.Dismiss="dismiss",e.Click="click"}(r||(r={}));var o={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},a=function(){function n(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var e=document.createDocumentFragment(),t=this._createHTMLElement({tagName:"div",className:"notyf"});e.appendChild(t),document.body.appendChild(e),this.container=t,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return n.prototype.on=function(e,n){var i;this.events=t(t({},this.events),((i={})[e]=n,i))},n.prototype.update=function(t,n){n===e.Add?this.addNotification(t):n===e.Remove&&this.removeNotification(t)},n.prototype.removeNotification=function(e){var t,n,i=this,r=this._popRenderedNotification(e);r&&((t=r.node).classList.add("notyf__toast--disappear"),t.addEventListener(this.animationEndEventName,n=function(e){e.target===t&&(t.removeEventListener(i.animationEndEventName,n),i.container.removeChild(t))}))},n.prototype.addNotification=function(e){var t=this._renderNotification(e);this.notifications.push({notification:e,node:t}),this._announce(e.options.message||"Notification")},n.prototype._renderNotification=function(e){var t,n=this._buildNotificationCard(e),i=e.options.className;return i&&(t=n.classList).add.apply(t,i.split(" ")),this.container.appendChild(n),n},n.prototype._popRenderedNotification=function(e){for(var t=-1,n=0;n<this.notifications.length&&t<0;n++)this.notifications[n].notification===e&&(t=n);if(-1!==t)return this.notifications.splice(t,1)[0]},n.prototype.getXPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.x)||"right"},n.prototype.getYPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.y)||"bottom"},n.prototype.adjustContainerAlignment=function(e){var t=this.X_POSITION_FLEX_MAP[this.getXPosition(e)],n=this.Y_POSITION_FLEX_MAP[this.getYPosition(e)],i=this.container.style;i.setProperty("justify-content",n),i.setProperty("align-items",t)},n.prototype._buildNotificationCard=function(e){var t=this,n=e.options,i=n.icon;this.adjustContainerAlignment(n);var s=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),o=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),a=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),l=this._createHTMLElement({tagName:"div",className:"notyf__message"});l.innerHTML=n.message||"";var c=n.background||n.backgroundColor;if(i){var d=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"==typeof i||i instanceof String)&&(d.innerHTML=new String(i).valueOf()),"object"==typeof i){var u=i.tagName,h=void 0===u?"i":u,f=i.className,m=i.text,p=i.color,g=void 0===p?c:p,y=this._createHTMLElement({tagName:h,className:f,text:m});g&&(y.style.color=g),d.appendChild(y)}a.appendChild(d)}if(a.appendChild(l),s.appendChild(a),c&&(n.ripple?(o.style.background=c,s.appendChild(o)):s.style.background=c),n.dismissible){var _=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),b=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});_.appendChild(b),a.appendChild(_),s.classList.add("notyf__toast--dismissible"),b.addEventListener("click",function(n){var i,s;null===(s=(i=t.events)[r.Dismiss])||void 0===s||s.call(i,{target:e,event:n}),n.stopPropagation()})}s.addEventListener("click",function(n){var i,s;return null===(s=(i=t.events)[r.Click])||void 0===s?void 0:s.call(i,{target:e,event:n})});var v="top"===this.getYPosition(n)?"upper":"lower";return s.classList.add("notyf__toast--"+v),s},n.prototype._createHTMLElement=function(e){var t=e.tagName,n=e.className,i=e.text,r=document.createElement(t);return n&&(r.className=n),r.textContent=i||null,r},n.prototype._createA11yContainer=function(){var e=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),e.style.border="0",e.style.clip="rect(0 0 0 0)",e.
2style.height="1px",e.style.margin="-1px",e.style.overflow="hidden",e.style.padding="0",e.style.position="absolute",e.style.width="1px",e.style.outline="0",document.body.appendChild(e),this.a11yContainer=e},n.prototype._announce=function(e){var t=this;this.a11yContainer.textContent="",setTimeout(function(){t.a11yContainer.textContent=e},100)},n.prototype._getAnimationEndEventName=function(){var e,t=document.createElement("_fake"),n={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(e in n)if(void 0!==t.style[e])return n[e];return"animationend"},n}(),l=function(){function e(e){var n=this;this.dismiss=this._removeNotification,this.notifications=new s,this.view=new a;var i=this.registerTypes(e);this.options=t(t({},o),e),this.options.types=i,this.notifications.onUpdate(function(e,t){return n.view.update(e,t)}),this.view.on(r.Dismiss,function(e){var t=e.target,i=e.event;n._removeNotification(t),t.triggerEvent(r.Dismiss,i)}),this.view.on(r.Click,function(e){var t=e.target,n=e.event;return t.triggerEvent(r.Click,n)})}return e.prototype.error=function(e){var t=this.normalizeOptions("error",e);return this.open(t)},e.prototype.success=function(e){var t=this.normalizeOptions("success",e);return this.open(t)},e.prototype.open=function(e){var n=this.options.types.find(function(t){return t.type===e.type})||{},r=t(t({},n),e);this.assignProps(["ripple","position","dismissible"],r);var s=new i(r);return this._pushNotification(s),s},e.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},e.prototype.assignProps=function(e,t){var n=this;e.forEach(function(e){t[e]=null==t[e]?n.options[e]:t[e]})},e.prototype._pushNotification=function(e){var t=this;this.notifications.push(e);var n=void 0!==e.options.duration?e.options.duration:this.options.duration;n&&setTimeout(function(){return t._removeNotification(e)},n)},e.prototype._removeNotification=function(e){var t=this.notifications.indexOf(e);-1!==t&&this.notifications.splice(t,1)},e.prototype.normalizeOptions=function(e,n){var i={type:e};return"string"==typeof n?i.message=n:"object"==typeof n&&(i=t(t({},i),n)),i},e.prototype.registerTypes=function(e){var n=(e&&e.types||[]).slice(),i=o.types.map(function(e){var i=-1;n.forEach(function(t,n){t.type===e.type&&(i=n)});var r=-1!==i?n.splice(i,1)[0]:{};return t(t({},e),r)});return i.concat(n)},e}();bookingHub.notyf=new l({duration:1500,ripple:!1,types:[{type:"success",background:"#151C21"},{type:"error",background:"#E11B1A"}]});var c=jQuery;c.fn.bhubValidate=function(e){var t={errorPlacement:function(e,t){t.hasClass("bhub-custom-date-field__input")?t.parents(".booking_hub_framework-field").append(e):t.parent().hasClass("bhub-form-field__input-wrapper")?t.parents(".bhub-form-field").append(e):e.appendTo(t.parent())},highlight:function(e){c(e).hasClass("bhub-custom-date-field__input")?c(e).parents(".booking_hub_framework-field").addClass("error"):c(e).addClass("error")},unhighlight:function(e){c(e).hasClass("bhub-custom-date-field__input")?c(e).parents(".booking_hub_framework-field").removeClass("error"):c(e).removeClass("error")}},n=c.extend(!0,{},t,e);return this.find("select").each(function(){c(this).on("change",function(){c(this).valid()})}),this.each(function(){var e=c(this),t=e.validate(n);if(n.toggle&&n.toggle instanceof jQuery){var i=function(){n.toggle.prop("disabled",!e.get(0).checkValidity())};e.on("keyup change","input, select, textarea",i),e.on("submit",i)}e.data("bhubValidate",t),e[0].bhubValidate={valid:function(){return t.valid()},form:function(){return t.form()},checkForm:function(){return t.checkForm()},validator:t},e.bhubValidate=function(){return e.data("bhubValidate").valid()}})};var d=bookingHub;c.fn.bhubBlock=function(){return this.each(function(){var e=c(this);e.append(d.loader),e.css({pointerEvents:"none",userSelect:"none"}).addClass("bhub-blocked")})},c.fn.bhubUnBlock=function(){return this.each(function(){var e=c(this);e.find(".bhub-loader").remove(),e.css({pointerEvents:"",userSelect:""}).removeClass("bhub-blocked")})},c.fn.bhubBlockButton=function(){return this.each(function(){var e=c(this);e.prop("disabled",!0),e.css({pointerEvents:"none",userSelect:"none",width:e.outerWidth(),height:e.outerHeight(),flex:"0 0 auto"}).addClass("bhub-blocked-button"),e.wrapInner('<div class="bhub-blocked-button-contents"></div>'),e.find(".bhub-blocked-button-contents").hide(),e.append(d.loader)})},c.fn.bhubUnBlockButton=function(){return this.each(function(){var e=c(this);e.prop("disabled",!1),e.css({pointerEvents:"",userSelect:"",width:"",height:"",flex:""}).removeClass("bhub-blocked-button"),e.find(".bhub-loader").remove(),e.find(".bhub-blocked-button-contents").contents().unwrap()})},c.fn.bhubAddAlert=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success";return this.each(function(){c(this).prepend('<div class="bhub-alert bhub-alert--'.concat(t,'">').concat(e,"</div>"))})},c.fn.bhubRemoveAlert=function(){return this.each(function(){c(this).find(".bhub-alert").remove()})},c.validator.addMethod("bhubValidPhone",function(e,t){return!!this.optional(t)||/^\d+$/.test(e.replace(/\s+/g,""))&&bhubIti.isValidNumber(e)}),c(document).on("click",".bhub-accordion-heading",function(){c(this).find(".expander").toggleClass("expanded"),c(this).next(".bhub-accordion-content").slideToggle(),c(this).parent().siblings().find(".bhub-accordion-content").slideUp(),c(this).parent().siblings().find(".expander").removeClass("expanded")}),c(document).on("click",".bhub-switch",function(){var e=c(this),t=c(this).find("input");t.val("1"===t.val()?"0":"1"),t.trigger("change"),e.toggleClass("bhub-c
2hecked")}),c(document).on("click",".bhub-choose .bhub-choose-item",function(){var e=c(this),t=c(this).find("input");e.siblings().removeClass("bhub-checked").find('input[type="radio"]').prop("checked",!1),e.addClass("bhub-checked"),t.prop("checked",!0),t.trigger("change")}),c(document).on("click",".bhub-radio .bhub-radio-item",function(){var e=c(this),t=c(this).find("input");e.siblings().removeClass("bhub-checked").find('input[type="radio"]').prop("checked",!1),e.addClass("bhub-checked"),t.prop("checked",!0),t.trigger("change")}),c(".bhub-wp-tabs .nav-tab-wrapper a").on("click",function(e){var t=c(this).attr("href"),n=c(this).closest(".bhub-wp-tabs");n.find(".tab-content").removeClass("bhub-active"),c(t).addClass("bhub-active"),n.find(".nav-tab").removeClass("nav-tab-active"),c(this).addClass("nav-tab-active"),e.preventDefault()});var u=bookingHub,h=function(e){return new Promise(function(t,n){e||n();var i=e.querySelectorAll("[data-bhub-pdf-button]");i.length&&i.forEach(function(e){e.addEventListener("click",function(n){n.preventDefault();var i=e.getAttribute("data-booking-db-id");c.ajax({url:u.ajaxUrl,method:"POST",xhrFields:{responseType:"blob"},data:{action:"bhub/pdf/generate",_ajax_nonce:u.nonce,bookingId:i},success:function(e){var n=document.createElement("a"),i=new Blob([e],{type:"application/pdf"});n.href=URL.createObjectURL(i),n.target="_blank",n.click(),n.remove(),t()}})})})})};var f=bookingHub;c(document).on("click","[data-bhub-cancel-booking]",function(){var e=c(this),t=1*e.data("bhub-cancel-booking"),n=f.user.canCancelBooking,i=n?f.modal.cancelBooking.title:f.modal.cancelBookingRequest.title,r=n?f.modal.cancelBooking.content:f.modal.cancelBookingRequest.content,s=n?f.modal.cancelBooking.button:f.modal.cancelBookingRequest.button,o=c.confirm({theme:"bhub-dialog",closeIcon:!0,closeIconClass:"bhub-icons-close",draggable:!1,backgroundDismiss:!0,escapeKey:!0,animateFromElement:!1,animationSpeed:300,animation:"zoom",closeAnimation:"zoom",useBootstrap:!1,onContentReady:function(){this.$content.find(".bhub-framework-onload").booking_hub_framework_reload_script()},content:r,title:i,buttons:{cancel:{text:f.i18n.cancel,btnClass:"bhub-button bhub-button--plain",action:function(){o.close()}},delete:{text:s,btnClass:"bhub-button",action:function(){var n=c(".bhub-cancel-booking-reason-form");if(!n.valid())return f.notyf.error(f.i18n.fillRequiredFields),!1;c.ajax({url:f.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/bookings/status/cancel",_ajax_nonce:f.nonce,form:n.serialize(),id:t},beforeSend:function(){e.bhubBlockButton()},success:function(t){var n=t.data,i=t.success;e.parent().prepend(n.user_message),i&&e.remove(),f.notyf.success(n.message)},complete:function(){e.bhubUnBlockButton()}}),o.close()}}}})});var m=document.querySelector(".bhub-invoice");m&&h(m),c(document).on("submit",".bhub-user-login-form form",function(e){e.preventDefault();var t=c(this).find('button[type="submit"]'),n=c(this).find("#bhub_login").val(),i=c(this).find("#bhub_login_log").val(),r=c(this).find("#bhub_login_pwd").val(),s=c(this).parent();s.find(".bhub-user-login-form--error").remove(),c.ajax({url:bookingHub.ajaxUrl,type:"POST",data:{action:"bhub_user_login",bhub_login:n,log:i,pwd:r},beforeSend:function(){t.prop("disabled",!0),t.addClass("loading"),t.append(bookingHub.loader),t.find(".bhub-loader").css({"--bhub-loader-color":"white","--bhub-loader-size":"16px"})},success:function(e){e.success?e.data.redirect?window.location.href=e.data.redirect:window.location.reload():s.append(e.data.message),t.find(".bhub-loader").remove(),t.prop("disabled",!1)}})}),c(document).on("click",".bhub-user-login-form--auth-profile",function(){var e=c(this).data("user");c(".bhub-user-login-form--auth-profile").removeClass("bhub-active"),c(this).addClass("bhub-active"),c("#bhub_login_log").val(e.user),c("#bhub_login_pwd").val(e.pass)}),c(window).on("load",function(){var e=new URLSearchParams(window.location.search),t=parseInt(e.get("user"),10);if(!isNaN(t)&&t>0){var n=c(".bhub-user-login-form--auth-profile").eq(t-1);n.length&&n.trigger("click")}}),c(document).on("click",".bhub-show-password",function(){var e=c("#bhub_login_pwd");"text"===e.attr("type")?(e.attr("type","password"),c(this).removeClass("bhub-active")):(e.attr("type","text"),c(this).addClass("bhub-active"))}),c(document).on("click",".bhub-event-detail",function(e){e.preventDefault();var t=c(this).attr("data-id");c.confirm({theme:"bhub-drawer",closeIcon:!0,draggable:!1,backgroundDismiss:!0,escapeKey:!0,animateFromElement:!1,animationSpeed:300,animation:"right",closeAnimation:"right",useBootstrap:!1,buttons:!1,scrollToPreviousElement:!1,onContentReady:function(){h(c(".bhub-invoice")[0]),this.$body.closest(".
2jconfirm").find(".jconfirm-buttons").remove(),c(document).on("click",".bhub-copy-shortcode",function(){var e=c(this).prev("input"),t=c(this).attr("data-parent");t&&(e=c(this).closest(".".concat(t)).find("input")),e.select(),document.execCommand("copy");var n=c(this).find("i"),i=n.attr("class");n.attr("class","bhub-icons-check"),setTimeout(function(){n.attr("class",i)},2e3)})},content:function(){var e=this;return c.ajax({type:"POST",url:ajaxurl,data:{action:"bhub/templates/modal",template:"event_detail",post_id:t,_ajax_nonce:bookingHub.nonce}}).done(function(t){e.setTitle(t.title),e.setContent(t.content)}).fail(function(){e.setContent(bookingHub.i18n.basic_error)})}})}),c(document).on("click",[".post-type-bhub_booking",".post-type-bhub_booking_form",".post-type-bhub_coupon",".taxonomy-bhub_service_category",".taxonomy-bhub_product_feature",".taxonomy-bhub_location",".taxonomy-bhub_service"].map(function(e){return"".concat(e," a.row-title")}).join(", "),function(e){e.preventDefault()});var p=AirDatepicker;var g=c(".bhub-ai-chatbot-widget"),y=g.find(".bhub-ai-chatbot-widget--chat"),_=g.find(".bhub-ai-chatbot-widget--message-list"),b=g.find(".bhub-ai-chatbot-widget--messages"),v=g.find(".bhub-ai-chatbot-widget--form"),w=g.find(".bhub-ai-chatbot-widget--quick-actions"),k=bookingHub;c(document).on("click",".bhub-ai-chatbot-widget--trigger",function(){var e=c(this);g.toggleClass("bhub-active"),y.toggleClass("bhub-active"),e.toggleClass("bhub-active"),e.closest(".bhub-ai-chatbot-widget").find(".bhub-ai-chatbot-widget--bubble-text").remove(),e.hasClass("bhub-loaded")||(T(),jQuery.post(bookingHub.ajaxUrl,{action:"bhub/chatbot/get/chat",nonce:bookingHub.nonce},function(t){t.chat_history?(y.toggleClass("bhub-active-list"),_.append(t.output)):(v.attr("data-id",t.chat_id),b.append(t.output)),T(),e.addClass("bhub-loaded")}))}),c(document).on("click",".bhub-ai-chatbot-widget--message-list--item",function(){var e=c(this).attr("data-id");b.empty(),T(),w.removeClass("bhub-active"),v.attr("data-id",e),jQuery.post(bookingHub.ajaxUrl,{action:"bhub/chatbot/get/chat",chat_id:e,nonce:bookingHub.nonce},function(e){y.toggleClass("bhub-active-list"),b.append(e.output),b.scrollTop(b[0].scrollHeight-b[0].clientHeight),T()})}),c(document).on("click",".bhub-ai-chatbot-widget--close",function(){y.toggleClass("bhub-active-list"),w.removeClass("bhub-active"),T(),jQuery.post(k.ajaxUrl,{action:"bhub/chatbot/get/chat",nonce:k.nonce},function(e){_.empty(),_.append(e.output),T()})}),c(document).on("click",".bhub-ai-chatbot-widget--close-chat",function(){y.removeClass("bhub-active"),g.removeClass("bhub-active"),g.find(".bhub-ai-chatbot-widget--trigger").removeClass("bhub-active")}),c(document).on("click",".bhub-ai-chatbot-widget--start-new-chat",function(e){b.empty(),y.removeClass("bhub-active-list"),T(),jQuery.post(bookingHub.ajaxUrl,{action:"bhub/chatbot/new/chat",nonce:bookingHub.nonce},function(e){if(e.error)return bookingHub.notyf.error(e.message),!1;v.attr("data-id",e.chat_id),b.append(e.output),_.append(e.output_list),b.scrollTop(b[0].scrollHeight-b[0].clientHeight),T()}),e.preventDefault()}),c(document).on("submit",".bhub-ai-chatbot-widget .bhub-ai-chatbot-widget--form",function(e){var t=c(this);t.addClass("bhub-is-working");var n=t.attr("data-id"),i=b,r=t.find("#prompt").val(),s=t.find("#prompt").attr("data-next");t.find("#prompt").val("");var o=Date.now();w.removeClass("bhub-active"),s||i.append('<div class="bhub-ai-chatbot-widget--messages--message">'.concat(r,'</div><time class="bhub-ai-chatbot-widget--messages--message-time" datetime="').concat(M(),'">').concat(bookingHub.i18n.nowStr,"</time>")),t.find("#prompt").removeAttr("data-next"),i.scrollTop(i[0].scrollHeight-i[0].clientHeight),jQuery.post(bookingHub.ajaxUrl,{action:"bhub/chatbot/get/chat_data",chat_id:n,nonce:bookingHub.nonce},function(e){if(e.error)return bookingHub.notyf.error(e.message),i.append('<div class="bhub-ai-chatbot-widget--messages--message ai text-'.concat(o,'">').concat(e.message,'</div><time class="bhub-ai-chatbot-widget--messages--message-time ai" datetime="').concat(M(),'">').concat(bookingHub.i18n.nowStr,"</time>")),i.scrollTop(i[0].scrollHeight-i[0].clientHeight),!1;i.append('<div class="bhub-ai-chatbot-widget--messages--message ai text-'.concat(o,'"><div class="bhub-ai-chatbot-widget--messages--message--loader"></div></div><time class="bhub-ai-chatbot-widget--messages--message-time ai" datetime="').concat(M(),'">').concat(bookingHub.i18n.nowStr,"</time>")),i.scrollTop(i[0].scrollHeight-i[0].clientHeight),function(e,t,n,i,r){var s=t.find(".bhub-ai-chatbot-widget--messages--message.text-"+n),o=t.parent().find(".bhub-ai-chatbot-widget--quick-actions--list");jQuery.post(bookingHub.ajaxUrl,{action:"bhub/chatbot/completions",chat_id:r,prompt:e,nonce:bookingHub.nonce},function(e){if(e.success){if(s.html(e.data.message),e.data.nextStep){var n=s.closest(".bhub-ai-chatbot-widget--chat").find(".bhub-ai-chatbot-widget--form");return n.find("#prompt").attr("data-next","true"),n.find("#prompt").val("Next Step"),n.trigger("submit"),!1}if(""!=e.data.actions&&(o.html(e.data.actions),w.addClass("bhub-active")),e.data.dateRangePicker){var i=c(".bhub-date-picker"),r=e.data.dateRangePicker;jQuery.post(bookingHub.ajaxUrl,{action:"bhub/chatbot/get_date_collect",service_name:i.attr("data-service"),room_name:i.attr("data-room"),nonce:bookingHub.nonce},function(e){console.log("collect:",e),s.append(r);e.data.service_id,(new Date).toISOString().slice(0,10);var t=e.data.disabledDays&&e.data.disabledDays.map(function(e){return new Date(e)});c(".bhub-daterange-picker").each(function(){new p(this,{classes:"bhub-airdatepicker",locale:k.calendar.i18n,dateFormat:"yyyy-MM-dd",autoClose:!0,firstDay:1*bookingHub.firstDayOfTheWeek,range:!0,toggleSelected:!1,dynamicRange:!1,showOtherMonths:!1,selectOtherMonths:!1,fixedHeight:!0,minDate:new Date,onRenderCell:function(e){var n=e.date,i=e.cellType,r=e.datepicker;if("day"===i&&n.getMonth()===r.viewDate.getMonth())return t.some(function(e){return n.toLocaleDateString()===e.toLocaleDateString()})?{disabled:!0}:void 0},onSelect:function(e){e.formattedDate,e.datepicker,e.date},buttons:[{content:function(){return bookingHub.i18n.todayStr},onClick:function(e){var t=new Date;
2e.isDateDisabled(t)?e.setViewDate(new Date):e.selectDate(t)}}]})})})}t.scrollTop(t[0].scrollHeight-t[0].clientHeight)}else bookingHub.notyf.error(e.data.message)})}(r,i,o,e.data,n)}),e.preventDefault()}),c(document).on("click",".bhub-ai-chatbot-widget--quick-actions--button",function(){var e=c(this).attr("data-prompt"),t=c(this).closest(".bhub-ai-chatbot-widget--chat").find(".bhub-ai-chatbot-widget--form");t.find("#prompt").val(e),t.trigger("submit")}),c(document).on("click",".bhub-chatbot-confirm-date",function(){var e=c(this).closest(".bhub-ai-chatbot-widget--chat").find(".bhub-ai-chatbot-widget--form"),t=c(this).closest(".bhub-form"),n=t.find("#bhub-date-picker").val(),i=t.find("#bhub-hours-picker").val(),r="Date: ".concat(n," - Hours: ").concat(i);e.find("#prompt").val(r),e.trigger("submit")}),c(document).on("click",".bhub-chatbot-confirm-daterange",function(){var e=c(this).closest(".bhub-ai-chatbot-widget--chat").find(".bhub-ai-chatbot-widget--form"),t=c(this).closest(".bhub-form").find(".bhub-daterange-picker").val();console.log(t),e.find("#prompt").val(t),e.trigger("submit")});function T(){g.toggleClass("bhub-is-loading")}function M(){var e=new Date,t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),r=String(e.getHours()).padStart(2,"0"),s=String(e.getMinutes()).padStart(2,"0"),o=String(e.getSeconds()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(i," ").concat(r,":").concat(s,":").concat(o)}document.addEventListener("click",function(e){document.querySelectorAll(".bhub-dropdown-menu").forEach(function(t){t.contains(e.target)||t.removeAttribute("open")})}),c(document).on("submit",".bhub-service-product-listing-search",function(e){e.preventDefault();var t=c(this),n=t.next(".bhub-service-product-listing");c.ajax({url:bookingHub.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/service_product_list/filter",form:t.serialize(),nonce:t.find("#nonce").val()},beforeSend:function(){},success:function(e){e.success?n.html(e.data.html):bookingHub.notyf.error(e.data.message)}})});var L=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e){var t=e.exports=function(e,n){if(n||(n=16),void 0===e&&(e=128),e<=0)return"0";for(var i=Math.log(Math.pow(2,e))/Math.log(n),r=2;i===1/0;r*=2)i=Math.log(Math.pow(2,e/r))/Math.log(n)*r;var s=i-Math.floor(i),o="";for(r=0;r<Math.floor(i);r++){o=Math.floor(Math.random()*n).toString(n)+o}if(s){var a=Math.pow(n,s);o=Math.floor(Math.random()*a).toString(n)+o}var l=parseInt(o,n);return l!==1/0&&l>=Math.pow(2,e)?t(e,n):o};t.rack=function(e,n,i){var r=function(r){var o=0;do{if(o++>10){if(!i)throw new Error("too many ID collisions, use more bits");e+=i}var a=t(e,n)}while(Object.hasOwnProperty.call(s,a));return s[a]=r,a},s=r.hats={};return r.get=function(e){return r.hats[e]},r.set=function(e,t){return r.hats[e]=t,r},r.bits=e||128,r.base=n||16,r}});function S(e){if(!(this instanceof S))return new S(e);e=e||[128,36,1],this._seed=e.length?L.rack(e[0],e[1],e[2]):e}S.prototype.next=function(e){return this._seed(e||!0)},S.prototype.nextPrefixed=function(e,t){var n;do{n=e+this.next(!0)}while(this.assigned(n));return this.claim(n,t),n},S.prototype.claim=function(e,t){this._seed.set(e,t||!0)},S.prototype.assigned=function(e){return this._seed.get(e)||!1},S.prototype.unclaim=function(e){delete this._seed.hats[e]},S.prototype.clear=function(){var e,t=this._seed.hats;for(e in t)this.unclaim(e)};var x=S;const O=Object.prototype.toString,D=Object.prototype.hasOwnProperty;function Y(e){return void 0===e}function A(e){return void 0!==e}function C(e){return null==e}function E(e){return"[object Array]"===O.call(e)}function I(e){return"[object Object]"===O.call(e)}function P(e){return"[object Number]"===O.call(e)}function N(e){const t=O.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function R(e){return"[object String]"===O.call(e)}function z(e,t){return!C(e)&&D.call(e,t)}function H(e,t){let n,i;if(Y(e))return;const r=E(e)?q:Z;for(let s in e)if(z(e,s)&&(n=e[s],i=t(n,r(s)),!1===i))return n}function j(e,t,n){return H(e,function(e,i){n=t(n,e,i)}),n}function F(e,t){return!!function(e,t){const n=V(t);let i;return H(e,function(e,t){if(n(e,t))return i=e,!1}),i}(e,t)}function B(e,t){let n=[];return H(e,function(e,i){n.push(t(e,i))}),n}function $(e,t,n={}){return t=U(t),H(e,function(e){let i=t(e)||"_",r=n[i];r||(r=n[i]=[]),r.push(e)}),n}function W(e,...t){e=U(e);let n={};return H(t,t=>$(t,e,n)),B(n,function(e,t){return e[0]})}function U(e){return N(e)?e:t=>t[e]}function V(e){return N(e)?e:t=>t===e}function Z(e){return e}function q(e){return Number(e)}function Q(e,t,n){let i=e;return H(t,function(e,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let s=t[r+1],o=i[e];A(s)&&C(o)&&(o=i[e]=isNaN(+s)?{}:[]),Y(s)?Y(n)?delete i[e]:i[e]=n:i=o}),e}
vendor: 4,344 bytes, line 2
2function X(e,t,n){let i=e;return H(t,function(e){if(C(i))return i=void 0,!1;i=i[e]}),Y(i)?n:i}var G=1e6,K=1e6,J="[big.js] ",ee=J+"Invalid ",te=ee+"decimal places",ne=ee+"rounding mode",ie=J+"Division by zero",re={},se=void 0,oe=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function ae(e,t,n,i){var r=e.c;if(n===se&&(n=e.constructor.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error(ne);if(t<1)i=3===n&&(i||!!r[0])||0===t&&(1===n&&r[0]>=5||2===n&&(r[0]>5||5===r[0]&&(i||r[1]!==se))),r.length=1,i?(e.e=e.e-t+1,r[0]=1):r[0]=e.e=0;else if(t<r.length){if(i=1===n&&r[t]>=5||2===n&&(r[t]>5||5===r[t]&&(i||r[t+1]!==se||1&r[t-1]))||3===n&&(i||!!r[0]),r.length=t,i)for(;++r[--t]>9;)if(r[t]=0,0===t){++e.e,r.unshift(1);break}for(t=r.length;!r[--t];)r.pop()}return e}function le(e,t,n){var i=e.e,r=e.c.join(""),s=r.length;if(t)r=r.charAt(0)+(s>1?"."+r.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)r="0"+r;r="0."+r}else if(i>0)if(++i>s)for(i-=s;i--;)r+="0";else i<s&&(r=r.slice(0,i)+"."+r.slice(i));else s>1&&(r=r.charAt(0)+"."+r.slice(1));return e.s<0&&n?"-"+r:r}re.abs=function(){var e=new this.constructor(this);return e.s=1,e},re.cmp=function(e){var t,n=this,i=n.c,r=(e=new n.constructor(e)).c,s=n.s,o=e.s,a=n.e,l=e.e;if(!i[0]||!r[0])return i[0]?s:r[0]?-o:0;if(s!=o)return s;if(t=s<0,a!=l)return a>l^t?1:-1;for(o=(a=i.length)<(l=r.length)?a:l,s=-1;++s<o;)if(i[s]!=r[s])return i[s]>r[s]^t?1:-1;return a==l?0:a>l^t?1:-1},re.div=function(e){var t=this,n=t.constructor,i=t.c,r=(e=new n(e)).c,s=t.s==e.s?1:-1,o=n.DP;if(o!==~~o||o<0||o>G)throw Error(te);if(!r[0])throw Error(ie);if(!i[0])return e.s=s,e.c=[e.e=0],e;var a,l,c,d,u,h=r.slice(),f=a=r.length,m=i.length,p=i.slice(0,a),g=p.length,y=e,_=y.c=[],b=0,v=o+(y.e=t.e-e.e)+1;for(y.s=s,s=v<0?0:v,h.unshift(0);g++<a;)p.push(0);do{for(c=0;c<10;c++){if(a!=(g=p.length))d=a>g?1:-1;else for(u=-1,d=0;++u<a;)if(r[u]!=p[u]){d=r[u]>p[u]?1:-1;break}if(!(d<0))break;for(l=g==a?r:h;g;){if(p[--g]<l[g]){for(u=g;u&&!p[--u];)p[u]=9;--p[u],p[g]+=10}p[g]-=l[g]}for(;!p[0];)p.shift()}_[b++]=d?c:++c,p[0]&&d?p[g]=i[f]||0:p=[i[f]]}while((f++<m||p[0]!==se)&&s--);return _[0]||1==b||(_.shift(),y.e--,v--),b>v&&ae(y,v,n.RM,p[0]!==se),y},re.eq=function(e){return 0===this.cmp(e)},re.gt=function(e){return this.cmp(e)>0},re.gte=function(e){return this.cmp(e)>-1},re.lt=function(e){return this.cmp(e)<0},re.lte=function(e){return this.cmp(e)<1},re.minus=re.sub=function(e){var t,n,i,r,s=this,o=s.constructor,a=s.s,l=(e=new o(e)).s;if(a!=l)return e.s=-l,s.plus(e);var c=s.c.slice(),d=s.e,u=e.c,h=e.e;if(!c[0]||!u[0])return u[0]?e.s=-l:c[0]?e=new o(s):e.s=1,e;if(a=d-h){for((r=a<0)?(a=-a,i=c):(h=d,i=u),i.reverse(),l=a;l--;)i.push(0);i.reverse()}else for(n=((r=c.length<u.length)?c:u).length,a=l=0;l<n;l++)if(c[l]!=u[l]){r=c[l]<u[l];break}if(r&&(i=c,c=u,u=i,e.s=-e.s),(l=(n=u.length)-(t=c.length))>0)for(;l--;)c[t++]=0;for(l=t;n>a;){if(c[--n]<u[n]){for(t=n;t&&!c[--t];)c[t]=9;--c[t],c[n]+=10}c[n]-=u[n]}for(;0===c[--l];)c.pop();for(;0===c[0];)c.shift(),--h;return c[0]||(e.s=1,c=[h=0]),e.c=c,e.e=h,e},re.mod=function(e){var t,n=this,i=n.constructor,r=n.s,s=(e=new i(e)).s;if(!e.c[0])throw Error(ie);return n.s=e.s=1,t=1==e.cmp(n),n.s=r,e.s=s,t?new i(n):(r=i.DP,s=i.RM,i.DP=i.RM=0,n=n.div(e),i.DP=r,i.RM=s,this.minus(n.times(e)))},re.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},re.plus=re.add=function(e){var t,n,i,r=this,s=r.constructor;if(e=new s(e),r.s!=e.s)return e.s=-e.s,r.minus(e);var o=r.e,a=r.c,l=e.e,c=e.c;if(!a[0]||!c[0])return c[0]||(a[0]?e=new s(r):e.s=r.s),e;if(a=a.slice(),t=o-l){for(t>0?(l=o,i=c):(t=-t,i=a),i.reverse();t--;)i.push(0);i.reverse()}for(a.length-c.length<0&&(i=c,c=a,a=i),t=c.length,n=0;t;a[t]%=10)n=(a[--t]=a[t]+c[t]+n)/10|0;for(n&&(a.unshift(n),++l),t=a.length;0===a[--t];)a.pop();return e.c=a,e.e=l,e},re.pow=function(e){var t=this,n=new t.constructor("1"),i=n,r=e<0;if(e!==~~e||e<-1e6||e>K)throw Error(ee+"exponent");for(r&&(e=-e);1&e&&(i=i.times(t)),e>>=1;)t=t.times(t);return r?n.div(i):i},re.prec=function(e,t){if(e!==~~e||e<1||e>G)throw Error(ee+"precision");return ae(new this.constructor(this),e,t)},re.round=function(e,t){if(e===se)e=0;else if(e!==~~e||e<-G||e>G)throw Error(te);return ae(new this.constructor(this),e+this.e+1,t)},re.sqrt=function(){var e,t,n,i=this,r=i.constructor,s=i.s,o=i.e,a=new r("0.5");if(!i.c[0])return new r(i);if(s<0)throw Error(J+"No square root");
20===(s=Math.sqrt(+le(i,!0,!0)))||s===1/0?((t=i.c.join("")).length+o&1||(t+="0"),o=((o+1)/2|0)-(o<0||1&o),e=new r(((s=Math.sqrt(t))==1/0?"5e":(s=s.toExponential()).slice(0,s.indexOf("e")+1))+o)):e=new r(s+""),o=e.e+(r.DP+=4);do{n=e,e=a.times(n.plus(i.div(n)))}while(n.c.slice(0,o).join("")!==e.c.slice(0,o).join(""));return ae(e,(r.DP-=4)+e.e+1,r.RM)},re.times=re.mul=function(e){var t,n=this,i=n.constructor,r=n.c,s=(e=new i(e)).c,o=r.length,a=s.length,l=n.e,c=e.e;if(e.s=n.s==e.s?1:-1,!r[0]||!s[0])return e.c=[e.e=0],e;for(e.e=l+c,o<a&&(t=r,r=s,s=t,c=o,o=a,a=c),t=new Array(c=o+a);c--;)t[c]=0;for(l=a;l--;){for(a=0,c=o+l;c>l;)a=t[c]+s[l]*r[c-l-1]+a,t[c--]=a%10,a=a/10|0;t[c]=a}for(a?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},re.toExponential=function(e,t){var n=this,i=n.c[0];if(e!==se){if(e!==~~e||e<0||e>G)throw Error(te);for(n=ae(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return le(n,!0,!!i)},re.toFixed=function(e,t){var n=this,i=n.c[0];if(e!==se){if(e!==~~e||e<0||e>G)throw Error(te);for(e=e+(n=ae(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return le(n,!1,!!i)},re.toJSON=re.toString=function(){var e=this,t=e.constructor;return le(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},"undefined"!=typeof Symbol&&(re[Symbol.for("nodejs.util.inspect.custom")]=re.toJSON),re.toNumber=function(){var e=+le(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(J+"Imprecise conversion");return e},re.toPrecision=function(e,t){var n=this,i=n.constructor,r=n.c[0];if(e!==se){if(e!==~~e||e<1||e>G)throw Error(ee+"precision");for(n=ae(new i(n),e,t);n.c.length<e;)n.c.push(0)}return le(n,e<=n.e||n.e<=i.NE||n.e>=i.PE,!!r)},re.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(J+"valueOf disallowed");return le(e,e.e<=t.NE||e.e>=t.PE,!0)};var ce,de,ue,he,fe,me,pe,ge,ye,_e,be,ve,we=function e(){function t(n){var i=this;if(!(i instanceof t))return n===se&&0===arguments.length?e():new t(n);if(n instanceof t)i.s=n.s,i.e=n.e,i.c=n.c.slice();else{if("string"!=typeof n){if(!0===t.strict&&"bigint"!=typeof n)throw TypeError(ee+"value");n=0===n&&1/n<0?"-0":String(n)}!function(e,t){var n,i,r;if(!oe.test(t))throw Error(ee+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".",""));(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length);for(r=t.length,i=0;i<r&&"0"==t.charAt(i);)++i;if(i==r)e.c=[e.e=0];else{for(;r>0&&"0"==t.charAt(--r););for(e.e=n-i-1,e.c=[],n=0;i<=r;)e.c[n++]=+t.charAt(i++)}}(i,n)}i.constructor=t}return t.prototype=re,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}(),ke=we,Te=n(6942),Me=n.n(Te),Le={},Se=[],xe=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Oe=Array.isArray;function De(e,t){for(var n in t)e[n]=t[n];return e}function Ye(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Ae(e,t,n){var i,r,s,o={};for(s in t)"key"==s?i=t[s]:"ref"==s?r=t[s]:o[s]=t[s];if(arguments.length>2&&(o.children=arguments.length>3?ce.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===o[s]&&(o[s]=e.defaultProps[s]);return Ce(e,o,i,r,null)}function Ce(e,t,n,i,r){var s={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++ue:r,__i:-1,__u:0};return null==r&&null!=de.vnode&&de.vnode(s),s}function Ee(e){return e.children}function Ie(e,t){this.props=e,this.context=t}function Pe(e,t){if(null==t)return e.__?Pe(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Pe(e):null}function Ne(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Ne(e)}}function Re(e){(!e.__d&&(e.__d=!0)&&he.push(e)&&!ze.__r++||fe!=de.debounceRendering)&&((fe=de.debounceRendering)||me)(ze)}function ze(){for(var e,t,n,i,r,s,o,a=1;he.length;)he.length>a&&he.sort(pe),e=he.shift(),a=he.length,e.__d&&(n=void 0,i=void 0,r=(i=(t=e).__v).__e,s=[],o=[],t.__P&&((n=De({},i)).__v=i.__v+1,de.vnode&&de.vnode(n),Ze(t.__P,n,i,t.__n,t.__P.namespaceURI,32&i.__u?[r]:null,s,null==r?Pe(i):r,!!(32&i.__u),o),n.__v=i.__v,n.__.__k[n.__i]=n,Qe(s,n,o),i.__e=i.__=null,n.__e!=r&&Ne(n)));ze.__r=0}function He(e,t,n,i,r,s,o,a,l,c,d){var u,h,f,m,p,g,y,_=i&&i.__k||Se,b=t.length;for(l=je(n,t,_,l,b),u=0;u<b;u++)null!=(f=n.__k[u])&&(h=-1==f.__i?Le:_[f.__i]||Le,f.__i=u,g=Ze(e,f,h,r,s,o,a,l,c,d),m=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&Ke(h.ref,null,f),d.push(f.ref,f.__c||m,f)),null==p&&null!=m&&(p=m),(y=!!(4&f.__u))||h.__k===f.__k?l=Fe(f,l,e,y):"function"==typeof f.type&&void 0!==g?l=g:m&&(l=m.nextSibling),f.__u&=-7);return n.__e=p,l}function je(e,t,n,i,r){var s,o,a,l,c,d=n.length,u=d,h=0;for(e.__k=new Array(r),s=0;s<r;s++)null!=(o=t[s])&&"boolean"!=typeof o&&"function"!=typeof o?("string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?o=e.__k[s]=Ce(null,o,null,null,null):Oe(o)?o=e.__k[s]=Ce(Ee,{children:o},null,null,null):null==o.constructor&&o.__b>0?o=e.__k[s]=Ce(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[s]=o,l=s+h,o.__=e,o.__b=e.__b+1,-1!=(c=o.__i=$e(o,n,l,u))&&(u--,(a=n[c])&&(a.__u|=2)),null==a||null==a.__v?(-1==c&&(r>d?h--:r<d&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=l&&(c==l-1?h--:c==l+1?h++:(c>l?h--:h++,o.__u|=4))):e.__k[s]=null;if(u)for(s=0;s<d;s++)null!=(a=n[s])&&!(2&a.__u)&&(a.__e==i&&(i=Pe(a)),Je(a,a));return i}function Fe(e,t,n,i){var r,s;if("function"==typeof e.type){for(r=e.__k,s=0;r&&s<r.length;s++)r[s]&&(r[s].__=e,t=Fe(r[s],t,n,i));return t}e.__e!=t&&(i&&(t&&e.type&&!t.parentNode&&(t=Pe(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function Be(e,t){return t=t||[],null==e||"boolean"==typeof e||(Oe(e)?e.some(function(e){Be(e,t)}):t.push(e)),t}function $e(e,t,n,i){var r,s,o,a=e.key,l=e.type,c=t[n],d=null!=c&&!(2&c.__u);if(null===c&&null==a||d&&a==c.key&&l==c.type)return n;if(i>(d?1:0))for(r=n-1,s=n+1;r>=0||s<t.length;)if(null!=(c=t[o=r>=0?r--:s++])&&!(2&c.__u)&&a==c.key&&l==c.type)return o;return-1}function We(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||xe.test(t)?n:n+"px"}function Ue(e,t,n,i,r){var s,o;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||We(e.style,t,"");if(n)for(t in n)i&&n[t]==i[t]||We(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])s=t!=(t=t.replace(ge,"$1")),o=t.toLowerCase(),t=o in e||"onFocusOut"==t||"onFocusIn"==t?o.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?i?n.u=i.u:(n.u=ye,e.addEventListener(t,s?be:_e,s)):e.removeEventListener(t,s?be:_e,s);else{if("http://www.w3.org/2000/svg"==r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function Ve(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=ye++;else if(t.t<n.u)return;
vendor: 5,022 bytes, line 2
2return n(de.event?de.event(t):t)}}}function Ze(e,t,n,i,r,s,o,a,l,c){var d,u,h,f,m,p,g,y,_,b,v,w,k,T,M,L,S,x=t.type;if(null!=t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),s=[a=t.__e=n.__e]),(d=de.__b)&&d(t);e:if("function"==typeof x)try{if(y=t.props,_="prototype"in x&&x.prototype.render,b=(d=x.contextType)&&i[d.__c],v=d?b?b.props.value:d.__:i,n.__c?g=(u=t.__c=n.__c).__=u.__E:(_?t.__c=u=new x(y,v):(t.__c=u=new Ie(y,v),u.constructor=x,u.render=et),b&&b.sub(u),u.state||(u.state={}),u.__n=i,h=u.__d=!0,u.__h=[],u._sb=[]),_&&null==u.__s&&(u.__s=u.state),_&&null!=x.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=De({},u.__s)),De(u.__s,x.getDerivedStateFromProps(y,u.__s))),f=u.props,m=u.state,u.__v=t,h)_&&null==x.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),_&&null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(_&&null==x.getDerivedStateFromProps&&y!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(y,v),t.__v==n.__v||!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(y,u.__s,v)){for(t.__v!=n.__v&&(u.props=y,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),w=0;w<u._sb.length;w++)u.__h.push(u._sb[w]);u._sb=[],u.__h.length&&o.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(y,u.__s,v),_&&null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(f,m,p)})}if(u.context=v,u.props=y,u.__P=e,u.__e=!1,k=de.__r,T=0,_){for(u.state=u.__s,u.__d=!1,k&&k(t),d=u.render(u.props,u.state,u.context),M=0;M<u._sb.length;M++)u.__h.push(u._sb[M]);u._sb=[]}else do{u.__d=!1,k&&k(t),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++T<25);u.state=u.__s,null!=u.getChildContext&&(i=De(De({},i),u.getChildContext())),_&&!h&&null!=u.getSnapshotBeforeUpdate&&(p=u.getSnapshotBeforeUpdate(f,m)),L=d,null!=d&&d.type===Ee&&null==d.key&&(L=Xe(d.props.children)),a=He(e,Oe(L)?L:[L],t,n,i,r,s,o,a,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&o.push(u),g&&(u.__E=u.__=null)}catch(e){if(t.__v=null,l||null!=s)if(e.then){for(t.__u|=l?160:128;a&&8==a.nodeType&&a.nextSibling;)a=a.nextSibling;s[s.indexOf(a)]=null,t.__e=a}else{for(S=s.length;S--;)Ye(s[S]);qe(t)}else t.__e=n.__e,t.__k=n.__k,e.then||qe(t);de.__e(e,t,n)}else null==s&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):a=t.__e=Ge(n.__e,t,n,i,r,s,o,l,c);return(d=de.diffed)&&d(t),128&t.__u?void 0:a}function qe(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(qe)}function Qe(e,t,n){for(var i=0;i<n.length;i++)Ke(n[i],n[++i],n[++i]);de.__c&&de.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){de.__e(e,t.__v)}})}function Xe(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:Oe(e)?e.map(Xe):De({},e)}function Ge(e,t,n,i,r,s,o,a,l){var c,d,u,h,f,m,p,g=n.props||Le,y=t.props,_=t.type;if("svg"==_?r="http://www.w3.org/2000/svg":"math"==_?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=s)for(c=0;c<s.length;c++)if((f=s[c])&&"setAttribute"in f==!!_&&(_?f.localName==_:3==f.nodeType)){e=f,s[c]=null;break}if(null==e){if(null==_)return document.createTextNode(y);e=document.createElementNS(r,_,y.is&&y),a&&(de.__m&&de.__m(t,s),a=!1),s=null}if(null==_)g===y||a&&e.data==y||(e.data=y);else{if(s=s&&ce.call(e.childNodes),!a&&null!=s)for(g={},c=0;c<e.attributes.length;c++)g[(f=e.attributes[c]).name]=f.value;for(c in g)if(f=g[c],"children"==c);else if("dangerouslySetInnerHTML"==c)u=f;else if(!(c in y)){if("value"==c&&"defaultValue"in y||"checked"==c&&"defaultChecked"in y)continue;Ue(e,c,null,f,r)}for(c in y)f=y[c],"children"==c?h=f:"dangerouslySetInnerHTML"==c?d=f:"value"==c?m=f:"checked"==c?p=f:a&&"function"!=typeof f||g[c]===f||Ue(e,c,f,g[c],r);if(d)a||u&&(d.__html==u.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(u&&(e.innerHTML=""),He("template"==t.type?e.content:e,Oe(h)?h:[h],t,n,i,"foreignObject"==_?"http://www.w3.org/1999/xhtml":r,s,o,s?s[0]:n.__k&&Pe(n,0),a,l),null!=s)for(c=s.length;c--;)Ye(s[c]);a||(c="value","progress"==_&&null==m?e.removeAttribute("value"):null!=m&&(m!==e[c]||"progress"==_&&!m||"option"==_&&m!=g[c])&&Ue(e,c,m,g[c],r),c="checked",null!=p&&p!=e[c]&&Ue(e,c,p,g[c],r))}return e}function Ke(e,t,n){try{if("function"==typeof e){var i="function"==typeof e.__u;i&&e.__u(),i&&null==t||(e.__u=e(t))}else e.current=t}catch(e){de.__e(e,n)}}function Je(e,t,n){var i,r;if(de.unmount&&de.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||Ke(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){de.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(r=0;r<i.length;r++)i[r]&&Je(i[r],t,n||"function"!=typeof e.type);n||Ye(e.__e),e.__c=e.__=e.__e=void 0}function et(e,t,n){return this.constructor(e,n)}function tt(e,t,n){var i,r,s,o;t==document&&(t=document.documentElement),de.__&&de.__(e,t),r=(i="function"==typeof n)?null:n&&n.__k||t.__k,s=[],o=[],Ze(t,e=(!i&&n||t).__k=Ae(Ee,null,[e]),r||Le,Le,t.namespaceURI,!i&&n?[n]:r?null:t.firstChild?ce.call(t.childNodes):null,
vendor: 1,297 bytes, line 2
2s,!i&&n?n:r?r.__e:t.firstChild,i,o),Qe(s,e,o)}function nt(e){function t(e){var n,i;return this.getChildContext||(n=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,Re(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+ve++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}ce=Se.slice,de={__e:function(e,t,n,i){for(var r,s,o;t=t.__;)if((r=t.__c)&&!r.__)try{if((s=r.constructor)&&null!=s.getDerivedStateFromError&&(r.setState(s.getDerivedStateFromError(e)),o=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),o=r.__d),o)return r.__E=r}catch(t){e=t}throw e}},ue=0,Ie.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=De({},this.state),"function"==typeof e&&(e=e(De({},n),this.props)),e&&De(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Re(this))},Ie.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Re(this))},Ie.prototype.render=Ee,he=[],me="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 4,155 bytes, line 2
2ise.resolve()):setTimeout,pe=function(e,t){return e.__v.__b-t.__v.__b},ze.__r=0,ge=/(PointerCapture)$|Capture$/i,ye=0,_e=Ve(!1),be=Ve(!0),ve=0;var it=0;Array.isArray;function rt(e,t,n,i,r,s){t||(t={});var o,a,l=t;if("ref"in l)for(a in l={},t)"ref"==a?o=t[a]:l[a]=t[a];var c={type:e,props:l,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--it,__i:-1,__u:0,__source:r,__self:s};if("function"==typeof e&&(o=e.defaultProps))for(a in o)void 0===l[a]&&(l[a]=o[a]);return de.vnode&&de.vnode(c),c}var st,ot,at,lt,ct=0,dt=[],ut=de,ht=ut.__b,ft=ut.__r,mt=ut.diffed,pt=ut.__c,gt=ut.unmount,yt=ut.__;function _t(e,t){ut.__h&&ut.__h(ot,e,ct||t),ct=0;var n=ot.__H||(ot.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function bt(e){return ct=1,vt(Et,e)}function vt(e,t,n){var i=_t(st++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):Et(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=ot,!ot.__f)){var r=function(e,t,n){if(!i.__c.__H)return!0;var r=i.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!s||s.call(this,e,t,n);var o=i.__c.props!==e;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),s&&s.call(this,e,t,n)||o};ot.__f=!0;var s=ot.shouldComponentUpdate,o=ot.componentWillUpdate;ot.componentWillUpdate=function(e,t,n){if(this.__e){var i=s;s=void 0,r(e,t,n),s=i}o&&o.call(this,e,t,n)},ot.shouldComponentUpdate=r}return i.__N||i.__}function wt(e,t){var n=_t(st++,3);!ut.__s&&Ct(n.__H,t)&&(n.__=e,n.u=t,ot.__H.__h.push(n))}function kt(e,t){var n=_t(st++,4);!ut.__s&&Ct(n.__H,t)&&(n.__=e,n.u=t,ot.__h.push(n))}function Tt(e){return ct=5,Mt(function(){return{current:e}},[])}function Mt(e,t){var n=_t(st++,7);return Ct(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Lt(e,t){return ct=8,Mt(function(){return e},t)}function St(e){var t=ot.context[e.__c],n=_t(st++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(ot)),t.props.value):e.__}function xt(){for(var e;e=dt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Yt),e.__H.__h.forEach(At),e.__H.__h=[]}catch(t){e.__H.__h=[],ut.__e(t,e.__v)}}ut.__b=function(e){ot=null,ht&&ht(e)},ut.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),yt&&yt(e,t)},ut.__r=function(e){ft&&ft(e),st=0;var t=(ot=e.__c).__H;t&&(at===ot?(t.__h=[],ot.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(Yt),t.__h.forEach(At),t.__h=[],st=0)),at=ot},ut.diffed=function(e){mt&&mt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==dt.push(t)&<===ut.requestAnimationFrame||((lt=ut.requestAnimationFrame)||Dt)(xt)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),at=ot=null},ut.__c=function(e,t){t.some(function(e){try{e.__h.forEach(Yt),e.__h=e.__h.filter(function(e){return!e.__||At(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],ut.__e(n,e.__v)}}),pt&&pt(e,t)},ut.unmount=function(e){gt&>(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{Yt(e)}catch(e){t=e}}),n.__H=void 0,t&&ut.__e(t,n.__v))};var Ot="function"==typeof requestAnimationFrame;function Dt(e){var t,n=function(){clearTimeout(i),Ot&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,35);Ot&&(t=requestAnimationFrame(n))}function Yt(e){var t=ot,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ot=t}function At(e){var t=ot;e.__c=e.__(),ot=t}function Ct(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Et(e,t){return"function"==typeof t?t(e):t}var It=n(2404),Pt=n.n(It);class Nt extends Error{}class Rt extends Nt{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class zt extends Nt{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class Ht extends Nt{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class jt extends Nt{}class Ft extends Nt{constructor(e){super(`Invalid unit ${e}`)}}class Bt extends Nt{}class $t extends Nt{constructor(){super("Zone is an abstract class")}}const Wt="numeric",Ut="short",Vt="long",Zt={year:Wt,month:Wt,day:Wt},qt={year:Wt,month:Ut,day:Wt},Qt={year:Wt,month:Ut,day:Wt,weekday:Ut},Xt={year:Wt,month:Vt,day:Wt}
vendor: 5,496 bytes, line 2
2,Gt={year:Wt,month:Vt,day:Wt,weekday:Vt},Kt={hour:Wt,minute:Wt},Jt={hour:Wt,minute:Wt,second:Wt},en={hour:Wt,minute:Wt,second:Wt,timeZoneName:Ut},tn={hour:Wt,minute:Wt,second:Wt,timeZoneName:Vt},nn={hour:Wt,minute:Wt,hourCycle:"h23"},rn={hour:Wt,minute:Wt,second:Wt,hourCycle:"h23"},sn={hour:Wt,minute:Wt,second:Wt,hourCycle:"h23",timeZoneName:Ut},on={hour:Wt,minute:Wt,second:Wt,hourCycle:"h23",timeZoneName:Vt},an={year:Wt,month:Wt,day:Wt,hour:Wt,minute:Wt},ln={year:Wt,month:Wt,day:Wt,hour:Wt,minute:Wt,second:Wt},cn={year:Wt,month:Ut,day:Wt,hour:Wt,minute:Wt},dn={year:Wt,month:Ut,day:Wt,hour:Wt,minute:Wt,second:Wt},un={year:Wt,month:Ut,day:Wt,weekday:Ut,hour:Wt,minute:Wt},hn={year:Wt,month:Vt,day:Wt,hour:Wt,minute:Wt,timeZoneName:Ut},fn={year:Wt,month:Vt,day:Wt,hour:Wt,minute:Wt,second:Wt,timeZoneName:Ut},mn={year:Wt,month:Vt,day:Wt,weekday:Vt,hour:Wt,minute:Wt,timeZoneName:Vt},pn={year:Wt,month:Vt,day:Wt,weekday:Vt,hour:Wt,minute:Wt,second:Wt,timeZoneName:Vt};class gn{get type(){throw new $t}get name(){throw new $t}get ianaName(){return this.name}get isUniversal(){throw new $t}offsetName(e,t){throw new $t}formatOffset(e,t){throw new $t}offset(e){throw new $t}equals(e){throw new $t}get isValid(){throw new $t}}let yn=null;class _n extends gn{static get instance(){return null===yn&&(yn=new _n),yn}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return zi(e,t,n)}formatOffset(e,t){return Bi(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}const bn=new Map;const vn={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const wn=new Map;class kn extends gn{static create(e){let t=wn.get(e);return void 0===t&&wn.set(e,t=new kn(e)),t}static resetCache(){wn.clear(),bn.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=kn.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return zi(e,t,n,this.name)}formatOffset(e,t){return Bi(this.offset(e),t)}offset(e){if(!this.valid)return NaN;const t=new Date(e);if(isNaN(t))return NaN;const n=function(e){let t=bn.get(e);return void 0===t&&(t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),bn.set(e,t)),t}(this.name);let[i,r,s,o,a,l,c]=n.formatToParts?function(e,t){const n=e.formatToParts(t),i=[];for(let e=0;e<n.length;e++){const{type:t,value:r}=n[e],s=vn[t];"era"===t?i[s]=r:yi(s)||(i[s]=parseInt(r,10))}return i}(n,t):function(e,t){const n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,r,s,o,a,l,c,d]=i;return[o,r,s,a,l,c,d]}(n,t);"BC"===o&&(i=1-Math.abs(i));let d=+t;const u=d%1e3;return d-=u>=0?u:1e3+u,(Ii({year:i,month:r,day:s,hour:24===a?0:a,minute:l,second:c,millisecond:0})-d)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let Tn={};const Mn=new Map;function Ln(e,t={}){const n=JSON.stringify([e,t]);let i=Mn.get(n);return void 0===i&&(i=new Intl.DateTimeFormat(e,t),Mn.set(n,i)),i}const Sn=new Map;const xn=new Map;let On=null;const Dn=new Map;function Yn(e){let t=Dn.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Dn.set(e,t)),t}const An=new Map;function Cn(e,t,n,i){const r=e.listingMode();return"error"===r?null:"en"===r?n(t):i(t)}class En{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:i,floor:r,...s}=n;if(!t||Object.keys(s).length>0){const t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=function(e,t={}){const n=JSON.stringify([e,t]);let i=Sn.get(n);return void 0===i&&(i=new Intl.NumberFormat(e,t),Sn.set(n,i)),i}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return Si(this.floor?Math.floor(e):Yi(e,3),this.padTo)}}class In{constructor(e,t,n){let i;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&kn.create(n).valid?(i=n,this.dt=e):(i="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const r={...this.opts};r.timeZone=r.timeZone||i,this.dtf=Ln(t,r)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pn{constructor(e,t,n){this.opts={style:"long",...n},!t&&vi()&&(this.rtf=function(e,t={}){const{base:n,...i}=t,r=JSON.stringify([e,i]);let s=xn.get(r);return void 0===s&&(s=new Intl.RelativeTimeFormat(e,t),xn.set(r,s)),s}(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n="al
2ways",i=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&s){const n="days"===e;switch(t){case 1:return n?"tomorrow":`next ${r[e][0]}`;case-1:return n?"yesterday":`last ${r[e][0]}`;case 0:return n?"today":`this ${r[e][0]}`}}const o=Object.is(t,-0)||t<0,a=Math.abs(t),l=1===a,c=r[e],d=i?l?c[1]:c[2]||c[1]:l?r[e][0]:e;return o?`${a} ${d} ago`:`in ${a} ${d}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const Nn={firstDay:1,minimalDays:4,weekend:[6,7]};class Rn{static fromOpts(e){return Rn.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,n,i,r=!1){const s=e||ti.defaultLocale,o=s||(r?"en-US":On||(On=(new Intl.DateTimeFormat).resolvedOptions().locale,On)),a=t||ti.defaultNumberingSystem,l=n||ti.defaultOutputCalendar,c=Mi(i)||ti.defaultWeekSettings;return new Rn(o,a,l,c,s)}static resetCache(){On=null,Mn.clear(),Sn.clear(),xn.clear(),Dn.clear(),An.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:n,weekSettings:i}={}){return Rn.create(e,t,n,i)}constructor(e,t,n,i,r){const[s,o,a]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(-1===n)return[e];{let t,i;try{t=Ln(e).resolvedOptions(),i=e}catch(r){const s=e.substring(0,n);t=Ln(s).resolvedOptions(),i=s}const{numberingSystem:r,calendar:s}=t;return[i,r,s]}}(e);this.locale=s,this.numberingSystem=t||o||null,this.outputCalendar=n||a||null,this.weekSettings=i,this.intl=function(e,t,n){return n||t?(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===Yn(e.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?Rn.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Mi(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Cn(this,e,Zi,()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),i=(t&=!n)?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";if(!this.monthsCache[r][e]){const t=n?e=>this.dtFormatter(e,i).format():e=>this.extract(e,i,"month");this.monthsCache[r][e]=function(e){const t=[];for(let n=1;n<=12;n++){const i=Ks.utc(2009,n,1);t.push(e(i))}return t}(t)}return this.monthsCache[r][e]})}weekdays(e,t=!1){return Cn(this,e,Gi,()=>{const n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=function(e){const t=[];for(let n=1;n<=7;n++){const i=Ks.utc(2016,11,13+n);t.push(e(i))}return t}(e=>this.extract(e,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return Cn(this,void 0,()=>Ki,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ks.utc(2016,11,13,9),Ks.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Cn(this,e,nr,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Ks.utc(-40,1,1),Ks.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,n){const i=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===n);return i?i.value:null}numberFormatter(e={}){return new En(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new In(e,this.intl,t)}relFormatter(e={}){return new Pn(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const n=JSON.stringify([e,t]);let i=Tn[n];
vendor: 8,268 bytes, line 2
2return i||(i=new Intl.ListFormat(e,t),Tn[n]=i),i}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Yn(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:wi()?function(e){let t=An.get(e);if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in t||(t={...Nn,...t}),An.set(e,t)}return t}(this.locale):Nn}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let zn=null;class Hn extends gn{static get utcInstance(){return null===zn&&(zn=new Hn(0)),zn}static instance(e){return 0===e?Hn.utcInstance:new Hn(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new Hn(Hi(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bi(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return Bi(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class jn extends gn{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Fn(e,t){if(yi(e)||null===e)return t;if(e instanceof gn)return e;if(function(e){return"string"==typeof e}(e)){const n=e.toLowerCase();return"default"===n?t:"local"===n||"system"===n?_n.instance:"utc"===n||"gmt"===n?Hn.utcInstance:Hn.parseSpecifier(n)||kn.create(e)}return _i(e)?Hn.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new jn(e)}const Bn={arab:"[Ù -Ù©]",arabext:"[Û°-Û¹]",bali:"[á-á]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[ï¼-ï¼]",gujr:"[૦-૯]",hanidec:"[ã|ä¸|äº|ä¸|å|äº|å
|ä¸|å
«|ä¹]",khmr:"[á -á©]",knda:"[೦-೯]",laoo:"[à»-à»]",limb:"[á¥-á¥]",mlym:"[൦-൯]",mong:"[á -á ]",mymr:"[á-á]",orya:"[à¦-à¯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[à¹-à¹]",tibt:"[༠-༩]",latn:"\\d"},$n={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Wn=Bn.hanidec.replace(/[\[|\]]/g,"").split("");const Un=new Map;function Vn({numberingSystem:e},t=""){const n=e||"latn";let i=Un.get(n);void 0===i&&(i=new Map,Un.set(n,i));let r=i.get(t);return void 0===r&&(r=new RegExp(`${Bn[n]}${t}`),i.set(t,r)),r}let Zn,qn=()=>Date.now(),Qn="system",Xn=null,Gn=null,Kn=null,Jn=60,ei=null;class ti{static get now(){return qn}static set now(e){qn=e}static set defaultZone(e){Qn=e}static get defaultZone(){return Fn(Qn,_n.instance)}static get defaultLocale(){return Xn}static set defaultLocale(e){Xn=e}static get defaultNumberingSystem(){return Gn}static set defaultNumberingSystem(e){Gn=e}static get defaultOutputCalendar(){return Kn}static set defaultOutputCalendar(e){Kn=e}static get defaultWeekSettings(){return ei}static set defaultWeekSettings(e){ei=Mi(e)}static get twoDigitCutoffYear(){return Jn}static set twoDigitCutoffYear(e){Jn=e%100}static get throwOnInvalid(){return Zn}static set throwOnInvalid(e){Zn=e}static resetCaches(){Rn.resetCache(),kn.resetCache(),Ks.resetCache(),Un.clear()}}class ni{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ii=[0,31,59,90,120,151,181,212,243,273,304,334],ri=[0,31,60,91,121,152,182,213,244,274,305,335];function si(e,t){return new ni("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function oi(e,t,n){const i=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const r=i.getUTCDay();return 0===r?7:r}function ai(e,t,n){return n+(Ai(e)?ri:ii)[t-1]}function li(e,t){const n=Ai(e)?ri:ii,i=n.findIndex(e=>e<t);return{month:i+1,day:t-n[i]}}function ci(e,t){return(e-t+7)%7+1}function di(e,t=4,n=1){const{year:i,month:r,day:s}=e,o=ai(i,r,s),a=ci(oi(i,r,s),n);let l,c=Math.floor((o-a+14-t)/7);return c<1?(l=i-1,c=Ni(l,t,n)):c>Ni(i,t,n)?(l=i+1,c=1):l=i,{weekYear:l,weekNumber:c,weekday:a,...$i(e)}}function ui(e,t=4,n=1){const{weekYear:i,weekNumber:r,weekday:s}=e,o=ci(oi(i,1,t),n),a=Ci(i);let l,c=7*r+s-o-7+t;c<1?(l=i-1,c+=Ci(l)):c>a?(l=i+1,c-=Ci(i)):l=i;const{month:d,day:u}=li(l,c);return{year:l,month:d,day:u,...$i(e)}}function hi(e){const{year:t,month:n,day:i}=e;return{year:t,ordinal:ai(t,n,i),...$i(e)}}function fi(e){const{year:t,ordinal:n}=e,{month:i,day:r}=li(t,n);return{year:t,month:i,day:r,...$i(e)}}function mi(e,t){if(!yi(e.localWeekday)||!yi(e.localWeekNumber)||!yi(e.localWeekYear)){if(!yi(e.weekday)||!yi(e.weekNumber)||!yi(e.weekYear))throw new jt("Cannot mix locale-based week fields with ISO-based week fields");return yi(e.localWeekday)||(e.weekday=e.localWeekday),yi(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),yi(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function pi(e){const t=bi(e.year),n=Li(e.month,1,12),i=Li(e.day,1,Ei(e.year,e.month));return t?n?!i&&si("day",e.day):si("month",e.month):si("year",e.year)}function gi(e){const{hour:t,minute:n,second:i,millisecond:r}=e,s=Li(t,0,23)||24===t&&0===n&&0===i&&0===r,o=Li(n,0,59),a=Li(i,0,59),l=Li(r,0,999);return s?o?a?!l&&si("millisecond",r):si("second",i):si("minute",n):si("hour",t)}function yi(e){return void 0===e}function _i(e){return"number"==typeof e}function bi(e){return"number"==typeof e&&e%1==0}function vi(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function wi(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function ki(e,t,n){if(0!==e.length)return e.reduce((e,i)=>{const r=[t(i),i];return e&&n(e[0],r[0])===e[0]?e:r},null)[1]}function Ti(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Mi(e){if(null==e)return null;if("object"!=typeof e)throw new Bt("Week settings must be an object");if(!Li(e.firstDay,1,7)||!Li(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Li(e,1,7)))throw new Bt("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Li(e,t,n){return bi(e)&&e>=t&&e<=n}function Si(e,t=2){let n;return n=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),n}function xi(e){return yi(e)||null===e||""===e?void 0:parseInt(e,10)}function Oi(e){return yi(e)||null===e||""===e?void 0:parseFloat(e)}function Di(e){if(!yi(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Yi(e,t,n="round"){const i=10**t;switch(n){case"expand":return e>0?Math.ceil(e*i)/i:Math.floor(e*i)/i;case"trunc":return Math.trunc(e*i)/i;case"round":return Math.round(e*i)/i;case"floor":return Math.floor(e*i)/i;case"ceil":return Math.ceil(e*i)/i;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function Ai(e){return e%4==0&&(e%100!=0||e%400==0)}function Ci(e){return Ai(e)?366:365}function Ei(e,t){const n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?Ai(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Ii(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Pi(e,t,n){return-ci(oi(e,1,t),n)+t-1}
vendor: 6,808 bytes, line 2
2function Ni(e,t=4,n=1){const i=Pi(e,t,n),r=Pi(e+1,t,n);return(Ci(e)-i+r)/7}function Ri(e){return e>99?e:e>ti.twoDigitCutoffYear?1900+e:2e3+e}function zi(e,t,n,i=null){const r=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(s.timeZone=i);const o={timeZoneName:t,...s},a=new Intl.DateTimeFormat(n,o).formatToParts(r).find(e=>"timezonename"===e.type.toLowerCase());return a?a.value:null}function Hi(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const i=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-i:i)}function ji(e){const t=Number(e);if("boolean"==typeof e||""===e||!Number.isFinite(t))throw new Bt(`Invalid unit value ${e}`);return t}function Fi(e,t){const n={};for(const i in e)if(Ti(e,i)){const r=e[i];if(null==r)continue;n[t(i)]=ji(r)}return n}function Bi(e,t){const n=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),r=e>=0?"+":"-";switch(t){case"short":return`${r}${Si(n,2)}:${Si(i,2)}`;case"narrow":return`${r}${n}${i>0?`:${i}`:""}`;case"techie":return`${r}${Si(n,2)}${Si(i,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function $i(e){return function(e,t){return t.reduce((t,n)=>(t[n]=e[n],t),{})}(e,["hour","minute","second","millisecond"])}const Wi=["January","February","March","April","May","June","July","August","September","October","November","December"],Ui=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Vi=["J","F","M","A","M","J","J","A","S","O","N","D"];function Zi(e){switch(e){case"narrow":return[...Vi];case"short":return[...Ui];case"long":return[...Wi];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const qi=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qi=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Xi=["M","T","W","T","F","S","S"];function Gi(e){switch(e){case"narrow":return[...Xi];case"short":return[...Qi];case"long":return[...qi];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ki=["AM","PM"],Ji=["Before Christ","Anno Domini"],er=["BC","AD"],tr=["B","A"];function nr(e){switch(e){case"narrow":return[...tr];case"short":return[...er];case"long":return[...Ji];default:return null}}function ir(e,t){let n="";for(const i of e)i.literal?n+=i.val:n+=t(i.val);return n}const rr={D:Zt,DD:qt,DDD:Xt,DDDD:Gt,t:Kt,tt:Jt,ttt:en,tttt:tn,T:nn,TT:rn,TTT:sn,TTTT:on,f:an,ff:cn,fff:hn,ffff:mn,F:ln,FF:dn,FFF:fn,FFFF:pn};class sr{static create(e,t={}){return new sr(e,t)}static parseFormat(e){let t=null,n="",i=!1;const r=[];for(let s=0;s<e.length;s++){const o=e.charAt(s);"'"===o?((n.length>0||i)&&r.push({literal:i||/^\s+$/.test(n),val:""===n?"'":n}),t=null,n="",i=!i):i||o===t?n+=o:(n.length>0&&r.push({literal:/^\s+$/.test(n),val:n}),n=o,t=o)}return n.length>0&&r.push({literal:i||/^\s+$/.test(n),val:n}),r}static macroTokenToFormatOpts(e){return rr[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return Si(e,t);const i={...this.opts};return t>0&&(i.padTo=t),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,t){const n="en"===this.loc.listingMode(),i=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(t,n)=>this.loc.extract(e,t,n),s=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",o=()=>n?function(e){return Ki[e.hour<12?0:1]}(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(t,i)=>n?function(e,t){return Zi(t)[e.month-1]}(e,t):r(i?{month:t}:{month:t,day:"numeric"},"month"),l=(t,i)=>n?function(e,t){return Gi(t)[e.weekday-1]}(e,t):r(i?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),c=t=>{const n=sr.macroTokenToFormatOpts(t);return n?this.formatWithSystemDefault(e,n):t},d=t=>n?function(e,t){return nr(t)[e.year<0?0:1]}(e,t):r({era:t},"era");return ir(sr.parseFormat(t),t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return i?r({day:"numeric"},"day"):this.num(e.day);case"dd":return i?r({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return i?r({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?r({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return i?r({month:"numeric"},"month"):this.num(e.month);case"MM":return i?r({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return i?r({year:"numeric"},"year"):this.num(e.year);case"yy":return i?r({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?r({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?r({year:"numeric"},"year"):this.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);
vendor: 7,544 bytes, line 2
2case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return c(t)}})}formatDurationFromString(e,t){const n="negativeLargestOnly"===this.opts.signMode?-1:1,i=e=>{switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=sr.parseFormat(t),s=r.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),o=e.shiftTo(...s.map(i).filter(e=>e));return ir(r,((e,t)=>r=>{const s=i(r);if(s){const i=t.isNegativeDuration&&s!==t.largestUnit?n:1;let o;return o="negativeLargestOnly"===this.opts.signMode&&s!==t.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(e.get(s)*i,r.length,o)}return r})(o,{isNegativeDuration:o<0,largestUnit:Object.keys(o.values)[0]}))}}const or=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ar(...e){const t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function lr(...e){return t=>e.reduce(([e,n,i],r)=>{const[s,o,a]=r(t,i);return[{...e,...s},o||n,a]},[{},null,1]).slice(0,2)}function cr(e,...t){if(null==e)return[null,null];for(const[n,i]of t){const t=n.exec(e);if(t)return i(t)}return[null,null]}function dr(...e){return(t,n)=>{const i={};let r;for(r=0;r<e.length;r++)i[e[r]]=xi(t[n+r]);return[i,null,n+r]}}const ur=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,hr=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,fr=RegExp(`${hr.source}${`(?:${ur.source}?(?:\\[(${or.source})\\])?)?`}`),mr=RegExp(`(?:[Tt]${fr.source})?`),pr=dr("weekYear","weekNumber","weekDay"),gr=dr("year","ordinal"),yr=RegExp(`${hr.source} ?(?:${ur.source}|(${or.source}))?`),_r=RegExp(`(?: ${yr.source})?`);function br(e,t,n){const i=e[t];return yi(i)?n:xi(i)}function vr(e,t){return[{hours:br(e,t,0),minutes:br(e,t+1,0),seconds:br(e,t+2,0),milliseconds:Di(e[t+3])},null,t+4]}function wr(e,t){const n=!e[t]&&!e[t+1],i=Hi(e[t+1],e[t+2]);return[{},n?null:Hn.instance(i),t+3]}function kr(e,t){return[{},e[t]?kn.create(e[t]):null,t+1]}const Tr=RegExp(`^T?${hr.source}$`),Mr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Lr(e){const[t,n,i,r,s,o,a,l,c]=e,d="-"===t[0],u=l&&"-"===l[0],h=(e,t=!1)=>void 0!==e&&(t||e&&d)?-e:e;return[{years:h(Oi(n)),months:h(Oi(i)),weeks:h(Oi(r)),days:h(Oi(s)),hours:h(Oi(o)),minutes:h(Oi(a)),seconds:h(Oi(l),"-0"===l),milliseconds:h(Di(c),u)}]}const Sr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xr(e,t,n,i,r,s,o){const a={year:2===t.length?Ri(xi(t)):xi(t),month:Ui.indexOf(n)+1,day:xi(i),hour:xi(r),minute:xi(s)};return o&&(a.second=xi(o)),e&&(a.weekday=e.length>3?qi.indexOf(e)+1:Qi.indexOf(e)+1),a}const Or=/^(?:(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\d)(\d\d)))$/;function Dr(e){const[,t,n,i,r,s,o,a,l,c,d,u]=e,h=xr(t,r,i,n,s,o,a);let f;return f=l?Sr[l]:c?0:Hi(d,u),[h,new Hn(f)]}const Yr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ar=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Cr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Er(e){const[,t,n,i,r,s,o,a]=e;return[xr(t,r,i,n,s,o,a),Hn.utcInstance]}function Ir(e){const[,t,n,i,r,s,o,a]=e;return[xr(t,a,n,i,r,s,o),Hn.utcInstance]}const Pr=ar(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,mr),Nr=ar(/(\d{4})-?W(\d\d)(?:-?(\d))?/,mr),Rr=ar(/(\d{4})-?(\d{3})/,mr),zr=ar(fr),Hr=lr(function(e,t){return[{year:br(e,t),month:br(e,t+1,1),day:br(e,t+2,1)},null,t+3]},vr,wr,kr),jr=lr(pr,vr,wr,kr),Fr=lr(gr,vr,wr,kr),Br=lr(vr,wr,kr);const $r=lr(vr);const Wr=ar(/(\d{4})-(\d\d)-(\d\d)/,_r),Ur=ar(yr),Vr=lr(vr,wr,kr);const Zr="Invalid Duration",qr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Qr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...qr},Xr=365.2425,Gr=30.436875,Kr={years:{quarters:4,months:12,weeks:52.1775,days:Xr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:Gr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...qr},Jr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],es=Jr.slice(0).reverse();function ts(e,t,n=!1){const i={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new ss(i)}function ns(e,t){let n=t.milliseconds??0;for(const i of es.slice(1))t[i]&&(n+=t[i]*e[i].milliseconds);return n}function is(e,t){const n=ns(e,t)<0?-1:1;Jr.reduceRight((i,r)=>{if(yi(t[r]))return i;if(i){const s=t[i]*n,o=e[r][i],a=Math.floor(s/o);t[r]+=a*n,t[i]-=a*o*n}return r},null),Jr.reduce((n,i)=>{if(yi(t[i]))return n;if(n){const r=t[n]%1;t[n]-=r,t[i]+=r*e[n][i]}return i},null)}function rs(e){const t={};for(const[n,i]of Object.entries(e))0!==i&&(t[n]=i);return t}class ss{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let n=t?Kr:Qr;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||Rn.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,t){return ss.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new Bt("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new ss({values:Fi(e,ss.normalizeUnit),loc:Rn.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(_i(e))return ss.fromMillis(e);if(ss.isDuration(e))return e;if("object"==typeof e)return ss.fromObject(e);throw new Bt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[n]=function(e){return cr(e,[Mr,Lr])}(e);return n?ss.fromObject(n,t):ss.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[n]=function(e){return cr(e,[Tr,$r])}(e);return n?ss.fromObject(n,t):ss.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}
vendor: 9,549 bytes, line 2
2static invalid(e,t=null){if(!e)throw new Bt("need to specify a reason the Duration is invalid");const n=e instanceof ni?e:new ni(e,t);if(ti.throwOnInvalid)throw new Ht(n);return new ss({invalid:n})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new Ft(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const n={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?sr.create(this.loc,n).formatDurationFromString(this,e):Zr}toHuman(e={}){if(!this.isValid)return Zr;const t=!1!==e.showZeros,n=Jr.map(n=>{const i=this.values[n];return yi(i)||0===i&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:n.slice(0,-1)}).format(i)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Yi(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1};return Ks.fromMillis(t,{zone:"UTC"}).toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ns(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=ss.fromDurationLike(e),n={};for(const e of Jr)(Ti(t.values,e)||Ti(this.values,e))&&(n[e]=t.get(e)+this.get(e));return ts(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const t=ss.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=ji(e(this.values[n],n));return ts(this,{values:t},!0)}get(e){return this[ss.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return ts(this,{values:{...this.values,...Fi(e,ss.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:i}={}){return ts(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:i,conversionAccuracy:n})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return is(this.matrix,e),ts(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return ts(this,{values:rs(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map(e=>ss.normalizeUnit(e));const t={},n={},i=this.toObject();let r;for(const s of Jr)if(e.indexOf(s)>=0){r=s;let e=0;for(const t in n)e+=this.matrix[t][s]*n[t],n[t]=0;_i(i[s])&&(e+=i[s]);const o=Math.trunc(e);t[s]=o,n[s]=(1e3*e-1e3*o)/1e3}else _i(i[s])&&(n[s]=i[s]);for(const e in n)0!==n[e]&&(t[r]+=e===r?n[e]:n[e]/this.matrix[r][e]);return is(this.matrix,t),ts(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return ts(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;return ts(this,{values:rs(this.values)},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;function t(e,t){return void 0===e||0===e?void 0===t||0===t:e===t}for(const n of Jr)if(!t(this.values[n],e.values[n]))return!1;return!0}}const os="Invalid Interval";class as{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new Bt("need to specify a reason the Interval is invalid");const n=e instanceof ni?e:new ni(e,t);if(ti.throwOnInvalid)throw new zt(n);return new as({invalid:n})}static fromDateTimes(e,t){const n=Js(e),i=Js(t),r=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?as.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:as.invalid("missing or invalid end"):as.invalid("missing or invalid start")}(n,i);return null==r?new as({start:n,end:i}):r}static after(e,t){const n=ss.fromDurationLike(t),i=Js(e);return as.fromDateTimes(i,i.plus(n))}static before(e,t){const n=ss.fromDurationLike(t),i=Js(e);return as.fromDateTimes(i.minus(n),i)}static fromISO(e,t){const[n,i]=(e||"").split("/",2);if(n&&i){let e,r,s,o;try{e=Ks.fromISO(n,t),r=e.isValid}catch(i){r=!1}try{s=Ks.fromISO(i,t),o=s.isValid}catch(i){o=!1}if(r&&o)return as.fromDateTimes(e,s);if(r){const n=ss.fromISO(i,t);if(n.isValid)return as.after(e,n)}else if(o){const e=ss.fromISO(n,t);if(e.isValid)return as.before(s,e)}}return as.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const n=this.start.startOf(e,t);let i;return i=t?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,i=i.startOf(e,t),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?as.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Js).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),n=[];let{s:i}=this,r=0;for(;i<this.e;){const e=t[r]||this.e,s=+e>+this.e?this.e:e;n.push(as.fromDateTimes(i,s)),i=s,r+=1}return n}splitBy(e){const t=ss.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let n,{s:i}=this,r=1;const s=[];for(;i<this.e;){const e=this.start.plus(t.mapUnits(e=>e*r));n=+e>+this.e?this.e:e,s.push(as.fromDateTimes(i,n)),i=n,r+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e===+e.s}abutsEnd(e){return!!this.isValid&&+e.e===+this.s}engulfs(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return t>=n?null:as.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return as.fromDateTimes(t,n)}static merge(e){const[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0;const i=[],r=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]),s=Array.prototype.concat(...r).sort((e,t)=>e.time-t.time);for(const e of s)n+="s"===e.type?1:-1,1===n?t=e.time:(t&&+t!==+e.time&&i.push(as.fromDateTimes(t,e.time)),t=null);return as.merge(i)}difference(...e){return as.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} â ${this.e.toISO()})`:os}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}
vendor: 16,952 bytes, line 2
2toLocaleString(e=Zt,t={}){return this.isValid?sr.create(this.s.loc.clone(t),e).formatInterval(this):os}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:os}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:os}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:os}toFormat(e,{separator:t=" â "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:os}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):ss.invalid(this.invalidReason)}mapEndpoints(e){return as.fromDateTimes(e(this.s),e(this.e))}}class ls{static hasDST(e=ti.defaultZone){const t=Ks.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return kn.isValidZone(e)}static normalizeZone(e){return Fn(e,ti.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Rn.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Rn.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Rn.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||Rn.create(t,n,r)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||Rn.create(t,n,r)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:i=null}={}){return(i||Rn.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:i=null}={}){return(i||Rn.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Rn.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Rn.create(t,null,"gregory").eras(e)}static features(){return{relative:vi(),localeWeek:wi()}}}function cs(e,t){const n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=n(t)-n(e);return Math.floor(ss.fromMillis(i).as("days"))}function ds(e,t,n,i){let[r,s,o,a]=function(e,t,n){const i=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const n=cs(e,t);return(n-n%7)/7}],["days",cs]],r={},s=e;let o,a;for(const[l,c]of i)n.indexOf(l)>=0&&(o=l,r[l]=c(e,t),a=s.plus(r),a>t?(r[l]--,(e=s.plus(r))>t&&(a=e,r[l]--,e=s.plus(r))):e=a);return[e,r,a,o]}(e,t,n);const l=t-r,c=n.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===c.length&&(o<t&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+l/(o-r)));const d=ss.fromObject(s,i);return c.length>0?ss.fromMillis(l,i).shiftTo(...c).plus(d):d}function us(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);if(-1!==e[n].search(Bn.hanidec))t+=Wn.indexOf(e[n]);else for(const e in $n){const[n,r]=$n[e];i>=n&&i<=r&&(t+=i-n)}}return parseInt(t,10)}return t}(e))}}const hs=`[ ${String.fromCharCode(160)}]`,fs=new RegExp(hs,"g");function ms(e){return e.replace(/\./g,"\\.?").replace(fs,hs)}function ps(e){return e.replace(/\./g,"").replace(fs," ").toLowerCase()}function gs(e,t){return null===e?null:{regex:RegExp(e.map(ms).join("|")),deser:([n])=>e.findIndex(e=>ps(n)===ps(e))+t}}function ys(e,t){return{regex:e,deser:([,e,t])=>Hi(e,t),groups:t}}function _s(e){return{regex:e,deser:([e])=>e}}const bs={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let vs=null;function ws(e,t){return Array.prototype.concat(...e.map(e=>function(e,t){if(e.literal)return e;const n=Ms(sr.macroTokenToFormatOpts(e.val),t);return null==n||n.includes(void 0)?e:n}(e,t)))}class ks{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=ws(sr.parseFormat(t),e),this.units=this.tokens.map(t=>function(e,t){const n=Vn(t),i=Vn(t,"{2}"),r=Vn(t,"{3}"),s=Vn(t,"{4}"),o=Vn(t,"{6}"),a=Vn(t,"{1,2}"),l=Vn(t,"{1,3}"),c=Vn(t,"{1,6}"),d=Vn(t,"{1,9}"),u=Vn(t,"{2,4}"),h=Vn(t,"{4,6}"),f=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},m=(m=>{if(e.literal)return f(m);switch(m.val){case"G":return gs(t.eras("short"),0);case"GG":return gs(t.eras("long"),0);case"y":return us(c);case"yy":case"kk":return us(u,Ri);case"yyyy":case"kkkk":return us(s);case"yyyyy":return us(h);case"yyyyyy":return us(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return us(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return us(i);case"MMM":return gs(t.months("short",!0),1);case"MMMM":return gs(t.months("long",!0),1);case"LLL":return gs(t.months("short",!1),1);case"LLLL":return gs(t.months("long",!1),1);case"o":case"S":return us(l);case"ooo":case"SSS":return us(r);case"u":return _s(d);case"uu":return _s(a);case"uuu":case"E":case"c":return us(n);case"a":return gs(t.meridiems(),0);case"EEE":return gs(t.weekdays("short",!1),1);case"EEEE":return gs(t.weekdays("long",!1),1);case"ccc":return gs(t.weekdays("short",!0),1);case"cccc":return gs(t.weekdays("long",!0),1);case"Z":case"ZZ":return ys(new RegExp(`([+-]${a.source})(?::(${i.source}))?`),2);case"ZZZ":return ys(new RegExp(`([+-]${a.source})(${i.source})?`),2);case"z":return _s(/[a-z_+-/]{1,256}?/i);case" ":return _s(/[^\S\n\r]/);default:return f(m)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=e,m}(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){const[e,t]=function(e){const t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(e){if(this.isValid){const[t,n]=function(e,t,n){const i=e.match(t);if(i){const e={};let t=1;for(const r in n)if(Ti(n,r)){const s=n[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(e[s.token.val[0]]=s.deser(i.slice(t,t+o))),t+=o}return[i,e]}return[i,{}]}(e,this.regex,this.handlers),[i,r,s]=n?function(e){let t,n=null;yi(e.z)||(n=kn.create(e.z)),yi(e.Z)||(n||(n=new Hn(e.Z)),t=e.Z),yi(e.q)||(e.M=3*(e.q-1)+1),yi(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),yi(e.u)||(e.S=Di(e.u));const i=Object.keys(e).reduce((t,n)=>{const i=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return i&&(t[i]=e[n]),t},{});return[i,n,t]}(n):[null,null,void 0];if(Ti(n,"a")&&Ti(n,"H"))throw new jt("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:i,zone:r,specificOffset:s}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Ts(e,t,n){return new ks(e,n).explainFromTokens(t)}function Ms(e,t){if(!e)return null;const n=sr.create(t,e).dtFormatter((vs||(vs=Ks.fromMillis(1555555555555)),vs)),i=n.formatToParts(),r=n.resolvedOptions();return i.map(t=>function(e,t,n){const{type:i,value:r}=e;if("literal"===i){const e=/^\s+$/.test(r);return{literal:!e,val:e?" ":r}}const s=t[i];let o=i;"hour"===i&&(o=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let a=bs[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(t,e,r))}const Ls="Invalid DateTime",Ss=864e13;function xs(e){return new ni("unsupported zone",`the zone "${e.name}" is not supported`)}function Os(e){return null===e.weekData&&(e.weekData=di(e.c)),e.weekData}function Ds(e){return null===e.localWeekData&&(e.localWeekData=di(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Ys(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ks({...n,...t,old:n})}function As(e,t,n){let i=e-60*t*1e3;const r=n.offset(i);if(t===r)return[i,t];i-=60*(r-t)*1e3;const s=n.offset(i);return r===s?[i,r]:[e-60*Math.min(r,s)*1e3,Math.max(r,s)]}function Cs(e,t){const n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Es(e,t,n){return As(Ii(e),t,n)}function Is(e,t){const n=e.o,i=e.c.year+Math.trunc(t.years),r=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),s={...e.c,year:i,month:r,day:Math.min(e.c.day,Ei(i,r))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},o=ss.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Ii(s);let[l,c]=As(a,n,e.zone);return 0!==o&&(l+=o,c=e.zone.offset(l)),{ts:l,o:c}}function Ps(e,t,n,i,r,s){const{setZone:o,zone:a}=n;if(e&&0!==Object.keys(e).length||t){const i=t||a,r=Ks.fromObject(e,{...n,zone:i,specificOffset:s});return o?r:r.setZone(a)}return Ks.invalid(new ni("unparsable",`the input "${r}" can't be parsed as ${i}`))}function Ns(e,t,n=!0){return e.isValid?sr.create(Rn.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Rs(e,t,n){const i=e.c.year>9999||e.c.year<0;let r="";if(i&&e.c.year>=0&&(r+="+"),r+=Si(e.c.year,i?6:4),"year"===n)return r;if(t){if(r+="-",r+=Si(e.c.month),"month"===n)return r;r+="-"}else if(r+=Si(e.c.month),"month"===n)return r;return r+=Si(e.c.day),r}function zs(e,t,n,i,r,s,o){let a=!n||0!==e.c.millisecond||0!==e.c.second,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=Si(e.c.hour),"hour"===o)break;if(t){if(l+=":",l+=Si(e.c.minute),"minute"===o)break;a&&(l+=":",l+=Si(e.c.second))}else{if(l+=Si(e.c.minute),"minute"===o)break;a&&(l+=Si(e.c.second))}if("second"===o)break;!a||i&&0===e.c.millisecond||(l+=".",l+=Si(e.c.millisecond,3))}return r&&(e.isOffsetFixed&&0===e.offset&&!s?l+="Z":e.o<0?(l+="-",l+=Si(Math.trunc(-e.o/60)),l+=":",l+=Si(Math.trunc(-e.o%60))):(l+="+",l+=Si(Math.trunc(e.o/60)),l+=":",l+=Si(Math.trunc(e.o%60)))),s&&(l+="["+e.zone.ianaName+"]"),l}const Hs={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},js={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Fs={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Bs=["year","month","day","hour","minute","second","millisecond"],$s=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ws=["year","ordinal","hour","minute","second","millisecond"];function Us(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new Ft(e);return t}function Vs(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Us(e)}}function Zs(e,t){const n=Fn(t.zone,ti.defaultZone);if(!n.isValid)return Ks.invalid(xs(n));const i=Rn.fromObject(t);let r,s;if(yi(e.year))r=ti.now();else{for(const t of Bs)yi(e[t])&&(e[t]=Hs[t]);const t=pi(e)||gi(e);if(t)return Ks.invalid(t);const i=function(e){if(void 0===Xs&&(Xs=ti.now()),"iana"!==e.type)return e.offset(Xs);const t=e.name;let n=Gs.get(t);return void 0===n&&(n=e.offset(Xs),Gs.set(t,n)),n}(n);[r,s]=Es(e,i,n)}return new Ks({ts:r,zone:n,loc:i,o:s})}function qs(e,t,n){const i=!!yi(n.round)||n.round,r=yi(n.rounding)?"trunc":n.rounding,s=(e,s)=>{e=Yi(e,i||n.calendary?0:2,n.calendary?"round":r);return t.loc.clone(n).relFormatter(n).format(e,s)},o=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return s(o(n.unit),n.unit);for(const e of n.units){const t=o(e);if(Math.abs(t)>=1)return s(t,e)}return s(e>t?-0:0,n.units[n.units.length-1])}function Qs(e){let t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}let Xs;const Gs=new Map;class Ks{constructor(e){const t=e.zone||ti.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new ni("invalid input"):null)||(t.isValid?null:xs(t));this.ts=yi(e.ts)?ti.now():e.ts;let i=null,r=null;if(!n){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[i,r]=[e.old.c,e.old.o];else{const s=_i(e.o)&&!e.old?e.o:t.offset(this.ts);i=Cs(this.ts,s),n=Number.isNaN(i.year)?new ni("invalid input"):null,i=n?null:i,r=n?null:s}}this._zone=t,this.loc=e.loc||Rn.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=r,this.isLuxonDateTime=!0}static now(){return new Ks({})}static local(){const[e,t]=Qs(arguments),[n,i,r,s,o,a,l]=t;return Zs({year:n,month:i,day:r,hour:s,minute:o,second:a,millisecond:l},e)}static utc(){const[e,t]=Qs(arguments),[n,i,r,s,o,a,l]=t;return e.zone=Hn.utcInstance,Zs({year:n,month:i,day:r,hour:s,minute:o,second:a,millisecond:l},e)}static fromJSDate(e,t={}){const n=function(e){return"[object Date]"===Object.prototype.toString.call(e)}(e)?e.valueOf():NaN;if(Number.isNaN(n))return Ks.invalid("invalid input");const i=Fn(t.zone,ti.defaultZone);return i.isValid?new Ks({ts:n,zone:i,loc:Rn.fromObject(t)}):Ks.invalid(xs(i))}static fromMillis(e,t={}){if(_i(e))return e<-Ss||e>Ss?Ks.invalid("Timestamp out of range"):new Ks({ts:e,zone:Fn(t.zone,ti.defaultZone),loc:Rn.fromObject(t)});throw new Bt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(_i(e))return new Ks({ts:1e3*e,zone:Fn(t.zone,ti.defaultZone),loc:Rn.fromObject(t)});throw new Bt("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const n=Fn(t.zone,ti.defaultZone);if(!n.isValid)return Ks.invalid(xs(n));const i=Rn.fromObject(t),r=Fi(e,Vs),{minDaysInFirstWeek:s,startOfWeek:o}=mi(r,i),a=ti.now(),l=yi(t.specificOffset)?n.offset(a):t.specificOffset,c=!yi(r.ordinal),d=!yi(r.year),u=!yi(r.month)||!yi(r.day),h=d||u,f=r.weekYear||r.weekNumber;if((h||c)&&f)throw new jt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&c)throw new jt("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!h;let p,g,y=Cs(a,l);m?(p=$s,g=js,y=di(y,s,o)):c?(p=Ws,g=Fs,y=hi(y)):(p=Bs,g=Hs);let _=!1;for(const e of p){yi(r[e])?r[e]=_?g[e]:y[e]:_=!0}const b=m?function(e,t=4,n=1){const i=bi(e.weekYear),r=Li(e.weekNumber,1,Ni(e.weekYear,t,n)),s=Li(e.weekday,1,7);return i?r?!s&&si("weekday",e.weekday):si("week",e.weekNumber):si("weekYear",e.weekYear)}(r,s,o):c?function(e){const t=bi(e.year),n=Li(e.ordinal,1,Ci(e.year));return t?!n&&si("ordinal",e.ordinal):si("year",e.year)}(r):pi(r),v=b||gi(r);if(v)return Ks.invalid(v);const w=m?ui(r,s,o):c?fi(r):r,[k,T]=Es(w,l,n),M=new Ks({ts:k,zone:n,o:T,loc:i});return r.weekday&&h&&e.weekday!==M.weekday?Ks.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${M.toISO()}`):M.isValid?M:Ks.invalid(M.invalid)}static fromISO(e,t={}){const[n,i]=function(e){return cr(e,[Pr,Hr],[Nr,jr],[Rr,Fr],[zr,Br])}(e);return Ps(n,i,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[n,i]=function(e){return cr(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Or,Dr])}(e);return Ps(n,i,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[n,i]=function(e){return cr(e,[Yr,Er],[Ar,Er],[Cr,Ir])}(e);return Ps(n,i,t,"HTTP",t)}static fromFormat(e,t,n={}){if(yi(e)||yi(t))throw new Bt("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:r=null}=n,s=Rn.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0}),[o,a,l,c]=function(e,t,n){const{result:i,zone:r,specificOffset:s,invalidReason:o}=Ts(e,t,n);return[i,r,s,o]}(s,e,t);return c?Ks.invalid(c):Ps(o,a,n,`format ${t}`,e,l)}static fromString(e,t,n={}){return Ks.fromFormat(e,t,n)}static fromSQL(e,t={}){const[n,i]=function(e){return cr(e,[Wr,Hr],[Ur,Vr])}(e);return Ps(n,i,t,"SQL",e)}
vendor: 5,740 bytes, line 2
2static invalid(e,t=null){if(!e)throw new Bt("need to specify a reason the DateTime is invalid");const n=e instanceof ni?e:new ni(e,t);if(ti.throwOnInvalid)throw new Rt(n);return new Ks({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const n=Ms(e,Rn.fromObject(t));return n?n.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return ws(sr.parseFormat(e),Rn.fromObject(t)).map(e=>e.val).join("")}static resetCache(){Xs=void 0,Gs.clear()}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Os(this).weekYear:NaN}get weekNumber(){return this.isValid?Os(this).weekNumber:NaN}get weekday(){return this.isValid?Os(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ds(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ds(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ds(this).weekYear:NaN}get ordinal(){return this.isValid?hi(this.c).ordinal:NaN}get monthShort(){return this.isValid?ls.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ls.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ls.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ls.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,n=Ii(this.c),i=this.zone.offset(n-e),r=this.zone.offset(n+e),s=this.zone.offset(n-i*t),o=this.zone.offset(n-r*t);if(s===o)return[this];const a=n-s*t,l=n-o*t,c=Cs(a,s),d=Cs(l,o);return c.hour===d.hour&&c.minute===d.minute&&c.second===d.second&&c.millisecond===d.millisecond?[Ys(this,{ts:a}),Ys(this,{ts:l})]:[this]}get isInLeapYear(){return Ai(this.year)}get daysInMonth(){return Ei(this.year,this.month)}get daysInYear(){return this.isValid?Ci(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ni(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ni(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:n,calendar:i}=sr.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:i}}toUTC(e=0,t={}){return this.setZone(Hn.instance(e),t)}toLocal(){return this.setZone(ti.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=Fn(e,ti.defaultZone)).equals(this.zone))return this;if(e.isValid){let i=this.ts;if(t||n){const t=e.offset(this.ts),n=this.toObject();[i]=Es(n,t,e)}return Ys(this,{ts:i,zone:e})}return Ks.invalid(xs(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){return Ys(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Fi(e,Vs),{minDaysInFirstWeek:n,startOfWeek:i}=mi(t,this.loc),r=!yi(t.weekYear)||!yi(t.weekNumber)||!yi(t.weekday),s=!yi(t.ordinal),o=!yi(t.year),a=!yi(t.month)||!yi(t.day),l=o||a,c=t.weekYear||t.weekNumber;if((l||s)&&c)throw new jt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new jt("Can't mix ordinal dates with month/day");let d;r?d=ui({...di(this.c,n,i),...t},n,i):yi(t.ordinal)?(d={...this.toObject(),...t},yi(t.day)&&(d.day=Math.min(Ei(d.year,d.month),d.day))):d=fi({...hi(this.c),...t});const[u,h]=Es(d,this.o,this.zone);return Ys(this,{ts:u,o:h})}plus(e){if(!this.isValid)return this;return Ys(this,Is(this,ss.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return Ys(this,Is(this,ss.fromDurationLike(e).negate()))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const n={},i=ss.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===i)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;if("quarters"===i){const e=Math.ceil(this.month/3);n.month=3*(e-1)+1}return this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?sr.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Ls}
vendor: 5,576 bytes, line 2
2toLocaleString(e=Zt,t={}){return this.isValid?sr.create(this.loc.clone(t),e).formatDateTime(this):Ls}toLocaleParts(e={}){return this.isValid?sr.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:r=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;const o="extended"===e;let a=Rs(this,o,s=Us(s));return Bs.indexOf(s)>=3&&(a+="T"),a+=zs(this,o,t,n,i,r,s),a}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?Rs(this,"extended"===e,Us(t)):null}toISOWeekDate(){return Ns(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:r=!1,format:s="extended",precision:o="milliseconds"}={}){if(!this.isValid)return null;return o=Us(o),(i&&Bs.indexOf(o)>=3?"T":"")+zs(this,"extended"===s,t,e,n,r,o)}toRFC2822(){return Ns(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ns(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Rs(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(t||e)&&(n&&(i+=" "),t?i+="z":e&&(i+="ZZ")),Ns(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Ls}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return ss.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...n},r=(a=t,Array.isArray(a)?a:[a]).map(ss.normalizeUnit),s=e.valueOf()>this.valueOf(),o=ds(s?this:e,s?e:this,r,i);var a;return s?o.negate():o}diffNow(e="milliseconds",t={}){return this.diff(Ks.now(),e,t)}until(e){return this.isValid?as.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;const i=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t,n)<=i&&i<=r.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Ks.fromObject({},{zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0;let i=["years","months","days","hours","minutes","seconds"],r=e.unit;return Array.isArray(e.unit)&&(i=e.unit,r=void 0),qs(t,this.plus(n),{...e,numeric:"always",units:i,unit:r})}toRelativeCalendar(e={}){return this.isValid?qs(e.base||Ks.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Ks.isDateTime))throw new Bt("min requires all arguments be DateTimes");return ki(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(Ks.isDateTime))throw new Bt("max requires all arguments be DateTimes");return ki(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){const{locale:i=null,numberingSystem:r=null}=n;return Ts(Rn.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,n={}){return Ks.fromFormatExplain(e,t,n)}static buildFormatParser(e,t={}){const{locale:n=null,numberingSystem:i=null}=t,r=Rn.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new ks(r,e)}static fromFormatParser(e,t,n={}){if(yi(e)||yi(t))throw new Bt("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:r=null}=n,s=Rn.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});if(!s.equals(t.locale))throw new Bt(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${t.locale}`);const{result:o,zone:a,specificOffset:l,invalidReason:c}=t.explainFromTokens(e);return c?Ks.invalid(c):Ps(o,a,n,`format ${t.format}`,e,l)}static get DATE_SHORT(){return Zt}static get DATE_MED(){return qt}static get DATE_MED_WITH_WEEKDAY(){return Qt}static get DATE_FULL(){return Xt}static get DATE_HUGE(){return Gt}static get TIME_SIMPLE(){return Kt}static get TIME_WITH_SECONDS(){return Jt}static get TIME_WITH_SHORT_OFFSET(){return en}static get TIME_WITH_LONG_OFFSET(){return tn}static get TIME_24_SIMPLE(){return nn}static get TIME_24_WITH_SECONDS(){return rn}static get TIME_24_WITH_SHORT_OFFSET(){return sn}static get TIME_24_WITH_LONG_OFFSET(){return on}static get DATETIME_SHORT(){return an}static get DATETIME_SHORT_WITH_SECONDS(){return ln}static get DATETIME_MED(){return cn}static get DATETIME_MED_WITH_SECONDS(){return dn}static get DATETIME_MED_WITH_WEEKDAY(){return un}static get DATETIME_FULL(){return hn}static get DATETIME_FULL_WITH_SECONDS(){return fn}static get DATETIME_HUGE(){return mn}static get DATETIME_HUGE_WITH_SECONDS(){return pn}}function Js(e){if(Ks.isDateTime(e))return e;if(e&&e.valueOf&&_i(e.valueOf()))return Ks.fromJSDate(e);if(e&&"object"==typeof e)return Ks.fromObject(e);throw new Bt(`Unknown datetime argument: ${e}, of type ${typeof e}`)}
vendor: 5,046 bytes, line 2
2var eo=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],to={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},no={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},io=no,ro=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},so=function(e){return!0===e?1:0};function oo(e,t){var n;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(i,r)},t)}}var ao=function(e){return e instanceof Array?e:[e]};function lo(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function co(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function uo(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function ho(e,t){return t(e)?e:e.parentNode?ho(e.parentNode,t):void 0}function fo(e,t){var n=co("div","numInputWrapper"),i=co("input","numInput "+e),r=co("span","arrowUp"),s=co("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var o in t)i.setAttribute(o,t[o]);return n.appendChild(i),n.appendChild(r),n.appendChild(s),n}function mo(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var po=function(){},go=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},yo={D:po,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*so(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),r=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return r.setDate(r.getDate()-r.getDay()+n.firstDayOfWeek),r},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:po,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:po,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},_o={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"
2(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},bo={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[bo.w(e,t,n)]},F:function(e,t,n){return go(bo.n(e,t,n)-1,!1,t)},G:function(e,t,n){return ro(bo.h(e,t,n))},H:function(e){return ro(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[so(e.getHours()>11)]},M:function(e,t){return go(e.getMonth(),!0,t)},S:function(e){return ro(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return ro(e.getFullYear(),4)},d:function(e){return ro(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return ro(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return ro(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},vo=function(e){var t=e.config,n=void 0===t?to:t,i=e.l10n,r=void 0===i?no:i,s=e.isMobile,o=void 0!==s&&s;return function(e,t,i){var s=i||r;return void 0===n.formatDate||o?t.split("").map(function(t,i,r){return bo[t]&&"\\"!==r[i-1]?bo[t](e,s,n):"\\"!==t?t:""}).join(""):n.formatDate(e,t,s)}},wo=function(e){var t=e.config,n=void 0===t?to:t,i=e.l10n,r=void 0===i?no:i;return function(e,t,i,s){if(0===e||e){var o,a=s||r,l=e;if(e instanceof Date)o=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)o=new Date(e);else if("string"==typeof e){var c=t||(n||to).dateFormat,d=String(e).trim();if("today"===d)o=new Date,i=!0;else if(n&&n.parseDate)o=n.parseDate(e,c);else if(/Z$/.test(d)||/GMT$/.test(d))o=new Date(e);else{for(var u=void 0,h=[],f=0,m=0,p="";f<c.length;f++){var g=c[f],y="\\"===g,_="\\"===c[f-1]||y;if(_o[g]&&!_){p+=_o[g];var b=new RegExp(p).exec(e);b&&(u=!0)&&h["Y"!==g?"push":"unshift"]({fn:yo[g],val:b[++m]})}else y||(p+=".")}o=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),h.forEach(function(e){var t=e.fn,n=e.val;return o=t(o,n,a)||o}),o=u?o:void 0}}if(o instanceof Date&&!isNaN(o.getTime()))return!0===i&&o.setHours(0,0,0,0),o;n.errorHandler(new Error("Invalid date provided: "+l))}}};function ko(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var To=function(e,t,n){return 3600*e+60*t+n},Mo=864e5;function Lo(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var r=e.minDate.getHours(),s=e.minDate.getMinutes(),o=e.minDate.getSeconds();t<r&&(t=r),t===r&&n<s&&(n=s),t===r&&n===s&&i<o&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}n(5990);var So=function(){return So=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},So.apply(this,arguments)},xo=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,r++)i[r]=s[o];return i};function Oo(e,t){var n={config:So(So({},to),Yo.defaultConfig),l10n:io};function i(){var e;return(null===(e=n.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function r(e){return e.bind(n)}function s(){var e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==n.calendarContainer&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),void 0!==n.daysContainer){var t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(void 0!==n.weekWrapper?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}})}function o(e){if(0===n.selectedDates.length){var t=void 0===n.config.minDate||ko(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),i=Lo(n.config);t.setHours(i.hours,i.minutes,i.seconds,t.getMilliseconds()),n.selectedDates=[t],n.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,i=mo(e),r=i;void 0!==n.amPM&&i===n.amPM&&(n.amPM.textContent=n.l10n.amPM[so(n.amPM.textContent===n.l10n.amPM[0])]);var s=parseFloat(r.getAttribute("min")),o=parseFloat(r.getAttribute("max")),a=parseFloat(r.getAttribute("step")),l=parseInt(r.value,10),c=e.delta||(t?38===e.which?1:-1:0),d=l+a*c;if(void 0!==r.value&&2===r.value.length){var u=r===n.hourElement,h=r===n.minuteElement;d<s?(d=o+d+so(!u)+(so(u)&&so(!n.amPM)),h&&p(void 0,-1,n.hourElement)):d>o&&(d=r===n.hourElement?d-o-so(!n.amPM):s,h&&p(void 0,1,n.hourElement)),n.amPM&&u&&(1===a?d+l===23:Math.abs(d-l)>a)&&(n.amPM.textContent=n.l10n.amPM[so(n.amPM.textContent===n.l10n.amPM[0])]),r.value=ro(d)}}(e);var r=n._input.value;a(),J(),n._input.value!==r&&n._debouncedChange()}function a(){if(void 0!==n.hourElement&&void 0!==n.minuteElement){var e,t,i=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,r=(parseInt(n.minuteElement.value,10)||0)%60,s=void 0!==n.secondElement?(parseInt(n.secondElement.value,10)||0)%60:0;void 0!==n.amPM&&(e=i,t=n.amPM.textContent,i=e%12+12*so(t===n.l10n.amPM[1]));var o=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===ko(n.latestSelectedDateObj,n.config.minDate,!0),a=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===ko(n.latestSelectedDateObj,n.config.maxDate,!0);if(void 0!==n.config.maxTime&&void 0!==n.config.minTime&&n.config.minTime>n.config.maxTime){var l=To(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),d=To(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),u=To(i,r,s);if(u>d&&u<l){var h=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]}(l);i=h[0],r=h[1],s=h[2]}}else{if(a){var f=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(i=Math.min(i,f.getHours()))===f.getHours()&&(r=Math.min(r,f.getMinutes())),r===f.getMinutes()&&(s=Math.min(s,f.getSeconds()))}if(o){var m=void 0!==n.config.minTime?n.config.minTime:n.config.minDate;(i=Math.max(i,m.getHours()))===m.getHours()&&r<m.getMinutes()&&(r=m.getMinutes()),r===m.getMinutes()&&(s=Math.max(s,m.getSeconds()))}}c(i,r,s)}}function l(e){var t=e||n.latestSelectedDateObj;t&&t instanceof Date&&c(t.getHours(),t.getMinutes(),t.getSeconds())}function c(e,t,i){void 0!==n.latestSelectedDateObj&&n.latestSelectedDateObj.setHours(e%24,t,i||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=ro(n.config.time_24hr?e:(12+e)%12+12*so(e%12==0)),n.minuteElement.value=ro(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[so(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=ro(i)))}function d(e){var t=mo(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&Y(n)}function u(e,t,i,r){return t instanceof Array?t.forEach(function(t){return u(e,t,i,r)}):e instanceof Array?e.forEach(function(e){return u(e,t,i,r)}):(e.addEventListener(t,i,r),void n._handlers.push({remove:function(){return e.removeEventListener(t,i,r)}}))}function h(){q("onChange")}function f(e,t){var i=void 0!==e?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),r=n.currentYear,s=n.currentMonth;try{void 0!==i&&(n.currentYear=i.getFullYear(),n.currentMonth=i.getMonth())}catch(e){e.message="Invalid date supplied: "+i,n.config.errorHandler(e)}t&&n.currentYear!==r&&(q("onYearChange"),k()),!t||n.currentYear===r&&n.currentMonth===s||q("onMonthChange"),n.redraw()}function m(e){var t=mo(e);~t.className.indexOf("arrow")&&p(e,t.classList.contains("arrowUp")?1:-1)}function p(e,t,n){var i=e&&mo(e),r=n||i&&i.parentNode&&i.parentNode.firstChild,s=Q("increment");s.delta=t,r&&r.dispatchEvent(s)}function g(e,t,i,r){var s=A(t,!0),o=co("span",e,t.getDate().toString());return o.dateObj=t,o.$i=r,o.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===ko(t,n.now)&&(n.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),s?(o.tabIndex=-1,X(t)&&(o.classList.add("selected"),n.selectedDateElem=o,"range"===n.config.mode&&(lo(o,"startRange",n.selectedDates[0]&&0===ko(t,n.selectedDates[0],!0)),lo(o,"endRange",n.selectedDates[1]&&0===ko(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(ko(e,n.selectedDates[0])>=0&&ko(e,n.selectedDates[1])<=0)}(t)&&!X(t)&&o.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&r%7==6&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),q("onDayCreate",o),o}function y(e){e.focus(),"range"===n.config.mode&&P(e)}function _(e){for(var t=e>0?0:n.config.showMonths-1,i=e>0?n.config.showMonths:-1,r=t;r!=i;r+=e)for(var s=n.daysContainer.children[r],o=e>0?0:s.children.length-1,a=e>0?s.children.length:-1,l=o;l!=a;l+=e){var c=s.children[l];if(-1===c.className.indexOf("hidden")&&A(c.dateObj))return c}}function b(e,t){var r=i(),s=C(r||document.body),o=void 0!==e?e:s?r:void 0!==n.selectedDateElem&&C(n.selectedDateElem)?n.selectedDateElem:void 0!==n.todayDateElem&&C(n.todayDateElem)?n.todayDateElem:_(t>0?1:-1);void 0===o?n._input.focus():s?function(e,t){for(var i=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,r=t>0?n.config.showMonths:-1,s=t>0?1:-1,o=i-n.currentMonth;o!=r;o+=s)for(var a=n.daysContainer.children[o],l=i-n.currentMonth===o?e.$i+t:t<0?a.children.length-1:0,c=a.children.length,d=l;d>=0&&d<c&&d!=(t>0?c:-1);d+=s){var u=a.children[d];if(-1===u.className.indexOf("hidden")&&A(u.dateObj)&&Math.abs(e.$i-d)>=Math.abs(t))return y(u)}n.changeMonth(s),b(_(s),0)}(o,t):y(o)}function v(e,t){for(var i=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,r=n.utils.getDaysInMonth((t-1+12)%12,e),s=n.utils.getDaysInMonth(t,e),o=window.document.createDocumentFragment(),a=n.config.showMonths>1,l=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",d=r+1-i,u=0;d<=r;d++,u++)o.appendChild(g("flatpickr-day "+l,new Date(e,t-1,d),0,u));for(d=1;d<=s;d++,u++)o.appendChild(g("flatpickr-day",new Date(e,t,d),0,u));for(var h=s+1;h<=42-i&&(1===n.config.showMonths||u%7!=0);h++,u++)o.appendChild(g("flatpickr-day "+c,new Date(e,t+1,h%s),0,u));var f=co("div","dayContainer");return f.appendChild(o),f}function w(){if(void 0!==n.daysContainer){uo(n.daysContainer),n.weekNumbers&&uo(n.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<n.config.showMonths;t++){var i=new Date(n.currentYear,n.currentMonth,1);i.setMonth(n.currentMonth+t),e.appendChild(v(i.getFullYear(),i.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&P()}}function k(){if(!(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)){var e=function(e){return!(void 0!==n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(void 0!==n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var i=co("option","flatpickr-monthDropdown-month");i.value=new Date(n.currentYear,t).getMonth().toString(),i.textContent=go(t,n.config.shorthandCurrentMonth,n.l10n),i.tabIndex=-1,n.currentMonth===t&&(i.selected=!0),n.monthsDropdownContainer.appendChild(i)}}}function T(){var e,t=co("div","flatpickr-month"),i=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=co("span","cur-month"):(n.monthsDropdownContainer=co("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",function(e){var t=mo(e),i=parseInt(t.value,10);n.changeMonth(i-n.currentMonth),q("onMonthChange")}),k(),e=n.monthsDropdownContainer);var r=fo("cur-year",{tabindex:"-1"}),s=r.getElementsByTagName("input")[0];
vendor: 14,228 bytes, line 2
2s.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&s.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(s.setAttribute("max",n.config.maxDate.getFullYear().toString()),s.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());var o=co("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(r),i.appendChild(o),t.appendChild(i),{container:t,yearElement:s,monthElement:e}}function M(){uo(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(var e=n.config.showMonths;e--;){var t=T();n.yearElements.push(t.yearElement),n.monthElements.push(t.monthElement),n.monthNav.appendChild(t.container)}n.monthNav.appendChild(n.nextMonthNav)}function L(){n.weekdayContainer?uo(n.weekdayContainer):n.weekdayContainer=co("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=co("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return S(),n.weekdayContainer}function S(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=xo(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=xo(t.splice(e,t.length),t.splice(0,e)));for(var i=n.config.showMonths;i--;)n.weekdayContainer.children[i].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function x(e,t){void 0===t&&(t=!0);var i=t?e:e-n.currentMonth;i<0&&!0===n._hidePrevMonthArrow||i>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=i,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,q("onYearChange"),k()),w(),q("onMonthChange"),G())}function O(e){return n.calendarContainer.contains(e)}function D(e){if(n.isOpen&&!n.config.inline){var t=mo(e),i=O(t),r=!(t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)))&&!i&&!O(e.relatedTarget),s=!n.config.ignoredFocusElements.some(function(e){return e.contains(t)});r&&s&&(n.config.allowInput&&n.setDate(n._input.value,!1,n.config.altInput?n.config.altFormat:n.config.dateFormat),void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement&&""!==n.input.value&&void 0!==n.input.value&&o(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&n.clear(!1))}}function Y(e){if(!(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())){var t=e,i=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),i&&(n.redraw(),q("onYearChange"),k())}}function A(e,t){var i;void 0===t&&(t=!0);var r=n.parseDate(e,void 0,t);if(n.config.minDate&&r&&ko(r,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&r&&ko(r,n.config.maxDate,void 0!==t?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(void 0===r)return!1;for(var s=!!n.config.enable,o=null!==(i=n.config.enable)&&void 0!==i?i:n.config.disable,a=0,l=void 0;a<o.length;a++){if("function"==typeof(l=o[a])&&l(r))return s;if(l instanceof Date&&void 0!==r&&l.getTime()===r.getTime())return s;if("string"==typeof l){var c=n.parseDate(l,void 0,!0);return c&&c.getTime()===r.getTime()?s:!s}if("object"==typeof l&&void 0!==r&&l.from&&l.to&&r.getTime()>=l.from.getTime()&&r.getTime()<=l.to.getTime())return s}return!s}function C(e){return void 0!==n.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function E(e){var t=e.target===n._input,i=n._input.value.trimEnd()!==K();!t||!i||e.relatedTarget&&O(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function I(t){var r=mo(t),s=n.config.wrap?e.contains(r):r===n._input,l=n.config.allowInput,c=n.isOpen&&(!l||!s),d=n.config.inline&&s&&!l;if(13===t.keyCode&&s){if(l)return n.setDate(n._input.value,!0,r===n.altInput?n.config.altFormat:n.config.dateFormat),n.close(),r.blur();n.open()}else if(O(r)||c||d){var u=!!n.timeContainer&&n.timeContainer.contains(r);switch(t.keyCode){case 13:u?(t.preventDefault(),o(),B()):$(t);break;case 27:t.preventDefault(),B();break;case 8:case 46:s&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(u||s)n.hourElement&&n.hourElement.focus();else{t.preventDefault();var h=i();if(void 0!==n.daysContainer&&(!1===l||h&&C(h))){var f=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),x(f),b(_(1),0)):b(void 0,f)}}break;case 38:case 40:t.preventDefault();var m=40===t.keyCode?1:-1;n.daysContainer&&void 0!==r.$i||r===n.input||r===n.altInput?t.ctrlKey?(t.stopPropagation(),Y(n.currentYear-m),b(_(1),0)):u||b(void 0,7*m):r===n.currentYearElement?Y(n.currentYear-m):n.config.enableTime&&(!u&&n.hourElement&&n.hourElement.focus(),o(t),n._debouncedChange());break;case 9:if(u){var p=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter(function(e){return e}),g=p.indexOf(r);if(-1!==g){var y=p[g+(t.shiftKey?-1:1)];t.preventDefault(),(y||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(r)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(void 0!==n.amPM&&r===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],a(),J();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],a(),J()}(s||O(r))&&q("onKeyDown",t)}function P(e,t){if(void 0===t&&(t="flatpickr-day"),1===n.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var i=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),r=n.parseDate(n.selectedDates[0],void 0,!0).getTime(),s=Math.min(i,n.selectedDates[0].getTime()),o=Math.max(i,n.selectedDates[0].getTime()),a=!1,l=0,c=0,d=s;d<o;d+=Mo)A(new Date(d),!0)||(a=a||d>s&&d<o,d<r&&(!l||d>l)?l=d:d>r&&(!c||d<c)&&(c=d));Array.from(n.rContainer.querySelectorAll("*:nth-child(-n+"+n.config.showMonths+") > ."+t)).forEach(function(t){var s,o,d,u=t.dateObj.getTime(),h=l>0&&u<l||c>0&&u>c;if(h)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach(function(e){t.classList.remove(e)});a&&!h||(["startRange","inRange","endRange","notAllowed"].forEach(function(e){t.classList.remove(e)}),void 0!==e&&(e.classList.add(i<=n.selectedDates[0].getTime()?"startRange":"endRange"),r<i&&u===r?t.classList.add("startRange"):r>i&&u===r&&t.classList.add("endRange"),u>=l&&(0===c||u<=c)&&(o=r,d=i,(s=u)>Math.min(o,d)&&s<Math.max(o,d))&&t.classList.add("inRange")))})}}function N(){!n.isOpen||n.config.static||n.config.inline||j()}function R(e){return function(t){var i=n.config["_"+e+"Date"]=n.parseDate(t,n.config.dateFormat),r=n.config["_"+("min"===e?"max":"min")+"Date"];void 0!==i&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=i.getHours()>0||i.getMinutes()>0||i.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter(function(e){return A(e)}),n.selectedDates.length||"min"!==e||l(i),J()),n.daysContainer&&(F(),void 0!==i?n.currentYearElement[e]=i.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!r&&void 0!==i&&r.getFullYear()===i.getFullYear())}}function z(){return n.config.wrap?e.querySelector("[data-input]"):e}function H(){"object"!=typeof n.config.locale&&void 0===Yo.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=So(So({},Yo.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?Yo.l10ns[n.config.locale]:void 0),_o.D="("+n.l10n.weekdays.shorthand.join("|")+")",_o.l="("+n.l10n.weekdays.longhand.join("|")+")",_o.M="("+n.l10n.months.shorthand.join("|")+")",_o.F="("+n.l10n.months.longhand.join("|")+")",_o.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===So(So({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===Yo.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=vo(n),n.parseDate=wo({config:n.config,l10n:n.l10n})}function j(e){if("function"!=typeof n.config.position){if(void 0!==n.calendarContainer){q("onPreCalendarPosition");var t=e||n._positionElement,i=Array.prototype.reduce.call(n.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),r=n.calendarContainer.offsetWidth,s=n.config.position.split(" "),o=s[0],a=s.length>1?s[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,d="above"===o||"below"!==o&&c<i&&l.top>i,u=window.pageYOffset+l.top+(d?-i-2:t.offsetHeight+2);if(lo(n.calendarContainer,"arrowTop",!d),lo(n.calendarContainer,"arrowBottom",d),!n.config.inline){var h=window.pageXOffset+l.left,f=!1,m=!1;"center"===a?(h-=(r-l.width)/2,f=!0):"right"===a&&(h-=r-l.width,m=!0),lo(n.calendarContainer,"arrowLeft",!f&&!m),lo(n.calendarContainer,"arrowCenter",f),lo(n.calendarContainer,"arrowRight",m);var p=window.document.body.offsetWidth-(window.pageXOffset+l.right),g=h+r>window.document.body.offsetWidth,y=p+r>window.document.body.offsetWidth;if(lo(n.calendarContainer,"rightMost",g),!n.config.static)if(n.calendarContainer.style.top=u+"px",g)if(y){var _=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===_)return;var b=window.document.body.offsetWidth,v=Math.max(0,b/2-r/2),w=_.cssRules.length,k="{left:"+l.left+"px;right:auto;}";lo(n.calendarContainer,"rightMost",!1),lo(n.calendarContainer,"centerMost",!0),_.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+k,w),n.calendarContainer.style.left=v+"px",n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=p+"px";else n.calendarContainer.style.left=h+"px",n.calendarContainer.style.right="auto"}}}else n.config.position(n,e)}function F(){n.config.noCalendar||n.isMobile||(k(),G(),w())}function B(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(n.close,0):n.close()}function $(e){e.preventDefault(),e.stopPropagation();var t=ho(mo(e),function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var i=t,r=n.latestSelectedDateObj=new Date(i.dateObj.getTime()),s=(r.getMonth()<n.currentMonth||r.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=i,"single"===n.config.mode)n.selectedDates=[r];else if("multiple"===n.config.mode){var o=X(r);o?n.selectedDates.splice(parseInt(o),1):n.selectedDates.push(r)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=r,n.selectedDates.push(r),0!==ko(r,n.selectedDates[0],!0)&&n.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(a(),s){var l=n.currentYear!==r.getFullYear();n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth(),l&&(q("onYearChange"),k()),q("onMonthChange")}if(G(),w(),J(),s||"range"===n.config.mode||1!==n.config.showMonths?void 0!==n.selectedDateElem&&void 0===n.hourElement&&n.selectedDateElem&&n.selectedDateElem.focus():y(i),void 0!==n.hourElement&&void 0!==n.hourElement&&n.hourElement.focus(),n.config.closeOnSelect){var c="single"===n.config.mode&&!n.config.enableTime,d="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(c||d)&&B()}h()}}n.parseDate=wo({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=u,n._setHoursFromDate=l,n._positionCalendar=j,n.changeMonth=x,n.changeYear=Y,n.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);n.input.value="",void 0!==n.altInput&&(n.altInput.value="");void 0!==n.mobileInput&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=void 0,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){var i=Lo(n.config);c(i.hours,i.minutes,i.seconds)}n.redraw(),e&&q("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(void 0!==n.calendarContainer&&n.calendarContainer.classList.remove("open"),void 0!==n._input&&n._input.classList.remove("active"));q("onClose")},n.onMouseOver=P,n._createElement=co,n.createDay=g,n.destroy=function(){void 0!==n.config&&q("onDestroy");for(var e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=void 0;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config.static&&n.calendarContainer.parentNode){var t=n.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete n[e]}catch(e){}})}
vendor: 4,399 bytes, line 2
2,n.isEnabled=A,n.jumpToDate=f,n.updateValue=J,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var i=mo(e);i&&i.blur()}return void 0!==n.mobileInput&&(n.mobileInput.focus(),n.mobileInput.click()),void q("onOpen")}if(n._input.disabled||n.config.inline)return;var r=n.isOpen;n.isOpen=!0,r||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),q("onOpen"),j(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||void 0!==e&&n.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return n.hourElement.select()},50))},n.redraw=F,n.set=function(e,t){if(null!==e&&"object"==typeof e)for(var i in Object.assign(n.config,e),e)void 0!==W[i]&&W[i].forEach(function(e){return e()});else n.config[e]=t,void 0!==W[e]?W[e].forEach(function(e){return e()}):eo.indexOf(e)>-1&&(n.config[e]=ao(t));n.redraw(),J(!0)},n.setDate=function(e,t,i){void 0===t&&(t=!1);void 0===i&&(i=n.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);U(e,i),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),f(void 0,t),l(),0===n.selectedDates.length&&n.clear(!1);J(t),t&&q("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};var W={locale:[H,S],showMonths:[M,s,L],minDate:[f],maxDate:[f],positionElement:[Z],clickOpens:[function(){!0===n.config.clickOpens?(u(n._input,"focus",n.open),u(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function U(e,t){var i=[];if(e instanceof Array)i=e.map(function(e){return n.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)i=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":i=[n.parseDate(e,t)];break;case"multiple":i=e.split(n.config.conjunction).map(function(e){return n.parseDate(e,t)});break;case"range":i=e.split(n.l10n.rangeSeparator).map(function(e){return n.parseDate(e,t)})}else n.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));n.selectedDates=n.config.allowInvalidPreload?i:i.filter(function(e){return e instanceof Date&&A(e,!1)}),"range"===n.config.mode&&n.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function V(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,void 0),to:n.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function Z(){n._positionElement=n.config.positionElement||n._input}function q(e,t){if(void 0!==n.config){var i=n.config[e];if(void 0!==i&&i.length>0)for(var r=0;i[r]&&r<i.length;r++)i[r](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(Q("change")),n.input.dispatchEvent(Q("input")))}}function Q(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function X(e){for(var t=0;t<n.selectedDates.length;t++){var i=n.selectedDates[t];if(i instanceof Date&&0===ko(i,e))return""+t}return!1}function G(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach(function(e,t){var i=new Date(n.currentYear,n.currentMonth,1);i.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=go(i.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=i.getMonth().toString(),e.value=i.getFullYear().toString()}),n._hidePrevMonthArrow=void 0!==n.config.minDate&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=void 0!==n.config.maxDate&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function K(e){var t=e||(n.config.altInput?n.config.altFormat:n.config.dateFormat);return n.selectedDates.map(function(e){return n.formatDate(e,t)}).filter(function(e,t,i){return"range"!==n.config.mode||n.config.enableTime||i.indexOf(e)===t}).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function J(e){void 0===e&&(e=!0),void 0!==n.mobileInput&&n.mobileFormatStr&&(n.mobileInput.value=void 0!==n.latestSelectedDateObj?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=K(n.
vendor: 11,997 bytes, line 2
2config.dateFormat),void 0!==n.altInput&&(n.altInput.value=K(n.config.altFormat)),!1!==e&&q("onValueUpdate")}function ee(e){var t=mo(e),i=n.prevMonthNav.contains(t),r=n.nextMonthNav.contains(t);i||r?x(i?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){var i=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],s=So(So({},JSON.parse(JSON.stringify(e.dataset||{}))),t),o={};n.config.parseDate=s.parseDate,n.config.formatDate=s.formatDate,Object.defineProperty(n.config,"enable",{get:function(){return n.config._enable},set:function(e){n.config._enable=V(e)}}),Object.defineProperty(n.config,"disable",{get:function(){return n.config._disable},set:function(e){n.config._disable=V(e)}});var a="time"===s.mode;if(!s.dateFormat&&(s.enableTime||a)){var l=Yo.defaultConfig.dateFormat||to.dateFormat;o.dateFormat=s.noCalendar||a?"H:i"+(s.enableSeconds?":S":""):l+" H:i"+(s.enableSeconds?":S":"")}if(s.altInput&&(s.enableTime||a)&&!s.altFormat){var c=Yo.defaultConfig.altFormat||to.altFormat;o.altFormat=s.noCalendar||a?"h:i"+(s.enableSeconds?":S K":" K"):c+" h:i"+(s.enableSeconds?":S":"")+" K"}Object.defineProperty(n.config,"minDate",{get:function(){return n.config._minDate},set:R("min")}),Object.defineProperty(n.config,"maxDate",{get:function(){return n.config._maxDate},set:R("max")});var d=function(e){return function(t){n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")}};Object.defineProperty(n.config,"minTime",{get:function(){return n.config._minTime},set:d("min")}),Object.defineProperty(n.config,"maxTime",{get:function(){return n.config._maxTime},set:d("max")}),"time"===s.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,o,s);for(var u=0;u<i.length;u++)n.config[i[u]]=!0===n.config[i[u]]||"true"===n.config[i[u]];eo.filter(function(e){return void 0!==n.config[e]}).forEach(function(e){n.config[e]=ao(n.config[e]||[]).map(r)}),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<n.config.plugins.length;u++){var h=n.config.plugins[u](n)||{};for(var f in h)eo.indexOf(f)>-1?n.config[f]=ao(h[f]).map(r).concat(n.config[f]):void 0===s[f]&&(n.config[f]=h[f])}s.altInputClass||(n.config.altInputClass=z().className+" "+n.config.altInputClass);q("onParseConfig")}(),H(),function(){if(n.input=z(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=co(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config.static&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");Z()}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;var e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&U(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);void 0!==n.config.minTime&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));void 0!==n.config.maxTime&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=n.currentMonth),void 0===t&&(t=n.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]}},n.isMobile||function(){var e=window.document.createDocumentFragment();if(n.calendarContainer=co("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=co("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=co("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=co("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,M(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:function(){return n.__hidePrevMonthArrow},set:function(e){n.__hidePrevMonthArrow!==e&&(lo(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(lo(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],G(),n.monthNav)),n.innerContainer=co("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=co("div","flatpickr-weekwrapper");e.appendChild(co("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=co("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),i=t.weekWrapper,r=t.weekNumbers;n.innerContainer.appendChild(i),n.weekNumbers=r,n.weekWrapper=i}n.rContainer=co("div","flatpickr-rContainer"),n.rContainer.appendChild(L()),n.daysContainer||(n.daysContainer=co("div","flatpickr-days"),n.daysContainer.tabIndex=-1),w(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");var e=Lo(n.config);n.timeContainer=co("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=co("span","flatpickr-time-separator",":"),i=fo("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=i.getElementsByTagName("input")[0];var r=fo("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=r.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=ro(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=ro(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(i),n.timeContainer.appendChild(t),n.timeContainer.appendChild(r),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");var s=fo("flatpickr-second");n.secondElement=s.getElementsByTagName("input")[0],n.secondElement.value=ro(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(co("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(s)}n.config.time_24hr||(n.amPM=co("span","flatpickr-am-pm",n.l10n.amPM[so((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());lo(n.calendarContainer,"rangeMode","range"===n.config.mode),lo(n.calendarContainer,"animate",!0===n.config.animate),lo(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);var s=void 0!==n.config.appendTo&&void 0!==n.config.appendTo.nodeType;if((n.config.inline||n.config.static)&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!s&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):void 0!==n.config.appendTo&&n.config.appendTo.appendChild(n.calendarContainer)),n.config.static)){var o=co("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(o,n.element),o.appendChild(n.element),n.altInput&&o.appendChild(n.altInput),o.appendChild(n.calendarContainer)}n.config.static||n.config.inline||(void 0!==n.config.appendTo?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(n.element.querySelectorAll("[data-"+e+"]"),function(t){return u(t,"click",n[e])})});if(n.isMobile)return void function(){var e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=co("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",void 0!==n.altInput&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(e){}u(n.mobileInput,"change",function(e){n.setDate(mo(e).value,!1,n.mobileFormatStr),q("onChange"),q("onClose")})}();var e=oo(N,50);n._debouncedChange=oo(h,300),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",function(e){"range"===n.config.mode&&P(mo(e))});u(n._input,"keydown",I),void 0!==n.calendarContainer&&u(n.calendarContainer,"keydown",I);n.config.inline||n.config.static||u(window,"resize",e);void 0!==window.ontouchstart?u(window.document,"touchstart",D):u(window.document,"mousedown",D);u(window.document,"focus",D,{capture:!0}),!0===n.config.clickOpens&&(u(n._input,"focus",n.open),u(n._input,"click",n.open));void 0!==n.daysContainer&&(u(n.monthNav,"click",ee),u(n.monthNav,["keyup","increment"],d),u(n.daysContainer,"click",$));if(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement){var t=function(e){return mo(e).select()};u(n.timeContainer,["increment"],o),u(n.timeContainer,"blur",o,{capture:!0}),u(n.timeContainer,"click",m),u([n.hourElement,n.minuteElement],["focus","click"],t),void 0!==n.secondElement&&u(n.secondElement,"focus",function(){return n.secondElement&&n.secondElement.select()}),void 0!==n.amPM&&u(n.amPM,"click",function(e){o(e)})}n.config.allowInput&&u(n._input,"blur",E)}
2(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&l(n.config.noCalendar?n.latestSelectedDateObj:void 0),J(!1)),s();var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&i&&j(),q("onReady")}(),n}function Do(e,t){for(var n=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),i=[],r=0;r<n.length;r++){var s=n[r];try{if(null!==s.getAttribute("data-fp-omit"))continue;void 0!==s._flatpickr&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=Oo(s,t||{}),i.push(s._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return Do(this,e)},HTMLElement.prototype.flatpickr=function(e){return Do([this],e)});var Yo=function(e,t){return"string"==typeof e?Do(window.document.querySelectorAll(e),t):e instanceof Node?Do([e],t):Do(e,t)};Yo.defaultConfig={},Yo.l10ns={en:So({},io),default:So({},io)},Yo.localize=function(e){Yo.l10ns.default=So(So({},Yo.l10ns.default),e)},Yo.setDefaults=function(e){Yo.defaultConfig=So(So({},Yo.defaultConfig),e)},Yo.parseDate=wo({}),Yo.formatDate=vo({}),Yo.compareDates=ko,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return Do(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Yo);var Ao=Yo;function Co(e,t){for(var n in t)e[n]=t[n];return e}function Eo(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function Io(e,t){this.props=e,this.context=t}(Io.prototype=new Ie).isPureReactComponent=!0,Io.prototype.shouldComponentUpdate=function(e,t){return Eo(this.props,e)||Eo(this.state,t)};var Po=de.__b;de.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Po&&Po(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var No=de.__e;de.__e=function(e,t,n,i){if(e.then)for(var r,s=t;s=s.__;)if((r=s.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);No(e,t,n,i)};var Ro=de.unmount;function zo(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=Co({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return zo(e,t,n)})),e}function Ho(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Ho(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function jo(){this.__u=0,this.o=null,this.__b=null}function Fo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Bo(){this.i=null,this.l=null}de.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ro&&Ro(e)},(jo.prototype=new Ie).__c=function(e,t){var n=t.__c,i=this;null==i.o&&(i.o=[]),i.o.push(n);var r=Fo(i.__v),s=!1,o=function(){s||(s=!0,n.__R=null,r?r(a):a())};n.__R=o;var a=function(){if(! --i.__u){if(i.state.__a){var e=i.state.__a;i.__v.__k[0]=Ho(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__a:i.__b=null});t=i.o.pop();)t.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(o,o)},jo.prototype.componentWillUnmount=function(){this.o=[]},jo.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;
2this.__v.__k[0]=zo(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__a&&Ae(Ee,null,e.fallback);return r&&(r.__u&=-33),[Ae(Ee,null,t.__a?null:e.children),r]};var $o=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Wo(e){return this.getChildContext=function(){return e.context},e.children}function Uo(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){tt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var i=t.__v;null!==i&&!i.__m&&null!==i.__;)i=i.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}tt(Ae(Wo,{context:t.context},e.__v),t.v)}function Vo(e,t){var n=Ae(Uo,{__v:e,h:t});return n.containerInfo=t,n}(Bo.prototype=new Ie).__a=function(e){var t=this,n=Fo(t.__v),i=t.l.get(e);return i[0]++,function(r){var s=function(){t.props.revealOrder?(i.push(r),$o(t,e,i)):r()};n?n(s):s()}},Bo.prototype.render=function(e){this.i=null,this.l=new Map;var t=Be(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Bo.prototype.componentDidUpdate=Bo.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){$o(e,n,t)})};var Zo="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,qo=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Qo=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Xo=/[A-Z0-9]/g,Go="undefined"!=typeof document,Ko=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};Ie.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ie.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Jo=de.event;function ea(){}function ta(){return this.cancelBubble}function na(){return this.defaultPrevented}de.event=function(e){return Jo&&(e=Jo(e)),e.persist=ea,e.isPropagationStopped=ta,e.isDefaultPrevented=na,e.nativeEvent=e};var ia={enumerable:!1,configurable:!0,get:function(){return this.class}},ra=de.vnode;de.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,i={},r=-1===n.indexOf("-");for(var s in t){var o=t[s];if(!("value"===s&&"defaultValue"in t&&null==o||Go&&"children"===s&&"noscript"===n||"class"===s||"className"===s)){var a=s.toLowerCase();"defaultValue"===s&&"value"in t&&null==t.value?s="value":"download"===s&&!0===o?o="":"translate"===a&&"no"===o?o=!1:"o"===a[0]&&"n"===a[1]?"ondoubleclick"===a?s="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Ko(t.type)?"onfocus"===a?s="onfocusin":"onblur"===a?s="onfocusout":Qo.test(s)&&(s=a):a=s="oninput":r&&qo.test(s)?s=s.replace(Xo,"-$&").toLowerCase():null===o&&(o=void 0),"oninput"===a&&i[s=a]&&(s="oninputCapture"),i[s]=o}}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=Be(t.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==n&&null!=i.defaultValue&&(i.value=Be(t.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),t.class&&!t.className?(i.class=t.class,Object.defineProperty(i,"className",ia)):(t.className&&!t.class||t.class&&t.className)&&(i.class=i.className=t.className),e.props=i}(e),e.$$typeof=Zo,ra&&ra(e)};var sa=de.__r;de.__r=function(e){sa&&sa(e),e.__c};var oa=de.diffed;de.diffed=function(e){oa&&oa(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};const{entries:aa,setPrototypeOf:la,isFrozen:ca,getPrototypeOf:da,getOwnPropertyDescriptor:ua}=Object;let{freeze:ha,seal:fa,create:ma}=Object,{apply:pa,construct:ga}="undefined"!=typeof Reflect&&Reflect;ha||(ha=function(e){return e}),fa||(fa=function(e){return e}),pa||(pa=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return e.apply(t,i)}),ga||(ga=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new e(...n)});const ya=Ca(Array.prototype.forEach),_a=Ca(Array.prototype.lastIndexOf),ba=Ca(Array.prototype.pop),va=Ca(Array.prototype.push),wa=Ca(Array.prototype.splice),ka=Ca(String.prototype.toLowerCase),Ta=Ca(String.prototype.toString),Ma=Ca(String.prototype.match),La=Ca(String.prototype.replace),Sa=Ca(String.prototype.indexOf),xa=Ca(String.prototype.trim),Oa=Ca(Object.prototype.hasOwnProperty),Da=Ca(RegExp.prototype.test),Ya=(Aa=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ga(Aa,t)});var Aa;function Ca(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return pa(e,t,i)}}function Ea(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ka;la&&la(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=n(r);e!==r&&(ca(t)||(t[i]=e),r=e)}e[r]=!0}return e}function Ia(e){for(let t=0;t<e.length;t++){Oa(e,t)||(e[t]=null)}return e}function Pa(e){const t=ma(null);for(const[n,i]of aa(e)){Oa(e,n)&&(Array.isArray(i)?t[n]=Ia(i):i&&"object"==typeof i&&i.constructor===Object?t[n]=Pa(i):t[n]=i)}return t}function Na(e,t){for(;null!==e;){const n=ua(e,t);if(n){if(n.get)return Ca(n.get);if("function"==typeof n.value)return Ca(n.value)}e=da(e)}return function(){return null}}const Ra=ha(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),za=ha(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ha=ha(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ja=ha(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Fa=ha(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ba=ha(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$a=ha(["#text"]),Wa=ha(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ua=ha(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Va=ha(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Za=ha(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qa=fa(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Qa=fa(/<%[\w\W]*|[\w\W]*%>/gm),Xa=fa(/\$\{[\w\W]*/gm),Ga=fa(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ka=fa(/^aria-[\-\w]+$/),Ja=fa(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),el=fa(/^(?:\w+script|data):/i),tl=fa(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nl=fa(/^html$/i),il=fa(/^[a-z][.\w]*(-[.\w]+)+$/i);var rl=Object.freeze({__proto__:null,ARIA_ATTR:Ka,ATTR_WHITESPACE:tl,CUSTOM_ELEMENT:il,DATA_ATTR:Ga,DOCTYPE_NAME:nl,ERB_EXPR:Qa,IS_ALLOWED_URI:Ja,IS_SCRIPT_OR_DATA:el,MUSTACHE_EXPR:qa,TMPLIT_EXPR:Xa});const sl=1,ol=3,al=7,ll=8,cl=9,dl=function(){return"undefined"==typeof window?null:window};var ul=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dl();const n=t=>e(t);if(n.version="3.3.1",n.removed=[],!t||!t.document||t.document.nodeType!==cl||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const r=i,s=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:l,Element:c,NodeFilter:d,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:f,trustedTypes:m}=t,p=c.prototype,g=Na(p,"cloneNode"),y=Na(p,"remove"),_=Na(p,"nextSibling"),b=Na(p,"childNodes"),v=Na(p,"parentNode");if("function"==typeof a){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w,k="";const{implementation:T,createNodeIterator:M,createDocumentFragment:L,getElementsByTagName:S}=i,{importNode:x}=r;let O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof aa&&"function"==typeof v&&T&&void 0!==T.createHTMLDocument;const{MUSTACHE_EXPR:D,ERB_EXPR:Y,TMPLIT_EXPR:A,DATA_ATTR:C,ARIA_ATTR:E,IS_SCRIPT_OR_DATA:I,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:N}=rl;let{IS_ALLOWED_URI:R}=rl,z=null;const H=Ea({},[...Ra,...za,...Ha,...Fa,...$a]);let j=null;const F=Ea({},[...Wa,...Ua,...Va,...Za]);
vendor: 4,412 bytes, line 2
2let B=Object.seal(ma(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),$=null,W=null;const U=Object.seal(ma(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let V=!0,Z=!0,q=!1,Q=!0,X=!1,G=!0,K=!1,J=!1,ee=!1,te=!1,ne=!1,ie=!1,re=!0,se=!1,oe=!0,ae=!1,le={},ce=null;const de=Ea({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const he=Ea({},["audio","video","img","source","image","track"]);let fe=null;const me=Ea({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ye="http://www.w3.org/1999/xhtml";let _e=ye,be=!1,ve=null;const we=Ea({},[pe,ge,ye],Ta);let ke=Ea({},["mi","mo","mn","ms","mtext"]),Te=Ea({},["annotation-xml"]);const Me=Ea({},["title","style","font","a","script"]);let Le=null;const Se=["application/xhtml+xml","text/html"];let xe=null,Oe=null;const De=i.createElement("form"),Ye=function(e){return e instanceof RegExp||e instanceof Function},Ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Oe||Oe!==e){if(e&&"object"==typeof e||(e={}),e=Pa(e),Le=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,xe="application/xhtml+xml"===Le?Ta:ka,z=Oa(e,"ALLOWED_TAGS")?Ea({},e.ALLOWED_TAGS,xe):H,j=Oa(e,"ALLOWED_ATTR")?Ea({},e.ALLOWED_ATTR,xe):F,ve=Oa(e,"ALLOWED_NAMESPACES")?Ea({},e.ALLOWED_NAMESPACES,Ta):we,fe=Oa(e,"ADD_URI_SAFE_ATTR")?Ea(Pa(me),e.ADD_URI_SAFE_ATTR,xe):me,ue=Oa(e,"ADD_DATA_URI_TAGS")?Ea(Pa(he),e.ADD_DATA_URI_TAGS,xe):he,ce=Oa(e,"FORBID_CONTENTS")?Ea({},e.FORBID_CONTENTS,xe):de,$=Oa(e,"FORBID_TAGS")?Ea({},e.FORBID_TAGS,xe):Pa({}),W=Oa(e,"FORBID_ATTR")?Ea({},e.FORBID_ATTR,xe):Pa({}),le=!!Oa(e,"USE_PROFILES")&&e.USE_PROFILES,V=!1!==e.ALLOW_ARIA_ATTR,Z=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,G=!1!==e.SAFE_FOR_XML,K=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,se=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||Ja,_e=e.NAMESPACE||ye,ke=e.MATHML_TEXT_INTEGRATION_POINTS||ke,Te=e.HTML_INTEGRATION_POINTS||Te,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ye(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ye(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(Z=!1),ne&&(te=!0),le&&(z=Ea({},$a),j=[],!0===le.html&&(Ea(z,Ra),Ea(j,Wa)),!0===le.svg&&(Ea(z,za),Ea(j,Ua),Ea(j,Za)),!0===le.svgFilters&&(Ea(z,Ha),Ea(j,Ua),Ea(j,Za)),!0===le.mathMl&&(Ea(z,Fa),Ea(j,Va),Ea(j,Za))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?U.tagCheck=e.ADD_TAGS:(z===H&&(z=Pa(z)),Ea(z,e.ADD_TAGS,xe))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?U.attributeCheck=e.ADD_ATTR:(j===F&&(j=Pa(j)),Ea(j,e.ADD_ATTR,xe))),e.ADD_URI_SAFE_ATTR&&Ea(fe,e.ADD_URI_SAFE_ATTR,xe),e.FORBID_CONTENTS&&(ce===de&&(ce=Pa(ce)),Ea(ce,e.FORBID_CONTENTS,xe)),e.ADD_FORBID_CONTENTS&&(ce===de&&(ce=Pa(ce)),Ea(ce,e.ADD_FORBID_CONTENTS,xe)),oe&&(z["#text"]=!0),K&&Ea(z,["html","head","body"]),z.table&&(Ea(z,["tbody"]),delete $.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Ya('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Ya('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,k=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;
vendor: 4,271 bytes, line 2
2const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(m,s)),null!==w&&"string"==typeof k&&(k=w.createHTML(""));ha&&ha(e),Oe=e}},Ce=Ea({},[...za,...Ha,...ja]),Ee=Ea({},[...Fa,...Ba]),Ie=function(e){va(n.removed,{element:e});try{v(e).removeChild(e)}catch(t){y(e)}},Pe=function(e,t){try{va(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){va(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Ie(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Ma(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Le&&_e===ye&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?w.createHTML(e):e;if(_e===ye)try{t=(new f).parseFromString(r,Le)}catch(e){}if(!t||!t.documentElement){t=T.createDocument(_e,"template",null);try{t.documentElement.innerHTML=be?k:r}catch(e){}}const s=t.body||t.documentElement;return e&&n&&s.insertBefore(i.createTextNode(n),s.childNodes[0]||null),_e===ye?S.call(t,K?"html":"body")[0]:K?t.documentElement:s},Re=function(e){return M.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},ze=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof u)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},He=function(e){return"function"==typeof l&&e instanceof l};function je(e,t,i){ya(e,e=>{e.call(n,t,i,Oe)})}const Fe=function(e){let t=null;if(je(O.beforeSanitizeElements,e,null),ze(e))return Ie(e),!0;const i=xe(e.nodeName);if(je(O.uponSanitizeElement,e,{tagName:i,allowedTags:z}),G&&e.hasChildNodes()&&!He(e.firstElementChild)&&Da(/<[/\w!]/g,e.innerHTML)&&Da(/<[/\w!]/g,e.textContent))return Ie(e),!0;if(e.nodeType===al)return Ie(e),!0;if(G&&e.nodeType===ll&&Da(/<[/\w]/g,e.data))return Ie(e),!0;if(!(U.tagCheck instanceof Function&&U.tagCheck(i))&&(!z[i]||$[i])){if(!$[i]&&$e(i)){if(B.tagNameCheck instanceof RegExp&&Da(B.tagNameCheck,i))return!1;if(B.tagNameCheck instanceof Function&&B.tagNameCheck(i))return!1}if(oe&&!ce[i]){const t=v(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let i=n.length-1;i>=0;--i){const r=g(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return Ie(e),!0}return e instanceof c&&!function(e){let t=v(e);t&&t.tagName||(t={namespaceURI:_e,tagName:"template"});const n=ka(e.tagName),i=ka(t.tagName);return!!ve[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ye?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===i||ke[i]):Boolean(Ce[n]):e.namespaceURI===pe?t.namespaceURI===ye?"math"===n:t.namespaceURI===ge?"math"===n&&Te[i]:Boolean(Ee[n]):e.namespaceURI===ye?!(t.namespaceURI===ge&&!Te[i])&&!(t.namespaceURI===pe&&!ke[i])&&!Ee[n]&&(Me[n]||!Ce[n]):!("application/xhtml+xml"!==Le||!ve[e.namespaceURI]))}(e)?(Ie(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!Da(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===ol&&(t=e.textContent,ya([D,Y,A],e=>{t=La(t,e," ")}),e.textContent!==t&&(va(n.removed,{element:e.cloneNode()}),e.textContent=t)),je(O.afterSanitizeElements,e,null),!1):(Ie(e),!0)},Be=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in i||n in De))return!1;if(Z&&!W[t]&&Da(C,t));else if(V&&Da(E,t));else if(U.attributeCheck instanceof Function&&U.attributeCheck(t,e));else if(!j[t]||W[t]){if(!($e(e)&&(B.tagNameCheck instanceof RegExp&&Da(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&Da(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&Da(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(fe[t]);else if(Da(R,La(n,P,"")));
2else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Sa(n,"data:")||!ue[e]){if(q&&!Da(I,La(n,P,"")));else if(n)return!1}else;return!0},$e=function(e){return"annotation-xml"!==e&&Ma(e,N)},We=function(e){je(O.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ze(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:j,forceKeepAttr:void 0};let r=t.length;for(;r--;){const s=t[r],{name:o,namespaceURI:a,value:l}=s,c=xe(o),d=l;let u="value"===o?d:xa(d);if(i.attrName=c,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,je(O.uponSanitizeAttribute,e,i),u=i.attrValue,!se||"id"!==c&&"name"!==c||(Pe(o,e),u="user-content-"+u),G&&Da(/((--!?|])>)|<\/(style|title|textarea)/i,u)){Pe(o,e);continue}if("attributename"===c&&Ma(u,"href")){Pe(o,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Pe(o,e);continue}if(!Q&&Da(/\/>/i,u)){Pe(o,e);continue}X&&ya([D,Y,A],e=>{u=La(u,e," ")});const h=xe(e.nodeName);if(Be(h,c,u)){if(w&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(a);else switch(m.getAttributeType(h,c)){case"TrustedHTML":u=w.createHTML(u);break;case"TrustedScriptURL":u=w.createScriptURL(u)}if(u!==d)try{a?e.setAttributeNS(a,o,u):e.setAttribute(o,u),ze(e)?Ie(e):ba(n.removed)}catch(t){Pe(o,e)}}else Pe(o,e)}je(O.afterSanitizeAttributes,e,null)},Ue=function e(t){let n=null;const i=Re(t);for(je(O.beforeSanitizeShadowDOM,t,null);n=i.nextNode();)je(O.uponSanitizeShadowNode,n,null),Fe(n),We(n),n.content instanceof o&&e(n.content);je(O.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,s=null,a=null,c=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!=typeof e&&!He(e)){if("function"!=typeof e.toString)throw Ya("toString is not a function");if("string"!=typeof(e=e.toString()))throw Ya("dirty is not a string, aborting")}if(!n.isSupported)return e;if(J||Ae(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=xe(e.nodeName);if(!z[t]||$[t])throw Ya("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)i=Ne("\x3c!----\x3e"),s=i.ownerDocument.importNode(e,!0),s.nodeType===sl&&"BODY"===s.nodeName||"HTML"===s.nodeName?i=s:i.appendChild(s);else{if(!te&&!X&&!K&&-1===e.indexOf("<"))return w&&ie?w.createHTML(e):e;if(i=Ne(e),!i)return te?null:ie?k:""}i&&ee&&Ie(i.firstChild);const d=Re(ae?e:i);for(;a=d.nextNode();)Fe(a),We(a),a.content instanceof o&&Ue(a.content);if(ae)return e;if(te){if(ne)for(c=L.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(j.shadowroot||j.shadowrootmode)&&(c=x.call(r,c,!0)),c}let u=K?i.outerHTML:i.innerHTML;return K&&z["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Da(nl,i.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+u),X&&ya([D,Y,A],e=>{u=La(u,e," ")}),w&&ie?w.createHTML(u):u},n.setConfig=function(){Ae(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){Oe=null,J=!1},n.isValidAttribute=function(e,t,n){Oe||Ae({});const i=xe(e),r=xe(t);return Be(i,r,n)},n.addHook=function(e,t){"function"==typeof t&&va(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=_a(O[e],t);return-1===n?void 0:wa(O[e],n,1)[0]}return ba(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const hl=/^class[ {]/;function fl(e){return Array.isArray(e)}function ml(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function pl(...e){1===e.length&&fl(e[0])&&(e=e[0]);const t=(e=[...e]).pop();return t.$inject=e,t}const gl=/constructor\s*[^(]*\(\s*([^)]*)\)/m,yl=/^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m,_l=/\/\*([^*]*)\*\//m;function bl(e){if("function"!=typeof e)throw new Error(`Cannot annotate "${e}". Expected a function!`);const t=e.toString().match(function(e){return hl.test(e.toString())}(e)?gl:yl);if(!t)return[];const n=t[1]||t[2];return n&&n.split(",").map(e=>{const t=e.match(_l);return(t&&t[1]||e).trim()})||[]}function vl(e,t){const n=t||{get:function(e,t){if(i.push(e),!1===t)return null;throw a(`No provider for "${e}"!`)}},i=[],r=this._providers=Object.create(n._providers||null),s=this._instances=Object.create(null),o=s.injector=this,a=function(e){const t=i.join(" -> ");return i.length=0,new Error(t?`${e} (Resolving: ${t})`:e)};function l(e,t){if(!r[e]&&e.includes(".")){const t=e.split(".");let n=l(t.shift());for(;t.length;)n=n[t.shift()];return n}if(ml(s,e))return s[e];if(ml(r,e)){if(-1!==i.indexOf(e))throw i.push(e),a("Cannot resolve circular dependency!");return i.push(e),s[e]=r[e][0](r[e][1]),i.pop(),s[e]}return n.get(e,t)}function c(e,t){if(void 0===t&&(t={}),"function"!=typeof e){if(!fl(e))throw a(`Cannot invoke "${e}". Expected a function!`);e=pl(e.slice())}
vendor: 4,641 bytes, line 2
2return{fn:e,dependencies:(e.$inject||bl(e)).map(e=>ml(t,e)?t[e]:l(e))}}function d(e){const{fn:t,dependencies:n}=c(e);return new(Function.prototype.bind.call(t,null,...n))}function u(e,t,n){const{fn:i,dependencies:r}=c(e,n);return i.apply(t,r)}function h(e){return pl(t=>e.get(t))}function f(e,t){if(t&&t.length){const n=Object.create(null),i=Object.create(null),s=[],o=[],a=[];let l,c,d,u;for(let e in r)l=r[e],-1!==t.indexOf(e)&&("private"===l[2]?(c=s.indexOf(l[3]),-1===c?(d=l[3].createChild([],t),u=h(d),s.push(l[3]),o.push(d),a.push(u),n[e]=[u,e,"private",d]):n[e]=[a[c],e,"private",o[c]]):n[e]=[l[2],l[1]],i[e]=!0),"factory"!==l[2]&&"type"!==l[2]||!l[1].$scope||t.forEach(t=>{-1!==l[1].$scope.indexOf(t)&&(n[e]=[l[2],l[1]],i[t]=!0)});t.forEach(e=>{if(!i[e])throw new Error('No provider for "'+e+'". Cannot use provider from the parent!')}),e.unshift(n)}return new vl(e,o)}const m={factory:u,type:d,value:function(e){return e}};function p(e,t){const n=e.__init__||[];return function(){n.forEach(e=>{"string"==typeof e?t.get(e):t.invoke(e)})}}function g(e){const t=e.__exports__;if(t){const n=e.__modules__,i=Object.keys(e).reduce((t,n)=>("__exports__"!==n&&"__modules__"!==n&&"__init__"!==n&&"__depends__"!==n&&(t[n]=e[n]),t),Object.create(null)),s=f((n||[]).concat(i)),o=pl(function(e){return s.get(e)});t.forEach(function(e){r[e]=[o,e,"private",s]});const a=(e.__init__||[]).slice();return a.unshift(function(){s.init()}),p(e=Object.assign({},e,{__init__:a}),s)}return Object.keys(e).forEach(function(t){if("__init__"===t||"__depends__"===t)return;const n=e[t];if("private"===n[2])return void(r[t]=n);const i=n[0],s=n[1];r[t]=[m[i],wl(i,s),i]}),p(e,o)}function y(e,t){return-1!==e.indexOf(t)||-1!==(e=(t.__depends__||[]).reduce(y,e)).indexOf(t)?e:e.concat(t)}this.get=l,this.invoke=u,this.instantiate=d,this.createChild=f,this.init=function(e){const t=e.reduce(y,[]).map(g);let n=!1;return function(){n||(n=!0,t.forEach(e=>e()))}}(e)}function wl(e,t){return"value"!==e&&fl(t)&&(t=pl(t.slice())),t}const kl=1024;let Tl=0;class Ml{constructor(e,t){this.from=e,this.to=t}}class Ll{constructor(e={}){this.id=Tl++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=Ol.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}Ll.closedBy=new Ll({deserialize:e=>e.split(" ")}),Ll.openedBy=new Ll({deserialize:e=>e.split(" ")}),Ll.group=new Ll({deserialize:e=>e.split(" ")}),Ll.isolate=new Ll({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),Ll.contextHash=new Ll({perNode:!0}),Ll.lookAhead=new Ll({perNode:!0}),Ll.mounted=new Ll({perNode:!0});class Sl{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[Ll.mounted.id]}}const xl=Object.create(null);class Ol{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):xl,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new Ol(e.name||"",t,e.id,n);if(e.props)for(let n of e.props)if(Array.isArray(n)||(n=n(i)),n){if(n[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(Ll.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(Ll.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}Ol.none=new Ol("",Object.create(null),0,8);class Dl{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let i=null;for(let t of e){let e=t(n);if(e){i||(i=Object.assign({},n.props));let t=e[1],r=e[0];r.combine&&r.id in i&&(t=r.combine(i[r.id],t)),i[r.id]=t}}t.push(i?new Ol(n.name,i,n.id,n.flags):n)}return new Dl(t)}}const Yl=new WeakMap,Al=new WeakMap;var Cl;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(Cl||(Cl={}));
vendor: 1,727 bytes, line 2
2class El{constructor(e,t,n,i,r){if(this.type=e,this.children=t,this.positions=n,this.length=i,this.props=null,r&&r.length){this.props=Object.create(null);for(let[e,t]of r)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=Sl.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new Vl(this.topNode,e)}cursorAt(e,t=0,n=0){let i=Yl.get(this)||this.topNode,r=new Vl(i);return r.moveTo(e,t),Yl.set(this,r._tree),r}get topNode(){return new Hl(this,0,0,null)}resolve(e,t=0){let n=Rl(Yl.get(this)||this.topNode,e,t,!1);return Yl.set(this,n),n}resolveInner(e,t=0){let n=Rl(Al.get(this)||this.topNode,e,t,!0);return Al.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let i=e.resolveInner(t,n),r=null;for(let e=i instanceof Hl?i:i.context.parent;e;e=e.parent)if(e.index<0){let s=e.parent;(r||(r=[i])).push(s.resolve(t,n)),e=s}else{let s=Sl.get(e.tree);if(s&&s.overlay&&s.overlay[0].from<=t&&s.overlay[s.overlay.length-1].to>=t){let o=new Hl(s.tree,s.overlay[0].from+e.from,-1,e);(r||(r=[i])).push(Rl(o,t,n,!1))}}return r?Wl(r):i}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:r=this.length}=e,s=e.mode||0,o=(s&Cl.IncludeAnonymous)>0;for(let e=this.cursor(s|Cl.IncludeAnonymous);;){let s=!1;if(e.from<=r&&e.to>=i&&(!o&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;s=!0}for(;s&&n&&(o||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;s=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];
vendor: 1,414 bytes, line 2
2if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:Xl(Ol.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new El(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new El(Ol.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=kl,reused:s=[],minRepeatType:o=i.types.length}=e,a=Array.isArray(n)?new Il(n,n.length):n,l=i.types,c=0,d=0;function u(e,t,n,_,b,v){let{id:w,start:k,end:T,size:M}=a,L=d,S=c;if(M<0){if(a.next(),-1==M){let t=s[w];return n.push(t),void _.push(k-e)}if(-3==M)return void(c=w);if(-4==M)return void(d=w);throw new RangeError(`Unrecognized record size: ${M}`)}let x,O,D=l[w],Y=k-e;if(T-k<=r&&(O=g(a.pos-t,b))){let t=new Uint16Array(O.size-O.skip),n=a.pos-O.size,r=t.length;for(;a.pos>n;)r=y(O.start,t,r);x=new Pl(t,T-O.start,i),Y=O.start-e}else{let e=a.pos-M;a.next();let t=[],n=[],i=w>=o?w:-1,s=0,l=T;for(;a.pos>e;)i>=0&&a.id==i&&a.size>=0?(a.end<=l-r&&(m(t,n,k,s,a.end,l,i,L,S),s=t.length,l=a.end),a.next()):v>2500?h(k,e,t,n):u(k,e,t,n,i,v+1);if(i>=0&&s>0&&s<t.length&&m(t,n,k,s,k,l,i,L,S),t.reverse(),n.reverse(),i>-1&&s>0){let e=f(D,S);x=Xl(D,t,n,0,t.length,0,T-k,e,e)}else x=p(D,t,n,T-k,L-T,S)}n.push(x),_.push(Y)}function h(e,t,n,s){let o=[],l=0,c=-1;for(;a.pos>t;){let{id:e,start:t,end:n,size:i}=a;if(i>4)a.next();else{if(c>-1&&t<c)break;
vendor: 8,486 bytes, line 2
2c<0&&(c=n-r),o.push(e,t,n),l++,a.next()}}if(l){let t=new Uint16Array(4*l),r=o[o.length-2];for(let e=o.length-3,n=0;e>=0;e-=3)t[n++]=o[e],t[n++]=o[e+1]-r,t[n++]=o[e+2]-r,t[n++]=n;n.push(new Pl(t,o[2]-r,i)),s.push(r-e)}}function f(e,t){return(n,i,r)=>{let s,o,a=0,l=n.length-1;if(l>=0&&(s=n[l])instanceof El){if(!l&&s.type==e&&s.length==r)return s;(o=s.prop(Ll.lookAhead))&&(a=i[l]+s.length+o)}return p(e,n,i,r,a,t)}}function m(e,t,n,r,s,o,a,l,c){let d=[],u=[];for(;e.length>r;)d.push(e.pop()),u.push(t.pop()+n-s);e.push(p(i.types[a],d,u,o-s,l-o,c)),t.push(s-n)}function p(e,t,n,i,r,s,o){if(s){let e=[Ll.contextHash,s];o=o?[e].concat(o):[e]}if(r>25){let e=[Ll.lookAhead,r];o=o?[e].concat(o):[e]}return new El(e,t,n,i,o)}function g(e,t){let n=a.fork(),i=0,s=0,l=0,c=n.end-r,d={size:0,start:0,skip:0};e:for(let r=n.pos-e;n.pos>r;){let e=n.size;if(n.id==t&&e>=0){d.size=i,d.start=s,d.skip=l,l+=4,i+=4,n.next();continue}let a=n.pos-e;if(e<0||a<r||n.start<c)break;let u=n.id>=o?4:0,h=n.start;for(n.next();n.pos>a;){if(n.size<0){if(-3!=n.size&&-4!=n.size)break e;u+=4}else n.id>=o&&(u+=4);n.next()}s=h,i+=e,l+=u}return(t<0||i==e)&&(d.size=i,d.start=s,d.skip=l),d.size>4?d:void 0}function y(e,t,n){let{id:i,start:r,end:s,size:l}=a;if(a.next(),l>=0&&i<o){let o=n;if(l>4){let i=a.pos-(l-4);for(;a.pos>i;)n=y(e,t,n)}t[--n]=o,t[--n]=s-e,t[--n]=r-e,t[--n]=i}else-3==l?c=i:-4==l&&(d=i);return n}let _=[],b=[];for(;a.pos>0;)u(e.start||0,e.bufferStart||0,_,b,-1,0);let v=null!==(t=e.length)&&void 0!==t?t:_.length?b[0]+_[0].length:0;return new El(l[e.topID],_.reverse(),b.reverse(),v)}(e)}}El.empty=new El(Ol.none,[],[],0);class Il{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Il(this.buffer,this.index)}}class Pl{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return Ol.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],i=this.set.types[t],r=i.name;if(/\W/.test(r)&&!i.isError&&(r=JSON.stringify(r)),n==(e+=4))return r;let s=[];for(;e<n;)s.push(this.childString(e)),e=this.buffer[e+3];return r+"("+s.join(",")+")"}findChild(e,t,n,i,r){let{buffer:s}=this,o=-1;for(let a=e;a!=t&&!(Nl(r,i,s[a+1],s[a+2])&&(o=a,n>0));a=s[a+3]);return o}slice(e,t,n){let i=this.buffer,r=new Uint16Array(t-e),s=0;for(let o=e,a=0;o<t;){r[a++]=i[o++],r[a++]=i[o++]-n;let t=r[a++]=i[o++]-n;r[a++]=i[o++]-e,s=Math.max(s,t)}return new Pl(r,s,this.set)}}function Nl(e,t,n,i){switch(e){case-2:return n<t;case-1:return i>=t&&n<t;case 0:return n<t&&i>t;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function Rl(e,t,n,i){for(var r;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!i&&e instanceof Hl&&e.index<0?null:e.parent;if(!t)return e;e=t}let s=i?0:Cl.IgnoreOverlays;if(i)for(let i=e,o=i.parent;o;i=o,o=i.parent)i instanceof Hl&&i.index<0&&(null===(r=o.enter(t,n,s))||void 0===r?void 0:r.from)!=i.from&&(e=o);for(;;){let i=e.enter(t,n,s);if(!i)return e;e=i}}class zl{cursor(e=0){return new Vl(this,e)}getChild(e,t=null,n=null){let i=jl(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return jl(this,e,t,n)}resolve(e,t=0){return Rl(this,e,t,!1)}resolveInner(e,t=0){return Rl(this,e,t,!0)}matchContext(e){return Fl(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class Hl extends zl{constructor(e,t,n,i){super(),this._tree=e,this.from=t,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,r=0){for(let s=this;;){for(let{children:o,positions:a}=s._tree,l=t>0?o.length:-1;e!=l;e+=t){let l=o[e],c=a[e]+s.from;if(Nl(i,n,c,c+l.length))if(l instanceof Pl){if(r&Cl.ExcludeBuffers)continue;let o=l.findChild(0,l.buffer.length,t,n-c,i);if(o>-1)return new $l(new Bl(s,l,e,c),null,o)}else if(r&Cl.IncludeAnonymous||!l.type.isAnonymous||Zl(l)){let o;if(!(r&Cl.IgnoreMounts)&&(o=Sl.get(l))&&!o.overlay)return new Hl(o.tree,c,e,s);let a=new Hl(l,c,e,s);return r&Cl.IncludeAnonymous||!a.type.isAnonymous?a:a.nextChild(t<0?l.children.length-1:0,t,n,i)}}if(r&Cl.IncludeAnonymous||!s.type.isAnonymous)return null;if(e=s.index>=0?s.index+t:t<0?-1:s._parent._tree.children.length,s=s._parent,!s)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let i;if(!(n&Cl.IgnoreOverlays)&&(i=Sl.get(this._tree))&&i.overlay){let n=e-this.from;for(let{from:e,to:r}of i.overlay)if((t>0?e<=n:e<n)&&(t<0?r>=n:r>n))return new Hl(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function jl(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n)for(let e=!1;!e;)if(e=r.type.is(n),!r.nextSibling())return s;for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function Fl(e,t,n=t.length-1){for(let i=e;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class Bl{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class $l extends zl{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new $l(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&Cl.ExcludeBuffers)return null;let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new $l(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new $l(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new $l(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];e.push(n.slice(i,r,s)),t.push(0)}return new El(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Wl(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let r=e[i];(r.from>n.from||r.to<n.to)&&(n=r,t=i)}let i=n instanceof Hl&&n.index<0?null:n.parent,r=e.slice();return i?r[t]=i:r.splice(t,1),new Ul(r,n)}class Ul{constructor(e,t){this.heads=e,this.node=t}get next(){return Wl(this.heads)}}class Vl{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Hl)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;
vendor: 5,247 bytes, line 2
2for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof Hl?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&Cl.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Cl.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Cl.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(i.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;({index:t,_parent:n}=n))if(t>-1)for(let i=t+e,r=e<0?-1:n._tree.children.length;i!=r;i+=e){let e=n._tree.children[i];if(this.mode&Cl.IncludeAnonymous||e instanceof Pl||!e.type.isAnonymous||Zl(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let i=this.index,r=this.stack.length;r>=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break e}i=this.stack[--r]}for(let e=n;e<this.stack.length;e++)t=new $l(this.buffer,t,this.stack[e]);return this.bufferNode=new $l(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let i=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;;){if(i&&t&&t(this),i=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return Fl(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let i=e.length-1,r=this.stack.length-1;i>=0;r--){if(r<0)return Fl(this._tree,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function Zl(e){return e.children.some(e=>e instanceof Pl||!e.type.isAnonymous||Zl(e))}const ql=new WeakMap;function Ql(e,t){if(!e.isAnonymous||t instanceof Pl||t.type!=e)return 1;let n=ql.get(t);if(null==n){n=1;for(let i of t.children){if(i.type!=e||!(i instanceof El)){n=1;break}n+=Ql(e,i)}ql.set(t,n)}return n}function Xl(e,t,n,i,r,s,o,a,l){let c=0;for(let n=i;n<r;n++)c+=Ql(e,t[n]);let d=Math.ceil(1.5*c/8),u=[],h=[];return function t(n,i,r,o,a){for(let c=r;c<o;){let r=c,f=i[c],m=Ql(e,n[c]);for(c++;c<o;c++){let t=Ql(e,n[c]);if(m+t>=d)break;m+=t}if(c==r+1){if(m>d){let e=n[r];t(e.children,e.positions,0,e.children.length,i[r]+a);continue}u.push(n[r])}else{let t=i[c-1]+n[c-1].length-f;u.push(Xl(e,n,i,r,c,f,t,null,l))}h.push(f+a-s)}}(t,n,i,r,0),(a||l)(u,h,o)}class Gl{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new Gl(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&i.push(n);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o<t.length?t[o]:null,d=c?c.fromA:1e9;if(d-a>=n)for(;s&&s.from<d;){let t=s;if(a>=t.from||d<=t.to||l){let e=Math.max(t.from,a)-l,n=Math.min(t.to,d)-l;t=e>=n?null:new Gl(e,n,t.tree,t.offset+l,o>
vendor: 12,203 bytes, line 2
20,!!c)}if(t&&i.push(t),s.to>d)break;s=r<e.length?e[r++]:null}if(!c)break;a=c.toA,l=c.toA-c.toB}return i}}class Kl{startParse(e,t,n){return"string"==typeof e&&(e=new Jl(e)),n=n?n.length?n.map(e=>new Ml(e.from,e.to)):[new Ml(0,0)]:[new Ml(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let e=i.advance();if(e)return e}}}class Jl{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}class ec{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.from=r}}function tc(e){if(!e.length||e.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class nc{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}const ic=new Ll({perNode:!0});class rc{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new El(e.type,e.children,e.positions,e.length,e.propValues.concat([[ic,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[Ll.mounted.id]=new Sl(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new cc(this.fragments),t=null,n=null,i=new Vl(new Hl(this.baseTree,this.ranges[0].from,0,null),Cl.IncludeAnonymous|Cl.IgnoreMounts);e:for(let r,s;;){let o,a=!0;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)a=!1;else if(e.hasNode(i)){if(t){let e=t.mounts.find(e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let r=n.from+e.pos,s=n.to+e.pos;r>=i.from&&s<=i.to&&!t.ranges.some(e=>e.from<s&&e.to>r)&&t.ranges.push({from:r,to:s})}}a=!1}else if(n&&(s=sc(n.ranges,i.from,i.to)))a=2!=s;else if(!i.type.isAnonymous&&(r=this.nest(i,this.input))&&(i.from<i.to||!r.overlay)){i.tree||(ac(i),t&&t.depth++,n&&n.depth++);let s=e.findMounts(i.from,r.parser);if("function"==typeof r.overlay)t=new nc(r.parser,r.overlay,s,this.inner.length,i.from,i.tree,t);else{let e=dc(this.ranges,r.overlay||(i.from<i.to?[new Ml(i.from,i.to)]:[]));e.length&&tc(e),!e.length&&r.overlay||this.inner.push(new ec(r.parser,e.length?r.parser.startParse(this.input,hc(s,e),e):r.parser.startParse(""),r.overlay?r.overlay.map(e=>new Ml(e.from-i.from,e.to-i.from)):null,i.tree,e.length?e[0].from:i.from)),r.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):a=!1}}else if(t&&(o=t.predicate(i))&&(!0===o&&(o=new Ml(i.from,i.to)),o.from<o.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==o.from?t.ranges[e]={from:t.ranges[e].from,to:o.to}:t.ranges.push(o)}if(a&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(t&&! --t.depth){let e=dc(this.ranges,t.ranges);e.length&&(tc(e),this.inner.splice(t.index,0,new ec(t.parser,t.parser.startParse(this.input,hc(t.mounts,e),e),t.ranges.map(e=>new Ml(e.from-t.start,e.to-t.start)),t.target,e[0].from))),t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}function sc(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}function oc(e,t,n,i,r,s){if(t<n){let o=e.buffer[t+1];i.push(e.slice(t,n,o)),r.push(o-s)}}function ac(e){let{node:t}=e,n=[],i=t.context.buffer;do{n.push(e.index),e.parent()}while(!e.tree);let r=e.tree,s=r.children.indexOf(i),o=r.children[s],a=o.buffer,l=[s];r.children[s]=function e(i,r,s,c,d,u){let h=n[u],f=[],m=[];oc(o,i,h,f,m,c);let p=a[h+1],g=a[h+2];l.push(f.length);let y=u?e(h+4,a[h+3],o.set.types[a[h]],p,g-p,u-1):t.toTree();return f.push(y),m.push(p-c),oc(o,a[h+3],r,f,m,c),new El(s,f,m,d)}(0,a.length,Ol.none,0,o.length,n.length-1);for(let t of l){let n=e.tree.children[t],i=e.tree.positions[t];e.yield(new Hl(n,i+e.from,t,e._tree))}}class lc{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Cl.IncludeAnonymous|Cl.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,Cl.IgnoreOverlays|Cl.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof El))break;t=t.children[0]}return!1}}class cc{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(ic))&&void 0!==t?t:n.to,this.inner=new lc(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(ic))&&void 0!==e?e:t.to,this.inner=new lc(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let r=null===(n=e.tree)||void 0===n?void 0:n.prop(Ll.mounted);if(r&&r.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&i.push({frag:n,pos:e.from-n.offset,mount:r})}}}return i}}function dc(e,t){let n=null,i=t;for(let r=1,s=0;r<e.length;r++){let o=e[r-1].to,a=e[r].from;for(;s<i.length;s++){let e=i[s];if(e.from>=a)break;e.to<=o||(n||(i=n=t.slice()),e.from<o?(n[s]=new Ml(e.from,o),e.to>a&&n.splice(s+1,0,new Ml(a,e.to))):e.to>a?n[s--]=new Ml(a,e.to):n.splice(s--,1))}}return i}function uc(e,t,n,i){let r=0,s=0,o=!1,a=!1,l=-1e9,c=[];for(;;){let d=r==e.length?1e9:o?e[r].to:e[r].from,u=s==t.length?1e9:a?t[s].to:t[s].from;if(o!=a){let e=Math.max(l,n),t=Math.min(d,u,i);e<t&&c.push(new Ml(e,t))}if(l=Math.min(d,u),1e9==l)break;d==l&&(o?(o=!1,r++):o=!0),u==l&&(a?(a=!1,s++):a=!0)}return c}function hc(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let e=i+(r.overlay?r.overlay[0].from:0),o=e+r.tree.length,a=Math.max(s.from,e),l=Math.min(s.to,o);if(r.overlay){let o=uc(t,r.overlay.map(e=>new Ml(e.from+i,e.to+i)),a,l);for(let t=0,i=a;;t++){let a=t==o.length,c=a?l:o[t].from;if(c>i&&n.push(new Gl(i,c,r.tree,-e,s.from>=i||s.openStart,s.to<=c||s.openEnd)),a)break;i=o[t].to}}else n.push(new Gl(a,l,r.tree,-e,s.from>=e||s.openStart,s.to<=o||s.openEnd))}return n}class fc{constructor(e,t,n,i,r,s,o,a,l,c=0,d){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=d}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new fc(e,[],t,n,n,0,[],0,i?new mc(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,i=65535&e,{parser:r}=this.p,s=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),o=r.dynamicPrecedence(i);if(o&&(this.score+=o),0==n)return this.pushState(r.getGoto(this.state,i,!0),this.reducePos),i<r.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,s?8:4,!0),void this.reduceContext(i,this.reducePos);let a=this.stack.length-3*(n-1)-(262144&e?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[i])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let d=a?this.stack[a-1]:0,u=this.bufferBase+this.buffer.length-d;if(i<r.minRepeatTerm||131072&e){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,e,u+4,!0)}if(262144&e)this.state=this.stack[a];else{let e=this.stack[a-3];this.state=r.getGoto(e,i,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(i,l)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,i=this.buffer.length;if(0==i&&e.parent&&(i=e.bufferBase-e.parent.bufferBase,e=e.parent),i>0&&0==e.buffer[i-4]&&e.buffer[i-1]>-1){if(t==n)return;if(e.buffer[i-2]>=t)return void(e.buffer[i-2]=n)}}if(r&&this.pos!=n){let r=this.buffer.length;if(r>0&&(0!=this.buffer[r-4]||this.buffer[r-1]<0)){let e=!1;for(let t=r;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;r>0&&this.buffer[r-2]>n;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,i>4&&(i-=4)}this.buffer[r]=e,this.buffer[r+1]=t,this.buffer[r+2]=n,this.buffer[r+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n,i){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=i,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,i,4);else{let r=e,{parser:s}=this.p;(i>this.pos||t<=s.maxNode)&&(this.pos=i,s.stateFlag(r,1)||(this.reducePos=i)),this.pushState(r,n),this.shiftContext(t,n),t<=s.maxNode&&this.buffer.push(t,n,i,4)}}apply(e,t,n,i){65536&e?this.reduce(e):this.shift(e,t,n,i)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new fc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new pc(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(!(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i,r=0;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let i=t[e+1];n.some((e,t)=>1&t&&e==i)||n.push(t[e],i)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let i=t[e+1];if(i==this.state)continue;let r=this.split();r.pushState(i,this.pos),r.storeNode(0,r.pos,r.pos,4,!0),r.shiftContext(t[e],this.pos),r.reducePos=this.pos,r.score-=200,n.push(r)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,i=65535&t,r=this.stack.length-3*n;if(r<0||e.getGoto(this.stack[r],i,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(i,r)=>{if(!t.includes(i))return t.push(i),e.allActions(i,t=>{if(393216&t);else if(65536&t){let n=(t>>
vendor: 37,425 bytes, line 2
219)-r;if(n>1){let i=65535&t,r=this.stack.length-3*n;if(r>=0&&e.getGoto(this.stack[r],i,!1)>=0)return n<<19|65536|i}}else{let e=n(t,r+1);if(null!=e)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new mc(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class mc{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class pc{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class gc{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new gc(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new gc(this.stack,this.pos,this.index)}}function yc(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i<e.length;){let s=0;for(;;){let t=e.charCodeAt(i++),n=!1;if(126==t){s=65535;break}t>=92&&t--,t>=34&&t--;let r=t-32;if(r>=46&&(r-=46,n=!0),s+=r,n)break;s*=46}n?n[r++]=s:n=new t(s)}return n}class _c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const bc=new _c;class vc{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=bc,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;r<n.from;){if(!i)return null;let e=this.ranges[--i];r-=n.from-e.to,n=e}for(;t<0?r>n.to:r>=n.to;){if(i==this.ranges.length-1)return null;let e=this.ranges[++i];r+=e.from-n.to,n=e}return r}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,i=this.chunkOff+e;if(i>=0&&i<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(i);else{let i=this.resolveOffset(e,1);if(null==i)return-1;if(t=i,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,i=this.range;for(;i.to<=t;)i=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>i.to&&(this.chunk2=this.chunk2.slice(0,i.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=bc,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class wc{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;Tc(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}wc.prototype.contextual=wc.prototype.fallback=wc.prototype.extend=!1;wc.prototype.fallback=wc.prototype.extend=!1;class kc{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function Tc(e,t,n,i,r,s){let o=0,a=1<<i,{dialect:l}=n.p.parser;e:for(;0!=(a&e[o]);){let n=e[o+1];for(let i=o+3;i<n;i+=2)if((e[i+1]&a)>0){let n=e[i];if(l.allows(n)&&(-1==t.token.value||t.token.value==n||Lc(n,t.token.value,r,s))){t.acceptToken(n);break}}let i=t.next,c=0,d=e[o+2];if(!(t.next<0&&d>c&&65535==e[n+3*d-3])){for(;c<d;){let r=c+d>>1,s=n+r+(r<<1),a=e[s],l=e[s+1]||65536;if(i<a)d=r;else{if(!(i>=l)){o=e[s+2],t.advance();continue e}c=r+1}}break}o=e[n+3*d-1]}}function Mc(e,t,n){for(let i,r=t;65535!=(i=e[r]);r++)if(i==n)return r-t;return-1}function Lc(e,t,n,i){let r=Mc(n,i,t);return r<0||Mc(n,i,e)<r}const Sc="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG);let xc=null;function Oc(e,t,n){let i=e.cursor(Cl.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.to<t:i.from>t)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}class Dc{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Oc(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Oc(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let r=n.children[i],s=this.start[t]+n.positions[i];if(s>e)return this.nextStart=s,null;if(r instanceof El){if(s==e){if(s<this.safeFrom)return null;let e=s+r.length;if(e<=this.safeTo){let t=r.prop(Ll.lookAhead);if(!t||e+t<this.fragment.to)return r}}this.index[t]++,s+r.length>=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class Yc{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new _c)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let i=0;i<r.length;i++){if(!(1<<i&s))continue;let l=r[i],c=this.tokens[i];if((!n||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=s||c.context!=o)&&(this.updateCachedToken(c,l,e),c.mask=s,c.context=o),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let i=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(n=c,t>i))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new _c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new _c,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:t}=n.p;for(let i=0;i<t.specialized.length;i++)if(t.specialized[i]==e.value){let r=t.specializers[i](this.stream.read(e.start,e.end),n);if(r>=0&&n.p.parser.dialect.allows(r>>1)){1&r?e.extended=r>>1:e.value=r>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let t=0;t<i;t+=3)if(this.actions[t]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=n,i}addActions(e,t,n,i){let{state:r}=e,{parser:s}=e.p,{data:o}=s;for(let e=0;e<2;e++)for(let a=s.stateSlot(r,e?2:1);;a+=3){if(65535==o[a]){if(1!=o[a+1]){0==i&&2==o[a+1]&&(i=this.putAction(Rc(o,a+2),t,n,i));break}a=Rc(o,a+2)}o[a]==t&&(i=this.putAction(Rc(o,a+1),t,n,i))}return i}}class Ac{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new vc(t,i),this.tokens=new Yc(e,this.stream),this.topTerm=e.top[1];let{from:r}=i[0];this.stacks=[fc.start(this,e.top[0],r)],this.fragments=n.length&&this.stream.end-r>4*e.bufferLength?new Dc(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<n.length;s++){let o=n[s];for(;;){if(this.tokens.mainToken=null,o.pos>i)r.push(o);else{if(this.advanceStack(o,r,n))continue;{e||(e=[],t=[]),e.push(o);let n=this.tokens.getMainToken(o);t.push(n.value,n.end)}}break}}if(!r.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return Sc&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw Sc&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,r);if(n)return Sc&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(r.length>e)for(r.sort((e,t)=>t.score-e.score);r.length>e;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1){e:for(let e=0;e<r.length-1;e++){let t=r[e];for(let n=e+1;n<r.length;n++){let i=r[n];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500){if(!((t.score-i.score||t.buffer.length-i.buffer.length)>0)){r.splice(e--,1);continue e}r.splice(n--,1)}}}r.length>12&&(r.sort((e,t)=>t.score-e.score),r.splice(12,r.length-12))}this.minStackPos=r[0].pos;for(let e=1;e<r.length;e++)r[e].pos<this.minStackPos&&(this.minStackPos=r[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:r}=this,s=Sc?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(i);o;){let i=this.parser.nodeSet.types[o.type.id]==o.type?r.getGoto(e.state,o.type.id):-1;if(i>-1&&o.length&&(!t||(o.prop(Ll.contextHash)||0)==n))return e.useNode(o,i),Sc&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(o.type.id)})`),!0;if(!(o instanceof El)||0==o.children.length||o.positions[0]>0)break;let a=o.children[0];if(!(a instanceof El&&0==o.positions[0]))break;o=a}}let o=r.stateSlot(e.state,4);if(o>0)return e.reduce(o),Sc&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&o)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let o=0;o<a.length;){let l=a[o++],c=a[o++],d=a[o++],u=o==a.length||!n,h=u?e:e.split(),f=this.tokens.mainToken;if(h.apply(l,c,f?f.start:h.pos,d),Sc&&console.log(s+this.stackID(h)+` (via ${65536&l?`reduce of ${r.getName(65535&l)}`:"shift"} for ${r.getName(c)} @ ${i}${h==e?"":", split"})`),u)return!0;h.pos>i?t.push(h):n.push(h)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Cc(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s<e.length;s++){let o=e[s],a=t[s<<1],l=t[1+(s<<1)],c=Sc?this.stackID(o)+" -> ":"";if(o.deadEnd){if(r)continue;if(r=!0,o.restart(),Sc&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))continue}let d=o.split(),u=c;for(let e=0;e<10&&d.forceReduce();e++){if(Sc&&console.log(u+this.stackID(d)+" (via force-reduce)"),this.advanceFully(d,n))break;Sc&&(u=this.stackID(d)+" -> ")}for(let e of o.recoverByInsert(a))Sc&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),Sc&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),Cc(o,n)):(!i||i.score<o.score)&&(i=o)}return i}stackToTree(e){return e.close(),El.build({buffer:gc.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(xc||(xc=new WeakMap)).get(e);return t||xc.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function Cc(e,t){for(let n=0;n<t.length;n++){let i=t[n];if(i.pos==e.pos&&i.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class Ec{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}const Ic=e=>e;class Pc{constructor(e){this.start=e.start,this.shift=e.shift||Ic,this.reduce=e.reduce||Ic,this.reuse=e.reuse||Ic,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Nc extends Kl{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),i=[];for(let e=0;e<t.length;e++)i.push([]);function r(e,t,n){i[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=Ll[e]);for(let n=1;n<t.length;){let i=t[n++];if(i>=0)r(i,e,t[n++]);else{let s=t[n+-i];for(let o=-i;o>0;o--)r(t[n++],e,s);n++}}}this.nodeSet=new Dl(t.map((t,r)=>Ol.define({name:r>=this.minRepeatTerm?void 0:t,id:r,props:i[r],top:n.indexOf(r)>-1,error:0==r,skipped:e.skippedNodes&&e.skippedNodes.indexOf(r)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=kl;let s=yc(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(zc),this.states=yc(e.states,Uint32Array),this.data=yc(e.stateData),this.goto=yc(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new wc(s,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new Ac(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return-1;for(let r=i[t+1];;){let t=i[r++],s=1&t,o=i[r++];if(s&&n)return o;for(let n=r+(t>>1);r<n;r++)if(i[r]==e)return o;if(s)return-1}}hasAction(e,t){let n=this.data;for(let i=0;i<2;i++)for(let r,s=this.stateSlot(e,i?2:1);;s+=3){if(65535==(r=n[s])){if(1!=n[s+1]){if(2==n[s+1])return Rc(n,s+2);break}r=n[s=Rc(n,s+2)]}if(r==t||0==r)return Rc(n,s+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),i=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==i;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=Rc(this.data,n+2)}i=t(Rc(this.data,n+1))}return i}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=Rc(this.data,n+2)}if(!(1&this.data[n+2])){let e=this.data[n+1];t.some((t,n)=>1&n&&t==e)||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(Nc.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=zc(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let e=t.indexOf(i);e>=0&&(n[e]=!0)}let i=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n,r=this.dialects[t[e]];65535!=(n=this.data[r++]);)(i||(i=new Uint8Array(this.maxTerm+1)))[n]=1;return new Ec(e,n,i)}static deserialize(e){return new Nc(e)}}function Rc(e,t){return e[t]|e[t+1]<<16}function zc(e){if(e.external){let t=e.extend?1:0;return(n,i)=>e.external(n,i)<<1|t}return e.get}let Hc=0;class jc{constructor(e,t,n,i){this.name=e,this.set=t,this.base=n,this.modified=i,this.id=Hc++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){let n="string"==typeof e?e:"?";if(e instanceof jc&&(t=e),null==t?void 0:t.base)throw new Error("Can not derive from a modified tag");let i=new jc(n,[],null,[]);if(i.set.push(i),t)for(let e of t.set)i.set.push(e);return i}static defineModifier(e){let t=new Bc(e);return e=>e.modified.indexOf(t)>-1?e:Bc.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}}let Fc=0;class Bc{constructor(e){this.name=e,this.instances=[],this.id=Fc++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>n.base==e&&function(e,t){return e.length==t.length&&e.every((e,n)=>e==t[n])}(t,n.modified));if(n)return n;let i=[],r=new jc(e.name,i,e,t);for(let e of t)e.instances.push(r);let s=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let i=0,r=t.length;i<r;i++)t.push(t[i].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of s)i.push(Bc.get(t,e));return r}}function $c(e){let t=Object.create(null);for(let n in e){let i=e[n];Array.isArray(i)||(i=[i]);for(let e of n.split(" "))if(e){let n=[],r=2,s=e;for(let t=0;;){if("..."==s&&t>0&&t+3==e.length){r=1;break}let i=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!i)throw new RangeError("Invalid path: "+e);if(n.push("*"==i[0]?"":'"'==i[0][0]?JSON.parse(i[0]):i[0]),t+=i[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){r=0;break}if("/"!=o)throw new RangeError("Invalid path: "+e);s=e.slice(t)}let o=n.length-1,a=n[o];if(!a)throw new RangeError("Invalid path: "+e);let l=new Uc(i,r,o>0?n.slice(0,o):null);t[a]=l.sort(t[a])}}return Wc.add(t)}const Wc=new Ll({combine(e,t){let n,i,r;for(;e||t;){if(!e||t&&e.depth>=t.depth?(r=t,t=t.next):(r=e,e=e.next),n&&n.mode==r.mode&&!r.context&&!n.context)continue;let s=new Uc(r.tags,r.mode,r.context);n?n.next=s:i=s,n=s}return i}});class Uc{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function Vc(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:i,all:r=null}=t||{};return{style:e=>{let t=r;for(let i of e)for(let e of i.set){let i=n[e.id];if(i){t=t?t+" "+i:i;break}}return t},scope:i}}function Zc(e,t,n,i=0,r=e.length){let s=new qc(i,Array.isArray(t)?t:[t],n);s.highlightRange(e.cursor(),i,r,"",s.highlighters),s.flush(r)}Uc.empty=new Uc([],2,null);class qc{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,r){let{type:s,from:o,to:a}=e;if(o>=n||a<=t)return;s.isTop&&(r=this.highlighters.filter(e=>!e.scope||e.scope(s)));let l=i,c=function(e){let t=e.type.prop(Wc);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||Uc.empty,d=function(e,t){let n=null;for(let i of e){let e=i.style(t);e&&(n=n?n+" "+e:e)}return n}(r,c.tags);if(d&&(l&&(l+=" "),l+=d,1==c.mode&&(i+=(i?" ":"")+d)),this.startSpan(Math.max(t,o),l),c.opaque)return;let u=e.tree&&e.tree.prop(Ll.mounted);if(u&&u.overlay){let s=e.node.enter(u.overlay[0].from+o,1),c=this.highlighters.filter(e=>!e.scope||e.scope(u.tree.type)),d=e.firstChild();for(let h=0,f=o;;h++){let m=h<u.overlay.length?u.overlay[h]:null,p=m?m.from+o:a,g=Math.max(t,f),y=Math.min(n,p);if(g<y&&d)for(;e.from<y&&(this.highlightRange(e,g,y,i,r),this.startSpan(Math.min(y,e.to),l),!(e.to>=p)&&e.nextSibling()););if(!m||p>n)break;f=m.to+o,f>t&&(this.highlightRange(s.cursor(),Math.max(t,m.from+o),Math.min(n,f),"",c),this.startSpan(Math.min(n,f),l))}d&&e.parent()}else if(e.firstChild()){u&&(i="");do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,i,r),this.startSpan(Math.min(n,e.to),l)}}while(e.nextSibling());e.parent()}}}const Qc=jc.define,Xc=Qc(),Gc=Qc(),Kc=Qc(Gc),Jc=Qc(Gc),ed=Qc(),td=Qc(ed),nd=Qc(ed),id=Qc(),rd=Qc(id),sd=Qc(),od=Qc(),ad=Qc(),ld=Qc(ad),cd=Qc(),dd={comment:Xc,lineComment:Qc(Xc),blockComment:Qc(Xc),docComment:Qc(Xc),name:Gc,variableName:Qc(Gc),typeName:Kc,tagName:Qc(Kc),propertyName:Jc,attributeName:Qc(Jc),className:Qc(Gc),labelName:Qc(Gc),namespace:Qc(Gc),macroName:Qc(Gc),literal:ed,string:td,docString:Qc(td),character:Qc(td),attributeValue:Qc(td),number:nd,integer:Qc(nd),float:Qc(nd),bool:Qc(ed),regexp:Qc(ed),escape:Qc(ed),color:Qc(ed),url:Qc(ed),keyword:sd,self:Qc(sd),null:Qc(sd),atom:Qc(sd),unit:Qc(sd),modifier:Qc(sd),operatorKeyword:Qc(sd),controlKeyword:Qc(sd),definitionKeyword:Qc(sd),moduleKeyword:Qc(sd),operator:od,derefOperator:Qc(od),arithmeticOperator:Qc(od),logicOperator:Qc(od),bitwiseOperator:Qc(od),compareOperator:Qc(od),updateOperator:Qc(od),definitionOperator:Qc(od),typeOperator:Qc(od),controlOperator:Qc(od),punctuation:ad,separator:Qc(ad),bracket:ld,angleBracket:Qc(ld),squareBracket:Qc(ld),paren:Qc(ld),brace:Qc(ld),content:id,heading:rd,heading1:Qc(rd),heading2:Qc(rd),heading3:Qc(rd),heading4:Qc(rd),heading5:Qc(rd),heading6:Qc(rd),contentSeparator:Qc(id),list:Qc(id),quote:Qc(id),emphasis:Qc(id),strong:Qc(id),link:Qc(id),monospace:Qc(id),strikethrough:Qc(id),inserted:Qc(),deleted:Qc(),changed:Qc(),invalid:Qc(),meta:cd,documentMeta:Qc(cd),annotation:Qc(cd),processingInstruction:Qc(cd),definition:jc.defineModifier("definition"),constant:jc.defineModifier("constant"),function:jc.defineModifier("function"),standard:jc.defineModifier("standard"),local:jc.defineModifier("local"),special:jc.defineModifier("special")};for(let e in dd){let t=dd[e];t instanceof jc&&(t.name=e)}Vc([{tag:dd.link,class:"tok-link"},{tag:dd.heading,class:"tok-heading"},{tag:dd.emphasis,class:"tok-emphasis"},{tag:dd.strong,class:"tok-strong"},{tag:dd.keyword,class:"tok-keyword"},{tag:dd.atom,class:"tok-atom"},{tag:dd.bool,class:"tok-bool"},{tag:dd.url,class:"tok-url"},{tag:dd.labelName,class:"tok-labelName"},{tag:dd.inserted,class:"tok-inserted"},{tag:dd.deleted,class:"tok-deleted"},{tag:dd.literal,class:"tok-literal"},{tag:dd.string,class:"tok-string"},{tag:dd.number,class:"tok-number"},{tag:[dd.regexp,dd.escape,dd.special(dd.string)],class:"tok-string2"},{tag:dd.variableName,class:"tok-variableName"},{tag:dd.local(dd.variableName),class:"tok-variableName tok-local"},{tag:dd.definition(dd.variableName),class:"tok-variableName tok-definition"},{tag:dd.special(dd.variableName),class:"tok-variableName2"},{tag:dd.definition(dd.propertyName),class:"tok-propertyName tok-definition"},{tag:dd.typeName,class:"tok-typeName"},{tag:dd.namespace,class:"tok-namespace"},{tag:dd.className,class:"tok-className"},{tag:dd.macroName,class:"tok-macroName"},{tag:dd.propertyName,class:"tok-propertyName"},{tag:dd.operator,class:"tok-operator"},{tag:dd.comment,class:"tok-comment"},{tag:dd.meta,class:"tok-meta"},{tag:dd.invalid,class:"tok-invalid"},{tag:dd.punctuation,class:"tok-punctuation"}]);const ud=122,hd=123,fd=4,md=131,pd=19,gd=140,yd=23,_d=141,bd=41,vd=68,wd=154,kd=70,Td=155,Md=72,Ld=156,Sd=168,xd=89,Od=90,Dd=170,Yd=97,Ad=172,Cd="undefined"!=typeof process&&process.env&&/\bfparse(:dbg)?\b/.test(process.env.LOG),Ed="undefined"!=typeof process&&process.env&&/\bfparse:dbg\b/.test(process.env.LOG),Id="undefined"!=typeof process&&process.env&&/\bcontext\b/.test(process.env.LOG),Pd=[9,11,12,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Nd=Hd("\n\r"),Rd="*".charCodeAt(0),zd=Hd("'./-+*^");function Hd(e){return Array.from(e).map(e=>e.charCodeAt(0))}function jd(e){return 63===e||e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=55296&&e<=56319||e>=56320&&e<=57343}function Fd(e){return e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}function Bd(e){return Pd.includes(e)}function $d(e,t){return t.concat(e.split(/\n/g).join("\n"+t))}function Wd(e,t=0){const n=e.peek(t);return n===Rd&&e.peek(t+1)===Rd?{offset:2,token:"**"}:(i=n,zd.includes(i)?{offset:1,token:String.fromCharCode(n)}:null);var i}function Ud(e,t=0,n=!1){for(let i=!1,r=[],s=0;;s++){const o=e.peek(t+s);if(!(jd(o)||(i||n)&&Fd(o)))return r.length?{token:String.fromCharCode(...r),offset:s}:null;i||(i=!0),r.push(o)}}function Vd(e,t){for(let n=!1,i=0;;i++){if(!Bd(e.peek(t+i)))return n?{token:" ",offset:i}:null;n||(n=!0)}}const Zd={[ud]:"identifier",[hd]:"nameIdentifier"},qd=new kc((e,t)=>{Ed&&console.log("%s: T <identifier | nameIdentifier>",e.pos);const n=function(e,t){const n=t.contextKeys(),i=t.tokens;for(let t=0,r=[],s=null;;){const o=i.length+r.length>0,a=r.length>0,l=Ud(e,t,o)||o&&Wd(e,t)||a&&Vd(e,t);if(!l)return s;const{token:c,offset:d}=l;if(t+=d," "===c)continue;r=[...r,c];const u=[...i,...r].join(" ");if(n.some(e=>e===u)){const e=r[0];s={token:e,offset:e.length,term:123}}if(!n.some(e=>e.startsWith(u))){if(tu.some(e=>e===u)){const e=r[0];s={token:e,offset:e.length,term:122}}if(!tu.some(e=>e.startsWith(u)))return s}}}(e,t.context),i=t.context.tokens,r=n||Ud(e,0,i.length>0);r&&(e.advance(r.offset),e.acceptToken(n?n.term:122),Cd&&console.log("%s: MATCH <%s> <%s>",e.pos,n?Zd[n.term]:"identifier",r.token))},{contextual:!0}),Qd=new kc((e,t)=>{Ed&&console.log("%s: T <propertyIdentifier>",e.pos);const n=Ud(e,0,t.context.tokens.length>0);n&&(e.advance(n.offset),e.acceptToken(121),Cd&&console.log("%s: MATCH <propertyIdentifier> <%s>",e.pos,n.token))}),Xd=new kc((e,t)=>{let n;Ed&&console.log("%s: T <insertSemi>",e.pos);let i=!1;for(n=0;;n++){const t=e.peek(n);if(!Pd.includes(t)){Nd.includes(t)&&(i=!0);break}}if(i){const t=Ud(e,n+1);if(Vd(e,n+1)||t&&/^(then|else|return|satisfies)$/.test(t.token))return;Cd&&console.log("%s: MATCH <insertSemi>",e.pos),e.acceptToken(124)}}),Gd={[Ld]:"FunctionInvocation",[Td]:"FilterExpression",[wd]:"PathExpression"},Kd={[Ad]:"Context",[Dd]:"FunctionDefinition",[md]:"ForExpression",[Sd]:"List",[gd]:"IfExpression",[_d]:"QuantifiedExpression"},Jd={[Yd]:"Context",[Od]:"FunctionDefinition",[fd]:"ForExpression",[xd]:"List",[pd]:"IfExpression",[yd]:"QuantifiedExpression",[vd]:"PathExpression",[Md]:"FunctionInvocation",[kd]:"FilterExpression",[bd]:"ArithmeticExpression"};class eu{constructor(e){this.fn=e}get(e){return this.fn(e)}static of(e){return new eu(e)}}const tu=Object.keys({"date and time":1,date:1,time:1,duration:1});class nu{constructor(e={}){this.value=e}getKeys(){return Object.keys(this.value)}get(e){const t=this.value[e],n=this.constructor;return n.isAtomic(t)?t:n.of(t)}set(e,t){return this.constructor.of({...this.value,[e]:t})}merge(e){const t=this.constructor;return new t(t.__merge(this.value,e))}static isAtomic(e){return!e||e instanceof this||e instanceof eu||"object"!=typeof e}static of(...e){return e.reduce((e,t)=>e.merge(t),new this({}))}static __unwrap(e){return e?e instanceof this?e.value:"object"!=typeof e?{}:{...e}:{}}static __merge(e,t){return j(this.__unwrap(t),(e,t,n)=>t instanceof eu?{...e,[n]:t}:(t=this.__unwrap(t),z(e,n)&&(t=this.__merge(this.__unwrap(e[n]),t)),{...e,[n]:t}),this.__unwrap(e))}}class iu{constructor({name:e="Expressions",tokens:t=[],children:n=[],parent:i=null,context:r,value:s,raw:o}){this.name=e,this.tokens=t,this.children=n,this.parent=i,this.context=r,this.value=s,this.raw=o}enterScope(e){const t=this.of({name:e,parent:this});return Id&&console.log("[%s] enter",t.path,t.context),t}exitScope(e){return this.parent?(Id&&console.log("[%s] exit %o\n%s",this.path,this.context,$d(e," ")),this.parent.pushChild(this)):(Id&&console.log("[%s] NO exit %o\n%s",this.path,this.context,$d(e," ")),this)}token(e){return Id&&console.log("[%s] token <%s> + <%s>",this.path,this.tokens.join(" "),e),this.assign({tokens:[...this.tokens,e]})}literal(e){return Id&&console.log("[%s] literal %o",this.path,e),this.pushChild(this.of({name:"Literal",value:e}))}computedValue(){for(let e=this;;e=lu(e.children)){if(!e)return null;if(e.value)return e.value}}contextKeys(){return this.context.getKeys().map(ru)}get path(){return this.parent?.path?.concat(" > ",this.name)||this.name}get(e){const t=[e,e&&ru(e)],n=this.context.getKeys().find(e=>t.includes(ru(e)));if(void 0===n)return;const i=this.context.get(n);return i instanceof eu?i.get(this):i}resolveName(){const e=this.tokens.join(" "),t=this.assign({tokens:[]}),n=this.of({name:"VariableName",parent:t,value:this.get(e),raw:e});return Id&&console.log("[%s] resolve name <%s=%s>",n.path,e,this.get(e)),t.pushChild(n)}pushChild(e){if(!e)return this;const t=this.assign({children:[...this.children,e]});return e.parent=t,t}pushChildren(e){let t=this;for(const n of e)t=t.pushChild(n);return t}declareName(){if(0===this.tokens.length)throw Error("no tokens to declare name");const e=this.tokens.join(" ");return Id&&console.log("[%s] declareName <%s>",this.path,e),this.assign({tokens:[]}).pushChild(this.of({name:"Name",value:e}))}define(e,t){if("string"!=typeof e)return Id&&console.log("[%s] no define <%s=%s>",this.path,e,t),this;Id&&console.log("[%s] define <%s=%s>",this.path,e,t);const n=this.context.set(e,t);return this.assign({context:n})}assign(e={}){return iu.of({...this,...e})}of(e={}){const t={context:this.context,parent:this.parent};return iu.of({...t,...e})}static of(e){const{name:t,tokens:n=[],children:i=[],parent:r=null,context:s,value:o,raw:a}=e;if(!s)throw new Error("must provide <context>");return new iu({name:t,tokens:[...n],children:[...i],context:s,parent:r,value:o,raw:a})}}function ru(e){return e.replace(/\s*([./\-'+]|\*\*?)\s*/g," $1 ").replace(/\s{2,}/g," ").trim()}function su(e,t,n){const i=e.children.filter(e=>e.name!==t),r=e.children.filter(e=>e.name===t),s=i[0],o=i[Math.max(1,i.length-1)],a=s?.computedValue(),l=o?.computedValue()||null;return e.assign({children:r}).enterScope(t).pushChildren(i).exitScope(n).define(a,l)}function ou(e={},t=nu){const n=iu.of({context:t.of(e)});return new Pc({start:n,reduce(e,n,i,r){if(19===n){const[n,i]=e.children.slice(-2);e=e.assign({value:t.of(n?.computedValue(),i?.computedValue())})}if(89===n&&(e=e.assign({value:t.of(...e.children.map(e=>e?.computedValue()))})),70===n){const[t,n]=e.children.slice(-2);e=e.assign({value:t?.computedValue()})}if(72===n){const[t,...n]=e.children;"get value"===t?.raw&&(e=function(e,t){if(!t.length)return e.assign({value:null});"Name"===t[0].name&&(t=function(e,t){const n={};for(let t=0;t<e.length;t+=2){const[i,r]=e.slice(t,t+2);n[i.value]=r}return t.map(e=>n[e])}(t,["m","key"]));if(2!==t.length)return e.assign({value:null});const[n,i]=t,r=i?.computedValue(),s=n?.computedValue();if(!s||"object"!=typeof s||"string"!=typeof r)return e.assign({value:null});return e.assign({value:[ru(r),r].reduce((e,t)=>s.get(t)||e,null)})}(e,n))}const s=Kd[n];if(s)return e.enterScope(s);const o=Gd[n];if(o){const{children:i,context:r}=e,s=i.slice(0,-1),a=lu(i);let l=null;return 154===n&&(l=t.of(a?.computedValue())),155===n&&(l=t.of(r,a?.computedValue()).set("item",a?.computedValue())),e.assign({children:s}).enterScope(o).pushChild(a).assign({context:l||r})}const a=r.read(r.pos,i.pos);if(Jd[n])return e.exitScope(a);if(98===n){const n=e.children.filter(e=>"ContextEntry"!==e.name),i=n[0],r=lu(n);return su(e,"ContextEntry",a).assign({value:t.of(e.value).set(i?.computedValue(),r?.computedValue())})}if(7===n||27===n)return su(e,"InExpression",a);if(139===n)return e.define("partial",eu.of(e=>lu(e.children)?.computedValue()));if(76===n){const t=lu(e.children).computedValue();return e.define(t,1)}if(145===n||146===n||147===n){const t=e.children.slice(0,-1),n=lu(e.children);return e.assign({children:t}).enterScope("ArithmeticExpression").pushChild(n)}if(148===n)return e.enterScope("ArithmeticExpression");if(9===n||10===n||101===n)return e.token(a);if(80===n)return e.literal(a.replace(/^"|"$/g,""));if(81===n)return e.literal("true"===a);if(79===n)return e.literal(parseFloat(a));if(161===n)return e.literal(null);if(47===n)return e.resolveName();if(8===n||100===n)return e.declareName();if((128===n||37===n)&&e.tokens.length>0)throw new Error("uncleared name");if(128===n){let t=e;for(;t.parent;)t=t.exitScope(a);return t}return e}})}const au=ou({});function lu(e){return e[e.length-1]}
2const cu=$c({StringLiteral:dd.string,NumericLiteral:dd.number,BooleanLiteral:dd.bool,"AtLiteral!":dd.special(dd.string),CompareOp:dd.compareOperator,ArithOp:dd.arithmeticOperator,"for if then else some every satisfies between return":dd.controlKeyword,"in instance of and or":dd.operatorKeyword,function:dd.definitionKeyword,as:dd.keyword,"Type/...":dd.typeName,Wildcard:dd.special(dd.variableName),null:dd.null,LineComment:dd.lineComment,BlockComment:dd.blockComment,'VariableName! "?"':dd.variableName,"DateTimeConstructor! SpecialFunctionName!":dd.function(dd.special(dd.variableName)),"List Interval":dd.list,Context:dd.definition(dd.literal),"Name!":dd.definition(dd.variableName),"Key/Name! ContextEntryType/Name!":dd.definition(dd.propertyName),"PathExpression/VariableName!":dd.function(dd.propertyName),"FormalParameter/ParameterName!":dd.function(dd.definition(dd.variableName)),"( )":dd.paren,"[ ]":dd.squareBracket,"{ }":dd.brace,".":dd.derefOperator,", ;":dd.separator,"..":dd.punctuation}),du={__proto__:null,for:10,in:32,return:36,if:40,then:42,else:44,some:48,every:50,satisfies:56,or:60,and:64,between:72,instance:86,of:89,days:101,time:103,duration:105,years:107,months:109,date:111,list:117,context:123,function:130,null:156,true:332,false:332,"?":170,external:186,not:211},uu=Nc.deserialize({version:14,states:"C|O`QYOOO`QYOOO$yQYOOOOQU'#Ce'#CeO%TQYO'#C`O&^QYO'#FQOOQQ'#Ff'#FfO&hQYO'#FfO`QYO'#DVOOQU'#En'#EnO(_Q^O'#D]OOQU'#D^'#D^OOQU'#D]'#D]OOQO'#Fn'#FnO*[QWO'#DvOOQQ'#D}'#D}OOQQ'#EO'#EOOOQQ'#EP'#EPO*aOWO'#ESO*[QWO'#EQOOQQ'#EQ'#EQOOQQ'#Ft'#FtOOQQ'#Fr'#FrOOQQ'#Fz'#FzOOQQ'#EU'#EUO`QYO'#EWOOQQ'#FS'#FSO*iQ^O'#FSO,`QYO'#EXO,gQWO'#EYOOQP'#GO'#GOO,lQXO'#EaOOQQ'#F{'#F{OOQQ'#FR'#FRQOQWOOOOQQ'#FT'#FTOOQQ'#F^'#F^O`QYO'#CoOOQQ'#F_'#F_O%TQYO'#CsO,zQYO'#DwOOQQ'#Fs'#FsO-PQYO'#EROOQO'#ER'#ERO`QYO'#EVO`QYO'#EUOOQO'#F|'#F|Q-XQWOOO-^QYO'#DRO.TQWO'#FbOOQO'#DT'#DTO.`QYO'#FfO.gQWOOO/^QYO'#CdO/kQYO'#FVOOQQ'#Cc'#CcO/pQYO'#FUOOQQ'#Cb'#CbO/xQYO,58zO`QYO,59iOOQQ'#Fc'#FcOOQQ'#Fd'#FdOOQQ'#Fe'#FeO`QYO,59qO`QYO,59qO`QYO,59qOOQQ'#Fl'#FlO/}QYO,5:^OOQQ'#Fm'#FmO`QYO,5:`O`QYO,59eO`QYO,59gO`QYO,59iO1|QYO,59iO2TQYO,59rOOQQ,5:i,5:iO2YQYO,59qOOQU-E8l-E8lO3|QYO'#FoOOQQ,5:b,5:bOOQQ,5:n,5:nOOQQ,5:l,5:lO4TQYO,5:rOOQQ,5;n,5;nO4_QYO,5:qO4lQWO,5:sO4qQYO,5:tOOQP'#Ee'#EeO5hQXO'#EdOOQO'#Ec'#EcO5oQWO'#EbO5tQWO'#GPO5|QWO,5:{O6RQYO,59ZO/kQYO'#FaOOQQ'#Cw'#CwO6YQYO'#F`OOQQ'#Cv'#CvO6bQYO,59_O6gQYO,5:cO6lQYO,5:mO4WQYO,5:qO6qQYO,5:pO`QYO'#EwQ-XQWOOO`QYO'#EmO7hQWO,5;|O`QYOOOOQR'#Cf'#CfOOQQ'#Ej'#EjO8bQYO,59OO`QYO,5;qOOQQ'#FY'#FYO%TQYO'#EkO8rQYO,5;pO`QYO1G.fOOQQ'#F]'#F]O9iQYO1G/TO<`QYO1G/]O<jQYO1G/]O<tQYO1G/]OOQQ1G/x1G/xO>hQYO1G/zO>oQYO1G/PO?xQYO1G/ROARQYO1G/TO`QYO1G/TOOQQ1G/T1G/TOAiQYO1G/^OBWQ^O'#CdOCjQYO'#FqOOQO'#Dz'#DzOCtQWO'#DyOCyQWO'#FpOOQO'#Dx'#DxOOQO'#D{'#D{ODRQWO,5<ZOOQQ1G0^1G0^O`QYO1G0]O`QYO'#EsODWQWO,5<]OOQQ1G0_1G0_ODcQWO'#E[ODnQWO'#F}OOQO'#EZ'#EZODvQWO1G0`OOQP'#Eu'#EuOD{QXO,5;OO`QYO,5:|OESQXO'#EvOE_QWO,5<kOOQQ1G0g1G0gO`QYO1G.uO`QYO,5;{O%TQYO'#ElOEgQYO,5;zO`QYO1G.yOEoQYO1G/}OOQO1G0X1G0XOOQO,5;c,5;cOOQO-E8u-E8uOOQO,5;X,5;XOOQO-E8k-E8kOEtQWOOOOQQ-E8h-E8hOEyQYO'#CmOOQQ1G1]1G1]OOQQ,5;V,5;VOOQQ-E8i-E8iOFWQYO7+$QOOQQ7+%f7+%fO`QYO7+$oOF}QYO,5:rOG[QWO7+$oOGaQYO'#D[OOQQ'#DZ'#DZOITQYO'#D_OIYQYO'#D_OI_QYO'#D_OIdQ`O'#DgOIiQ`O'#DjOInQ`O'#DnOOQQ7+$x7+$xO`QYO,5:eO%TQYO'#ErOIsQWO,5<[OOQQ1G1u1G1uOJyQYO7+%wOKWQYO,5;_OOQO-E8q-E8qOAiQYO,5:vO%TQYO'#EtOKeQWO,5<iOKmQYO7+%zOOQP-E8s-E8sOKtQYO1G0hOOQO,5;b,5;bOOQO-E8t-E8tOLOQYO7+$aOLVQYO1G1gOOQQ,5;W,5;WOOQQ-E8j-E8jOLaQYO7+$eOOQO7+%i7+%iO`QYO,59XOMWQYO<<HZOOQQ<<HZ<<HZO/}QYO'#EoONaQYO,59vO!!TQYO,59yO!!YQYO,59yO!!_QYO,59yO!!dQYO,5:RO%TQYO,5:UO!#RQbO,5:YO!#YQYO1G0POOQO,5;^,5;^OOQO-E8p-E8pO!#dQYO<<IcOOQQ<<Ic<<IcOOQO1G0b1G0bOOQO,5;`,5;`OOQO-E8r-E8rO!&fQYO'#E^OOQQ<<If<<IfO`QYO<<IfO`QYO<<G{O!']QYO1G.sOOQQ,5;Z,5;ZOOQQ-E8m-E8mO!'gQYO1G/eOOQQ1G/e1G/eO!'lQbO'#D]O!'}Q`O'#D[O!(YQ`O1G/mO!(_QWO'#DmO!(dQ`O'#FhOOQO'#Dl'#DlO!(lQ`O1G/pOOQO'#Dq'#DqO!(qQ`O'#FjOOQO'#Dp'#DpO!(yQ`O1G/tOOQQAN?QAN?QO!)OQYOAN=gOOQQ7+%P7+%PO!)uQ`O,59vOOQQ7+%X7+%XO!!dQYO,5:XO%TQYO'#EpO!*QQ`O,5<SOOQQ7+%[7+%[O!!dQYO'#EqO!*YQ`O,5<UO!*bQ`O7+%`OOQO1G/s1G/sOOQO,5;[,5;[OOQO-E8n-E8nOOQO,5;],5;]OOQO-E8o-E8oOAiQYO<<HzOOQQAN>fAN>fO/}QYO'#EoO!!dQYO<<HzO!*gQ`O7+%`O!*lQ`O1G/tO!#RQbO,5:YO!*qQ`O'#Dn",stateData:"!+U~O#rOS#sOSPOSQOS~OTsOZVO[UOdtOhvOivOr}Os}
2OviO!T{O!U{O!VxO!XzO!c!OO!g|O!igO!pyO!wjO#SnO#nRO#oRO$ZZO$i_O$j`O$k`O$laO$mbO~OTsO[UOdtOhvOivOr}Os}OviO!T{O!U{O!VxO!XzO!c!OO!g|O!igO!pyO!wjO#SnO#nRO#oRO$ZZO$i_O$j`O$k`O$laO$mbO~OZ!TO#]!UO~P#VO#nRO#oRO~OZ!^O[!^O]!_O^!_O_!`O`!kOn!hOp!iOr!]Os!]Ot!jO{!lO!i!fO#z!dOv$bX~O#l#tX$t#tX~P%]O$i!mOT$YXZ$YX[$YXd$YXh$YXi$YXr$YXs$YXv$YX!T$YX!U$YX!V$YX!X$YX!c$YX!g$YX!i$YX!p$YX!w$YX#S$YX#n$YX#o$YX$Z$YX$j$YX$k$YX$l$YX$m$YX~O#nRO#oROZ!PX[!PX]!PX^!PX_!PX`!PXn!PXp!PXr!PXs!PXt!PXv!PX{!PX!i!PX#l!PX#p!PX#z!PX$t!PX$O!PXx!PX#}!PX!g!PXe!PXb!PX#R!PXf!PXl!PX~Ov!pO~O$j`O$k`O~O#p!uOZ#vX[#vX]#vX^#vX_#vX`#vXn#vXp#vXr#vXs#vXt#vXv#vX{#vX!i#vX#l#vX#z#vX$t#vX$O#vXx#vX#}#vX!g#vXe#vXb#vX#R#vXf#vXl#vX~O!g$eP~P`Ov!xO~O#m!yO$j`O$k`O#R$sP~Op#VO~Op#WOv!uX~O$t#ZO~O#luX$OuX$tuXxuX#}uX!guXeuXbuX#RuXfuXluX~P%]O$O#]O#l$UXx$UX~O#l#[X~P&hOv#_O~OZ#`O[#`O]#`O^#`O_#`O#nRO#oRO#z#`O#{#`O$]WX~O`WXxWX$OWX~P.lO`#dO~O$O#eOb#xX~Ob#hO~O#nRO#oRO$ZZO~OTsOZVO[UOdtOhvOivOr}Os}O!T{O!U{O!VxO!XzO!c!OO!g|O!igO!pyO!wjO#SnO#nRO#oRO$ZZO$i_O$j`O$k`O$laO$mbO~Ov#rO~P0YO|#tO~O{!lO!i!fO#z!dOZya[ya]ya^ya_ya`yanyapyaryasyatyav$bX#lya$tya$Oyaxya#}ya!gyaeyabya#Ryafyalya~Ox$eP~P`Ox#}O#}$OO~P%]O#}$OO$O$PO!g$eX~P%]O!g$RO~O#nRO#oROx$qP~OZ#`O[#`O]#`O^#`O_#`O#m!yO#z#`O#{#`O~O$]#WX~P4|O$]$YO~O$O$ZO#R$sX~O#R$]O~Oe$^O~P%]O$O$`Ol$SX~Ol$bO~O!W$cO~O!T$dO~O#l!xa$t!xa$O!xax!xa#}!xa!g!xae!xab!xa#R!xaf!xal!xa~P%]O$O#]O#l$Uax$Ua~OZ#`O[#`O]#`O^#`O_#`O#nRO#oRO#z#`O#{#`O~O`Wa$]WaxWa$OWa~P7sO$O#eOb#xa~OZ!^O[!^O]!_O^!_O_!`O{!lO!i!fO#z!dOv$bX~O`qinqipqirqisqitqi#lqi$tqi$Oqixqi#}qi!gqieqibqi#Rqifqilqi~P8zO_!`O{!lO!i!fO#z!dOZyi[yi`yinyipyiryisyityiv$bX#lyi$tyi$Oyixyi#}yi!gyieyibyi#Ryifyilyi~O]!_O^!_O~P:rO]yi^yi~P:rO{!lO!i!fO#z!dOZyi[yi]yi^yi_yi`yinyipyiryisyityiv$bX#lyi$tyi$Oyixyi#}yi!gyieyibyi#Ryifyilyi~O!g$pO~P%]O`!kOp!iOr!]Os!]Ot!jOnmi#lmi$tmi$Omixmi#}mi!gmiemibmi#Rmifmilmi~P8zO`!kOr!]Os!]Ot!jOnoipoi#loi$toi$Ooixoi#}oi!goieoiboi#Roifoiloi~P8zO`!kOn!hOp$qOr!]Os!]Ot!jO~P8zO!S$vO!V$wO!X$xO![$yO!_$zO!c${O#nRO#oRO$ZZO~OZ#bX[#bX]#bX^#bX_#bX`#bXn#bXp#bXr#bXs#bXt#bXv#bXx#bX{#bX!i#bX#n#bX#o#bX#p#bX#z#bX$O#bX~P.lO$O$POx$eX~P%]O$]$}O~O$O%OOx$dX~Ox%QO~O$O$PO!g$eax$ea~O$]%UOx#OX$O#OX~O$O%VOx$qX~Ox%XO~O$]#Wa~P4|O#m!yO$j`O$k`O~O$O$ZO#R$sa~O$O$`Ol$Sa~O!U%cO~OxrO~O#}%dObaX$OaX~P%]O#lSq$tSq$OSqxSq#}Sq!gSqeSqbSq#RSqfSqlSq~P%]Ox#}O#}$OO$OuX~P%]Ox%fO~O#z%gOZ!OX[!OX]!OX^!OX_!OX`!OXn!OXp!OXr!OXs!OXt!OXv!OX{!OX!i!OX#l!OX$t!OX$O!OXx!OX#}!OX!g!OXe!OXb!OX#R!OXf!OXl!OX~Op%iO~Op%jO~Op%kO~O!]%lO~O!]%mO~O!]%nO~O$O%OOx$da~OZ!^O[!^O]!_O^!_O_!`O`!kOn!hOp!iOr!]Os!]Ot!jO{!lO#z!dOv$bX~Ox%sO!g%sO!i%rO~PI{O!g#ga$O#gax#ga~P%]O$O%VOx$qa~O#P%yO~P`O#R#Ui$O#Ui~P%]Of%zO~P%]Ol$Ti$O$Ti~P%]O#lgq$tgq$Ogqxgq#}gq!ggqegqbgq#Rgqfgqlgq~P%]O`qynqypqyrqysqytqy#lqy$tqy$Oqyxqy#}qy!gqyeqybqy#Rqyfqylqy~P8zO#z%gOZ!Oa[!Oa]!Oa^!Oa_!Oa`!Oan!Oap!Oar!Oas!Oat!Oav!Oa{!Oa!i!Oa#l!Oa$t!Oa$O!Oax!Oa#}!Oa!g!Oae!Oab!Oa#R!Oaf!Oal!Oa~O!T&OO~O!W&OO~O!T&PO~O!S$vO!V$wO!X$xO![$yO!_$zO!c&uO#nRO#oRO$ZZO~O!Y$^P~P!!dOx!mi$O!mi~P%]OT$aXZ$aX[$aX]!yy^!yy_!yy`!yyd$aXh$aXi$aXn!yyp!yyr$aXs$aXt!yyv$aX{!yy!T$aX!U$aX!V$aX!X$aX!c$aX!g$aX!i$aX!p$aX!w$aX#S$aX#l!yy#n$aX#o$aX#z!yy$Z$aX$i$aX$j$aX$k$aX$l$aX$m$aX$t!yy$O!yyx!yy#}!yye!yyb!yy#R!yyf!yyl!yy~O#l#QX$t#QX$O#QXx#QX#}#QX!g#QXe#QXb#QX#R#QXf#QXl#QX~P%]Obai$Oai~P%]O!U&_O~O#nRO#oRO!Y!PX#z!PX$O!PX~O#z&pO!Y!OX$O!OX~O!Y&aO~O$]&bO~O$O&cO!Y$[X~O!Y&eO~O$O&fO!Y$^X~O!Y&hO~O#lc!R$tc!R$Oc!Rxc!R#}c!R!gc!Rec!Rbc!R#Rc!Rfc!Rlc!R~P%]O#z&pO!Y!Oa$O!Oa~O$O&cO!Y$[a~O$O&fO!Y$^a~O$_&nO~O$_&qO~O!Y&rO~O!]&tO~O$Z$j~$j$k_^$i#zQP]Q~",goto:"E}$tPPPP$uP%n%q%w&Z'tPPPPPP'}P$uPPP$uPP(Q(TP$uP$uP$uPPP(ZP(fP$u$uPP(o)U)a*n)UPPPPPPP)UPP)UP+s+v)UP+|,S$uP$uP$u,Z-S-V-]-SP-e.^-e-e/^0VP$u1O$u1w1w2p2sP2yPP1w3P3V/Y3ZPP3cP3f3m3s3y4P5[5f5l5r5x6P6V6]6cPPPPPPPP6i6r8y9r:k:nPP:rPP:x:{;t<m<p<t<y=h>W>wP?pP?sP?w@jA]BUB[B_$uBeBePPPPPC^8yDVEOEREz!mjOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR![SQ!YSR$m#eS!WS#eS#Qw$`W#w!p!x%O%VT&T%m&c#WXOPQWYilu|}!]!a!b!c!e!g!h!i!j!k#Z#]#_#c#g#r#t$O$P$Y$^$_$b$q$}%U%X%d%g%l%n%y%z&Q&b&f&n&p&q&tb!VSw!x#e$`%O%V%m&cU#a!V#b#uR#u!pU#a!V#b#uT$W!z$XR$l#cR#UwQ#SwR%`$`U!RQ#_#rQ#s!kR$g#]QrQQ$i#_R$s#rQ$|#tQ%t%UQ&S%lU&X%n&f&tQ&i&bT&o&n&qc$u#t%U%l%n&b&f&n&q&t!lkOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zQ#m!eU$t#t%U&nS%|%g&p]&R%l%n&b&f&q&t#V[OPQWilu|}!]!a!b!c!e!g!h!i!j!k!p#Z#]#_#c#g#r#t$O$P$Y$^$_$b$q$}%U%X%d%g%l%n%y%z&b&f&n&p&q&tR&W%mQ&U%mR&j&cQ&[%nR&s&tS&Y%n&tR&l&f!m]OPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR#|!pQ#y!pR%p%OS#x!p%OT$S!x%V!meOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!leOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zQ!rbT!{o$Z!mcOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mdOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mhOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mpOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR$V!xQ$T!xR%u%VQ%x%XR&]%yQ!}oR%[$ZT!|o$ZS!zo$ZT$W!z$XRrQS#b!V#uR$j#bQ#f!YR$n#fQ$a#SR%a$aQ#^!RR$h#^!vYOPQWilu|}!]!a!b!c!e!g!h!i!j!k!p#Z#]#_#c#g#r#t$O$P$Y$^$_$b$q$}%U%X%d%g%y%z&nS!oY&Q_&Q%l%n&b&f&p&q&tQ%h$tS%}%h&`R&`&RQ&d&UR&k&dQ&g&YR&m&gQ%P#yR%q%PS$Q!v#vR%T$QQ%W$TR%v%WQ$X!zR%Y$XQ$[!}R%]$[Q#[!PR$f#[QrOQ!PPR$e#ZUTOP#ZW!QQ!k#]#_Q!nWQ!tiQ!vlQ#PuQ#X|Q#Y}Q#i!]Q#j!aQ#k!bQ#l!cQ#n!gQ#o!hQ#p!iQ#q!jQ#v!pQ$k#cQ$o#gQ$r#rQ%R$OQ%S$PQ%Z$YQ%^$^Q%_$_Q%b$bQ%e$qQ%o$}S%w%X%yQ%{%dR&^%z!mqOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mSOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR!ZST!XS#eQ#c!WR$_#QR#g![!muOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mwOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR#TwT#Rw$`V!SQ#_#r!X!aT!Q!t!v#P#X#Y#i#n#o#p#q#v$k$o$r%R%S%Z%^%_%b%e%o%w%{&^!Z!bT!Q!t!v#P#X#Y#i#j#n#o#p#q#v$k$o$r%R%S%Z%^%_%b%e%o%w%{&^!]!cT!Q!t!v#P#X#Y#i#j#k#n#o#p#q#v$k$o$r%R%S%Z%^%_%b%e%o%w%{&^!mWOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR&V%mT&Z%n&t!a!eT!Q!n!t!v#P#X#Y#i#j#k#l#n#o#p#q#v$k$o$r%R%S%Z%^%_%b%e%o%w%{&^!a!gT!Q!n!t!v#P#X#Y#i#j#k#l#n#o#p#q#v$k$o$r%R%S%Z%^%_%b%e%o%w%{&^!m^OPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zQ!q^R!scR#z!pQ!wlR#{!p!mfOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mlOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%z!mmOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR$U!x!moOPQWilu|}!]!a!b!c!g!h!i!j!k!p#Z#]#_#c#g#r$O$P$Y$^$_$b$q$}%X%d%y%zR#Oo",nodeNames:"â LineComment BlockComment Expression ForExpression for InExpressions InExpression Name Identifier Identifier ArithOp ArithOp ArithOp ArithOp ArithOp in IterationContext return IfExpression if then else QuantifiedExpression some every InExpressions InExpression satisfies Disjunction or Conjunction and Comparison CompareOp CompareOp between PositiveUnaryTest ( PositiveUnaryTests ) ArithmeticExpression InstanceOfExpression instance of Type QualifiedName VariableName BacktickIdentifier SpecialType days time duration years months date > ListType list < ContextType context ContextEntryTypes ContextEntryType FunctionType function ArgumentTypes ArgumentType PathExpression ] FilterExpression [ FunctionInvocation SpecialFunctionName NamedParameters NamedParameter ParameterName PositionalParameters null NumericLiteral StringLiteral BooleanLiteral DateTimeLiteral DateTimeConstructor AtLiteral ? SimplePositiveUnaryTest Interval ParenthesizedExpression List FunctionDefinition FormalParameters FormalParameter external FunctionBody } { Context ContextEntry Key Name Identifier Expressions UnaryTests Wildcard not",maxTerm:174,context:au,nodeProps:[["group",-17,4,19,23,29,31,33,41,42,68,70,72,85,86,88,89,90,97,"Expr",47,"Expr Expr",-5,78,79,80,81,82,"Expr Literal"],["closedBy",38,")",71,"]",96,"}"],["openedBy",40,"(",69,"[",95,"{"]],propSources:[cu],skippedNodes:[0,1,2],repeatNodeCount:14,tokenData:"2t~RvXY#iYZ$^Z[#i]^$^pq#iqr$crs$nwx*[xy*ayz*fz{*k{|*x|}*}}!O+S!O!P+a!P!Q,k!Q![.f![!].}!]!^/S!^!_/X!_!`$i!`!a/h!b!c/r!}#O/w#P#Q/|#Q#R*s#S#T0R#o#p2j#q#r2o$f$g#i#BY#BZ#i$IS$I_#i$I|$I}$^$I}$JO$^$JT$JU#i$KV$KW#i&FU&FV#i?HT?HU#i~#nY#r~XY#iZ[#ipq#i$f$g#i#BY#BZ#i$IS$I_#i$JT$JU#i$KV$KW#i&FU&FV#i?HT?HU#i~$cO#s~~$fP!_!`$i~$nOr~~$qXOY$nYZ%^Zr$nrs'us#O$n#O#P'|#P;'S$n;'S;=`)c<%lO$n~%aVOr%^rs%vs#O%^#O#P%{#P;'S%^;'S;=`'S<%lO%^~%{O$j~~&OWOr%^rs&hs#O%^#O#P%{#P;'S%^;'S;=`'Y;=`<%l%^<%lO%^~&mV$j~Or%^rs%vs#O%^#O#P%{#P;'S%^;'S;=`'S<%lO%^~'VP;=`<%l%^~']WOr%^rs%vs#O%^#O#P%{#P;'S%^;'S;=`'S;=`<%l%^<%lO%^~'|O$j~$k~~(PYOY$nYZ$nZr$nrs(os#O$n#O#P'|#P;'S$n;'S;=`)i;=`<%l$n<%lO$n~(vX$j~$k~OY$nYZ%^Zr$nrs'us#O$n#O#P'|#P;'S$n;'S;=`)c<%lO$n~)fP;=`<%l$n~)lYOY$nYZ%^Zr$nrs'us#O$n#O#P'|#P;'S$n;'S;=`)c;=`<%l$n<%lO$n~*aO#{~~*fOv~~*kOx~~*pP^~z{*s~*xO_~~*}O[~~+SO$O~R+XPZP!`!a+[Q+aO$_Q~+fQ#z~!O!P+l!Q![+q~+qO#}~~+vR$i~!Q![+q!g!h,P#X#Y,P~,SR{|,]}!O,]!Q![,c~,`P!Q![,c~,hP$i~!Q![,c~,pQ]~z{,v!P!Q-}~,yTOz,vz{-Y{;'S,v;'S;=`-w<%lO,v~-]VOz,vz{-Y{!P,v!P!Q-r!Q;'S,v;'S;=`-w<%lO,v~-wOQ~~-zP;=`<%l,v~.SSP~OY-}Z;'S-};'S;=`.`<%lO-}~.cP;=`<%l-}~.kS$i~!O!P.w!Q![.f!g!h,P#X#Y,P~.zP!Q![+q~/SO$]~~/XO$t~R/`P!]QsP!_!`/cP/hOsPR/oP!YQsP!_!`/c~/wO$m~~/|O!i~~0RO!g~~0UVO#O0R#O#P0k#P#S0R#S#T1r#T;'S0R;'S;=`1w<%lO0R~0nWO#O0R#O#P0k#P#S0R#S#T1W#T;'S0R;'S;=`1};=`<%l0R<%lO0R~1]V$Z~O#O0R#O#P0k#P#S0R#S#T1r#T;'S0R;'S;=`1w<%lO0R~1wO$Z~~1zP;=`<%l0R~2QWO#O0R#O#P0k#P#S0R#S#T1r#T;'S0R;'S;=`1w;=`<%l0R<%lO0R~2oO#S~~2tO#R~",tokenizers:[Qd,qd,Xd,0,1],topRules:{Expression:[0,3],Expressions:[1,102],UnaryTests:[2,103]},dialects:{camunda:2568},dynamicPrecedences:{31:-1,68:1,72:-1,74:-1},specialized:[{term:122,get:e=>du[e]||-1}],tokenPrec:2571});function hu(e){return Ks.isDateTime(e)}function fu(e){return ss.isDuration(e)}function mu(e){return Array.isArray(e)}function pu(e){return null==e?"nil":function(e){return"boolean"==typeof e}(e)?"boolean":_u(e)?"number":bu(e)?"string":function(e){return Object.getPrototypeOf(e)===Object.prototype}(e)?"context":mu(e)?"list":fu(e)?"duration":hu(e)?1900===e.year&&1===e.month&&1===e.day?"time":0===e.hour&&0===e.minute&&0===e.second&&0===e.millisecond&&e.zone===Hn.utcInstance?"date":"date time":e instanceof yu?"range":e instanceof wu?"function":"literal"}function gu(e,t){return pu(e)===t}class yu{constructor(e){Object.assign(this,e)}}function _u(e){return"number"==typeof e}function bu(e){return"string"==typeof e}function vu(e,t,n=!1){if(null===e&&null!==t||null!==e&&null===t)return!1;mu(e)&&e.length<2&&(e=e[0]),mu(t)&&t.length<2&&(t=t[0]);const i=pu(e),r=pu(t),s=["date time","time","date"];if(s.includes(i))return s.includes(r)?"time"===i&&"time"!==r||"time"===r&&"time"!==i?null:n||e.zone===_n.instance||t.zone===_n.instance?e.equals(t):e.toUTC().valueOf()===t.toUTC().valueOf():null;if(i!==r)return null;if("nil"===i)return!0;
2if("list"===i)return e.length===t.length&&e.every((e,n)=>vu(e,t[n]));if("duration"===i)return Math.abs(e.as("days"))>180?0===Math.trunc(e.minus(t).as("months")):0===Math.trunc(e.minus(t).as("seconds"));if("context"===i){const n=Object.entries(e),i=Object.entries(t);return n.length===i.length&&n.every(([e,n])=>e in t&&vu(n,t[e]))}return"range"===i?[[e.start,t.start],[e.end,t.end],[e["start included"],t["start included"]],[e["end included"],t["end included"]]].every(([e,t])=>e===t):e==t||i!==r&&null}class wu{constructor(e,t){this.fn=e,this.parameterNames=t}invoke(e){let t;if(mu(e)){if(t=e,t.length>this.parameterNames.length){const e=this.parameterNames[this.parameterNames.length-1];if(!e||!e.startsWith("..."))return null}}else{if(Object.keys(e).some(e=>!this.parameterNames.includes(e)&&!this.parameterNames.includes(`...${e}`)))return null;t=this.parameterNames.reduce((t,n)=>{if(n.startsWith("...")){n=n.slice(3);const i=e[n];return i?[...t,...mu(i)?i:[i]]:t}return[...t,e[n]]},[])}return this.fn.call(null,...t)}}function ku(e){if(Array.isArray(e.$args))return e.$args;const t=e.toString(),n=/^(?:[^(]*\s*)?\(([^)]+)?\)/.exec(t);if(!n)throw new Error("failed to parse params: "+t);const[i,r]=n;return r?r.split(",").map(e=>e.trim()):[]}function Tu(e){return new Error(`not implemented: ${e}`)}function Mu(e,t){if(["nil","boolean","number","string"].includes(pu(t)))return;if(e in t)return t[e];const n=ru(e);if(n in t)return t[n];const i=Object.entries(t).find(([e])=>n===ru(e));return i?i[1]:void 0}function Lu(e){return"number"==typeof e?ss.fromMillis(e):ss.fromISO(e)}function Su(e=null,t=null,n=null){if(t){if(e)throw new Error("<str> and <time> provided");return Su(`1900-01-01T${t}`,null)}if("string"==typeof e){if(e.startsWith("-"))throw Tu("negative date");if(!e.includes("T"))return Su(e+"T00:00:00",null,n||Hn.utcInstance);if(e.includes("@")){if(n)throw new Error("<zone> already provided");const[t,i]=e.split("@");return Su(t,null,ls.normalizeZone(i))}return Ks.fromISO(e.toUpperCase(),{setZone:!0,zone:n})}return Ks.now()}const xu={number:Eu(function(e,t,n){if(3!==arguments.length)return null;t&&(e=e.split(t).join("")),n&&"."!==n&&(e=e.split(".").join("#").split(n).join("."));const i=+e;return isNaN(i)?null:i},["string","string?","string?"],["from","grouping separator","decimal separator"]),string:Eu(function(e){return null===e?null:Hu(e)},["any"]),date:Eu(function(e,t,n,i){let r;if(i||_u(e)||(i=e,e=null),bu(i)&&(r=Su(i)),hu(i)&&(r=i),e){if(!_u(t)||!_u(n))return null;r=Su().setZone("utc").set({year:e,month:t,day:n})}return r&&Bu(r.setZone("utc").startOf("day"))||null},["any?","number?","number?","any?"]),"date and time":Eu(function(e,t,n){let i;if(hu(e)&&hu(t)){const n=e.toLocal();i=t.set({year:n.year,month:n.month,day:n.day})}return bu(e)&&(n=e,e=null),bu(n)&&(i=Su(n,null,n.includes("@")?null:_n.instance)),i&&Bu(i)||null},["any?","time?","string?"],["date","time","from"]),time:Eu(function(e,t,n,i,r){let s;if(i)throw Tu("time(..., offset)");if((bu(e)||hu(e))&&(r=e,e=null),bu(r)&&r&&(s=Su(null,r)),hu(r)&&(s=r.set({year:1900,month:1,day:1})),_u(e)){if(!_u(t)||!_u(n))return null;s=Su().set({hour:e,minute:t,second:n}).set({year:1900,month:1,day:1,millisecond:0})}return s&&Bu(s)||null},["any?","number?","number?","any?","any?"]),duration:Eu(function(e){return Bu(Lu(e))},["string"]),"years and months duration":Eu(function(e,t){return Bu(t.diff(e,["years","months"]))},["date","date"]),"@":Eu(function(e){let t;return t=/^-?P/.test(e)?Lu(e):/^[\d]{1,2}:[\d]{1,2}:[\d]{1,2}/.test(e)?Su(null,e):Su(e),t&&Bu(t)||null},["string"]),now:Eu(function(){return Su()},[]),today:Eu(function(){return Su().startOf("day")},[]),not:Eu(function(e){return gu(e,"boolean")?!e:null},["any"]),substring:Eu(function(e,t,n){const i=t<0?e.length+t:t-1,r=Array.from(e);return(void 0!==n?r.slice(i,i+n):r.slice(i)).join("")},["string","number","number?"],["string","start position","length"]),"string length":Eu(function(e){return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length},["string"]),"upper case":Eu(function(e){return e.toUpperCase()},["string"]),"lower case":Eu(function(e){return e.toLowerCase()},["string"]),"substring before":Eu(function(e,t){const n=e.indexOf(t);return-1===n?"":e.substring(0,n)},["string","string"]),"substring after":Eu(function(e,t){const n=e.indexOf(t);return-1===n?"":e.substring(n+t.length)},["string","string"]),replace:Eu(function(e,t,n,i){const r=$u(t,i||"","g");return r&&e.replace(r,n.replace(/\$0/g,"$$&"))},["string","string","string","string?"]),contains:Eu(function(e,t){return e.includes(t)},["string","string"]),matches:Eu(function(e,t,n){const i=$u(t,n||"","");return i&&i.test(e)},["string","string","string?"]),"starts with":Eu(function(e,t){return e.startsWith(t)},["string","string"]),"ends with":Eu(function(e,t){return e.endsWith(t)},["string","string"]),split:Eu(function(e,t){const n=$u(t,"","");return n&&e.split(n)},["string","string"]),"string join":Eu(function(e,t){return e.some(e=>!bu(e)&&null!==e)?null:e.filter(e=>null!==e).join(t||"")},["list","string?"]),"list contains":Eu(function(e,t){return e.some(e=>Du(e,t))},["list","any?"]),"list replace":Eu(function(e,t,n,i){return["number","function"].includes(pu(t||i)
2)?function(e,t,n){if(_u(t))return[...e.slice(0,t-1),n,...e.slice(t)];return e.map((e,i)=>t.invoke([e,n])?n:e)}(e,t||i,n):null},["list","any?","any","function?"]),count:Eu(function(e){return e.length},["list"]),min:Cu(function(...e){return e.reduce((e,t)=>null===e?t:Math.min(e,t),null)},"number"),max:Cu(function(...e){return e.reduce((e,t)=>null===e?t:Math.max(e,t),null)},"number"),sum:Cu(function(...e){return Nu(e)},"number"),mean:Cu(function(...e){const t=Nu(e);return null===t?t:t/e.length},"number"),all:Cu(function(...e){let t=!1;for(const n of e){if(!1===n)return!1;"boolean"!=typeof n&&(t=!0)}return!t||null},"any?"),any:Cu(function(...e){let t=!1;for(const n of e){if(!0===n)return!0;"boolean"!=typeof n&&(t=!0)}return!!t&&null},"any?"),sublist:Eu(function(e,t,n){const i=t<0?e.length+t:t-1;return void 0!==n?e.slice(i,i+n):e.slice(i)},["list","number","number?"]),append:Eu(function(e,...t){return e.concat(t)},["list","any?"]),concatenate:Eu(function(...e){return e.reduce((e,t)=>e.concat(t),[])},["any"]),"insert before":Eu(function(e,t,n){return e.slice(0,t-1).concat([n],e.slice(t-1))},["list","number","any?"]),remove:Eu(function(e,t){return e.slice(0,t-1).concat(e.slice(t))},["list","number"]),reverse:Eu(function(e){return e.slice().reverse()},["list"]),"index of":Eu(function(e,t){return e.reduce(function(e,n,i){return Du(n,t)&&e.push(i+1),e},[])},["list","any"]),union:Cu(function(...e){return e.reduce((e,t)=>t.reduce((e,t)=>(e.some(e=>vu(t,e))||e.push(t),e),e),[])},"list"),"distinct values":Eu(function(e){return e.reduce((e,t)=>(e.some(e=>vu(t,e))||e.push(t),e),[])},["list"]),flatten:Eu(function(e){return Ru(e)},["list"]),product:Cu(function(...e){return 0===e.length?null:e.reduce((e,t)=>e*t,1)},"number"),median:Cu(function(...e){return 0===e.length?null:function(e){const t=e.length,n=e.slice().sort(),i=t/2-1,r=Math.ceil(i);if(i===r)return(n[r]+n[r+1])/2;return n[r]}(e)},"number"),stddev:Cu(function(...e){return e.length<2?null:function(e){const t=e.length,n=e.reduce((e,t)=>e+t)/t;return Math.sqrt(e.map(e=>Math.pow(e-n,2)).reduce((e,t)=>e+t)/(t-1))}(e)},"number"),mode:Cu(function(...e){return function(e){if(e.length<2)return e;const t={};for(const n of e)t[n]=(t[n]||0)+1;const n=Object.entries(t).sort((e,t)=>t[1]-e[1]);return n.filter(e=>e[1]===n[0][1]).map(e=>+e[0])}(e)}
2,"number"),decimal:Eu(function(e,t){return null===e||null===t?null:ju(Fu,e,t)},["number","number"]),floor:Eu(function(e,t=0){if(null===t)return null;const n=Math.pow(10,t);return Math.floor(e*n)/n},["number","number?"]),ceiling:Eu(function(e,t=0){if(null===t)return null;const n=Math.pow(10,t);return Math.ceil(e*n)/n},["number","number?"]),abs:Eu(function(e){return"number"!=typeof e?null:Math.abs(e)},["number"]),"round up":Eu(function(e,t){return null===e||null===t?null:ju(e>0?Math.ceil:Math.floor,e,t)},["number","number"]),"round down":Eu(function(e,t){return null===e||null===t?null:ju(e>0?Math.floor:Math.ceil,e,t)},["number","number"]),"round half up":Eu(function(e,t){if(null===e||null===t)return null;const n=e*Math.pow(10,t)%1;return.5===Math.abs(n)?ju(e>0?Math.ceil:Math.floor,e,t):ju(Math.round,e,t)},["number","number"]),"round half down":Eu(function(e,t){if(null===e||null===t)return null;const n=e*Math.pow(10,t)%1;return.5===Math.abs(n)?ju(e>0?Math.floor:Math.ceil,e,t):ju(Math.round,e,t)},["number","number"]),modulo:Eu(function(e,t){if(!t)return null;const n=1e9;return Math.round((e%t+t)%t*n)/n},["number","number"]),sqrt:Eu(function(e){return e<0?null:Math.sqrt(e)},["number"]),log:Eu(function(e){return e<=0?null:Math.log(e)},["number"]),exp:Eu(function(e){return Math.exp(e)},["number"]),odd:Eu(function(e){return Math.abs(e)%2==1},["number"]),even:Eu(function(e){return Math.abs(e)%2==0},["number"]),is:Eu(function(e,t){return void 0!==e&&void 0!==t&&vu(e,t,!0)},["any?","any?"]),before:Eu(function(e,t){return Pu(e,t)},["any","any"]),after:Eu(function(e,t){return Pu(t,e)},["any","any"]),meets:Eu(function(e,t){return Iu(e,t)},["range","range"]),"met by":Eu(function(e,t){return Iu(t,e)},["range","range"]),overlaps:Eu(function(e,t){return!Pu(e,t)&&!Pu(t,e)},["range","range"]),"overlaps before":Eu(function(){throw Tu("overlaps before")},["any?"]),"overlaps after":Eu(function(){throw Tu("overlaps after")},["any?"]),finishes:Eu(function(){throw Tu("finishes")},["any?"]),"finished by":Eu(function(){throw Tu("finished by")},["any?"]),includes:Eu(function(e,t){return function(e,t){if(!(e instanceof yu))return!1;if(t instanceof yu){const n=e.start<t.start||e.start===t.start&&(e["start included"]||!t["start included"]),i=e.end>t.end||e.end===t.end&&(e["end included"]||!t["end included"]);return n&&i}const n=t>e.start||t===e.start&&e["start included"],i=t<e.end||t===e.end&&e["end included"];return n&&i}(e,t)},["range","any"]),during:Eu(function(){throw Tu("during")},["any?"]),starts:Eu(function(){throw Tu("starts")},["any?"]),"started by":Eu(function(){throw Tu("started by")},["any?"]),coincides:Eu(function(){throw Tu("coincides")},["any?"]),"day of year":Eu(function(e){return e.ordinal},["date time"]),"day of week":Eu(function(e){return e.weekdayLong},["date time"]),"month of year":Eu(function(e){return e.monthLong},["date time"]),"week of year":Eu(function(e){return e.weekNumber},["date time"]),sort:Eu(function(e,t){return Array.from(e).sort((e,n)=>t.invoke([e,n])?-1:1)},["list","function"]),"get value":Eu(function(e,t){const n=Mu(t,e);return null!=n?n:null},["context","string"]),"get entries":Eu(function(e){return 1!==arguments.length||Array.isArray(e)?null:Object.entries(e).map(([e,t])=>({key:e,value:t}))},["context"]),context:Cu(function(...e){const t=e.reduce((e,t)=>{if(e===Yu||!["key","value"].every(e=>e in t))return Yu;const n=t.key;return null===n||n in e?Yu:Object.assign(Object.assign({},e),{[t.key]:t.value})},{});return t===Yu?null:t},"context"),"context merge":Cu(function(...e){return Object.assign({},...e)},"context"),"context put":Eu(function(e,t,n,i){return void 0===t&&void 0===i?null:Ou(e,t||[i],n)},["context","list?","any","string?"],["context","keys","value","key"])};function Ou(e,t,n){const[i,...r]=t;return"string"!==pu(i)||"nil"===pu(e)||r.length&&null===(n=Ou(e[i],r,n))?null:Object.assign(Object.assign({},e),{[i]:n})}function Du(e,t){return e===t}const Yu={};function Au(e){const t=e.endsWith("?"),n=t?e.substring(0,e.length-1):e;return function(e){const i=Array.isArray(e);if("list"===n)return i||t&&void 0===e?e:null===e?Yu:[e];"any"!==n&&i&&1===e.length&&(e=e[0]);const r=pu(e);return"any"===n||n===r?t||void 0!==e?e:Yu:"nil"===r?t?e:Yu:function(e,t){if(hu(e)){if("time"===t)return e.set({year:1900,month:1,day:1});if("date"===t)return e.setZone("utc",{keepLocalTime:!0}).startOf("day");if("date time"===t)return e}return null}(e,n)||Yu}}function Cu(e,t,n=null){const i=Au(t),r=function(...t){return 0===t.length?null:(Array.isArray(t[0])&&1===t.length&&(t=t[0]),t.every(e=>i(e)!==Yu)?e(...t):null)};return r.$args=n||ku(e),r}function Eu(e,t,n=null){const i=function(e){const t=e.map(Au);return function(n){for(;n.length<e.length;)n.push(void 0);return n.reduce((e,n,i)=>{if(!1===e)return e;const r=t[i],s=r?r(n):n;return s!==Yu&&(e.push(s),e)},[])}}(t);n=n||ku(e);const r=function(...t){const n=i(t);return n?e(...n):null};return r.$args=n,r}function Iu(e,t){return[e.end===t.start,!0===e["end included"],!0===t["start included"]].every(e=>e)}function Pu(e,t){return e instanceof yu&&t instanceof yu?e.end<t.start||(!e["end included"]||!t["start included"])&&e.end==t.start:e instanceof yu?e.end<t||!e["end included"]&&e.end===t:t instanceof yu?t.start>e||!t["start included"]&&t.start===e:e<t}function Nu(e){return e.reduce((e,t)=>
2null===e?t:e+t,null)}function Ru([e,...t]){return void 0!==e?[...Array.isArray(e)?Ru(e):[e],...Ru(t)]:[]}function zu(e){return Hu(e,!0)}function Hu(e,t=!1){var n,i,r,s;const o=pu(e);if("nil"===o)return"null";if("string"===o)return t?`"${a=e,a.replace(/("|\\)/g,"\\$1")}"`:e;var a;if("boolean"===o||"number"===o)return String(e);if("list"===o)return"["+e.map(zu).join(", ")+"]";if("context"===o)return"{"+Object.entries(e).map(([e,t])=>function(e){return"string"==typeof e&&/\W/.test(e)?Hu(e,!0):e}(e)+": "+zu(t)).join(", ")+"}";if("duration"===o)return e.shiftTo("years","months","days","hours","minutes","seconds").normalize().toISO();if("date time"===o)return e.zone===_n.instance?e.toISO({suppressMilliseconds:!0,includeOffset:!1}):(null===(n=e.zone)||void 0===n?void 0:n.zoneName)?e.toISO({suppressMilliseconds:!0,includeOffset:!1})+"@"+(null===(i=e.zone)||void 0===i?void 0:i.zoneName):e.toISO({suppressMilliseconds:!0});if("date"===o)return e.toISODate();if("range"===o)return"<range>";if("time"===o)return e.zone===_n.instance?e.toISOTime({suppressMilliseconds:!0,includeOffset:!1}):(null===(r=e.zone)||void 0===r?void 0:r.zoneName)?e.toISOTime({suppressMilliseconds:!0,includeOffset:!1})+"@"+(null===(s=e.zone)||void 0===s?void 0:s.zoneName):e.toISOTime({suppressMilliseconds:!0});if("function"===o)return"<function>";throw Tu("string("+o+")")}function ju(e,t,n){return e(t*Math.pow(10,n))/Math.pow(10,n)}function Fu(e){const t=Math.floor(e);return.5===e-t?t%2==0?t:t+1:Math.round(e)}function Bu(e){return e.isValid?e:null}function $u(e,t,n=""){try{return new RegExp(e,"u"+function(e,t){const n=e.replace(/[smix]/g,"");if(n)throw new Error("illegal flags: "+n);if(/x/.test(e))throw Tu("matches <x> flag");return e+t}(t,n))}catch(e){if(/^not implemented/.test(e.message))throw e}return null}function Wu(e,t={},n){return uu.configure({top:"Expression",contextTracker:ou(t),dialect:n}).parse(e)}function Uu(e,t={},n){return uu.configure({top:"UnaryTests",contextTracker:ou(t),dialect:n}).parse(e)}class Vu extends Error{constructor(e,t){super(e),Object.assign(this,t)}}const Zu=new class{_buildExecutionTree(e,t){const n={args:[],nodeInput:t},i=[n];return e.iterate({enter(e){const{isError:n,isSkipped:r}=e.type,{from:s,to:o}=e;if(n){const{from:n,to:i,message:r}=function(e){const t=e.node,n=t.parent;if(t.from!==t.to)return{from:t.from,to:t.to,message:`Unrecognized token in <${n.name}>`};const i=function(e){const t=e.node;let n,i=t;do{if(n=i.nextSibling,n)return n;i=i.parent}while(i);return null}(t);if(i)return{from:t.from,to:i.to,message:`Unrecognized token <${i.name}> in <${n.name}>`};{const i=n.enterUnfinishedNodesBefore(e.to);return{from:t.from,to:t.to,message:`Incomplete <${(i||n).name}>`}}}(e);throw new Vu(r,{input:t.slice(n,i),position:{from:n,to:i}})}if(r)return!1;const a=t.slice(s,o);i.push({nodeInput:a,args:[]})},leave(e){if(e.type.isSkipped)return;const{nodeInput:t,args:n}=i.pop(),r=i[i.length-1],s=function(e,t,n){switch(e.name){case"ArithOp":return e=>{const n=(t,n=["number"])=>(i,r)=>{const s=i(e),o=r(e);if(mu(s))return null;if(mu(o))return null;const a=pu(s),l=pu(o),c=["date","time","date time","duration"];if(c.includes(a)){if(!c.includes(l))return null}else if(a!==l||!n.includes(a))return null;return t(s,o)};switch(t){case"+":return n((e,t)=>{if(fu(e)&&!fu(t)){const n=e;e=t,t=n}return gu(e,"time")&&fu(t)?e.plus(t).set({year:1900,month:1,day:1}):hu(e)&&hu(t)?null:hu(e)&&fu(t)||fu(e)&&fu(t)?e.plus(t):e+t},["string","number","date","time","duration","date time"]);case"-":return n((e,t)=>gu(e,"time")&&fu(t)?e.minus(t).set({year:1900,month:1,day:1}):hu(e)&&hu(t)?e.diff(t):hu(e)&&fu(t)||fu(e)&&fu(t)?e.minus(t):e-t,["number","date","time","duration","date time"]);case"*":return n((e,t)=>e*t);case"/":return n((e,t)=>t?e/t:null);case"**":case"^":return n((e,t)=>Math.pow(e,t))}};case"CompareOp":return oh(()=>{switch(t){case">":return e=>Ju(e,null,!1,!1);case">=":return e=>Ju(e,null,!0,!1);case"<":return e=>Ju(null,e,!1,!1);case"<=":return e=>Ju(null,e,!1,!0);case"=":return e=>t=>vu(t,e);case"!=":return e=>t=>!vu(t,e)}},lh("boolean"));case"BacktickIdentifier":return t.replace(/`/g,"");case"Wildcard":return e=>!0;case"null":return e=>null;case"Disjunction":return oh(e=>{const t=n[0](e),i=n[2](e),r="boolean"==typeof t?t:null,s="boolean"==typeof i?i:null;return[[!0,!0,!0],[!0,!1,!0],[!0,null,!0],[!1,!0,!0],[!1,!1,!1],[!1,null,null],[null,!0,!0],[null,!1,null],[null,null,null]].find(e=>e[0]===r&&e[1]===s)[2]},lh("boolean"));case"Conjunction":return oh(e=>{const t=n[0](e),i=n[2](e),r="boolean"==typeof t?t:null,s="boolean"==typeof i?i:null;return[[!0,!0,!0],[!0,!1,!1],[!0,null,null],[!1,!0,!1],[!1,!1,!1],[!1,null,!1],[null,!0,null],[null,!1,!1],[null,null,null]].find(e=>e[0]===r&&e[1]===s)[2]},lh("boolean"));case"Context":return e=>n.slice(1,-1).reduce((t,n)=>{const[i,r]=n(Object.assign(Object.assign({},e),t));return Object.assign(Object.assign({},t),{[i]:r})},{});
2case"FunctionBody":case"FormalParameter":case"Key":case"Type":return n[0];case"FormalParameters":return n;case"ParameterName":return n.join(" ");case"FunctionDefinition":return e=>{const t=n[2],i=n[4];return ch((...n)=>{const r=t.reduce((e,t,i)=>(e[t]=n[i],e),Object.assign({},e));return i(r)},t)};case"ContextEntry":return e=>["function"==typeof n[0]?n[0](e):n[0],n[1](e)];case"Identifier":return t;case"SpecialFunctionName":case"DateTimeConstructor":return e=>qu(t);case"Name":return t.replace(/\s{2,}/g," ");case"VariableName":return e=>{const t=n.join(" "),i=Mu(t,e);return void 0!==i?i:qu(t)||null};case"QualifiedName":return e=>n.reduce((e,t)=>t(e),e);case"?":return e=>Mu("?",e);case"IterationContext":return e=>{const t=n[0](e),i=n[1]&&n[1](e);return i?Ju(t,i):t};case"InExpressions":return e=>{const t=e=>null!==e&&!e.some(e=>"nil"===pu(e)),i=(n,i)=>[].concat(...n.map(n=>{const r=i(Object.assign(Object.assign({},e),n));return t(r)?r.map(e=>Object.assign(Object.assign({},n),e)):null})),r=(e,n,...s)=>t(e)?n?r(i(e,n),...s):e:null,s=(t=>{const[n,...i]=t,s=n(e);return r(s,...i)})(n);return s&&s.map(t=>Object.assign(Object.assign({},e),t))};case"InExpression":return e=>function(e,t,n){const i=n(e);if(["list","range"].includes(pu(i)))return i.map(e=>({[t]:e}));return null}(e,n[0],n[2]);case"SpecialType":throw Tu("SpecialType");case"InstanceOfExpression":return oh(e=>n[0](e)instanceof n[3](e),lh("boolean"));case"every":return oh(e=>(t,n)=>{const i=t(e);return"list"!==pu(i)?i:i.every(e=>ah(n(e)))},lh("boolean"));case"some":return oh(e=>(t,n)=>{const i=t(e);return"list"!==pu(i)?i:i.some(e=>ah(n(e)))},lh("boolean"));case"NumericLiteral":return oh(e=>t.includes(".")?parseFloat(t):parseInt(t),"number");case"BooleanLiteral":return oh(e=>"true"===t,"boolean");case"StringLiteral":return oh(e=>function(e){e.startsWith('"')&&(e=e.slice(1));e.endsWith('"')&&(e=e.slice(0,-1));return e.replace(/(\\")|(\\\\)|(\\n)|(\\r)|(\\t)|(\\u[a-fA-F0-9]{5,6})|((?:\\u[a-fA-F0-9]{1,4})+)/gi,function(e,...t){const[n,i,r,s,o,a,l]=t;if(n)return'"';if(r)return"\n";if(s)return"\r";if(o)return"\t";if(i)return"\\";const c=/\\u([a-fA-F0-9]+)/gi;if(a){const e=c.exec(a);return String.fromCodePoint(parseInt(e[1],16))}if(l){const t=[];let n;for(;null!==(n=c.exec(e));)t.push(parseInt(n[1],16));return String.fromCharCode(...t)}throw new Error("illegal match")})}(t),"string");case"PositionalParameters":return e=>n.map(t=>t(e));case"NamedParameter":return e=>[n[0],n[1](e)];case"NamedParameters":return e=>n.reduce((t,n)=>{const[i,r]=n(e);return t[i]=r,t},{});case"DateTimeLiteral":return e=>{if(1===n.length)return n[0](e);{const t=ch(n[0](e));if(!t)return null;const i=n[2](e);return t.invoke(i)}};case"AtLiteral":return e=>{const t=ch(qu("@"));return t?t.invoke([n[0](e)]):null};case"FunctionInvocation":return e=>{const t=ch(n[0](e));if(!t)return null;const i=n[2](e);return t.invoke(i)};case"IfExpression":return function(){const e=n[1],t=n[3],i=n[5];return oh(n=>ah(e(n))?t(n):i?i(n):null,sh(t,i))}();case"Parameters":return 3===n.length?n[1]:e=>[];case"Comparison":return e=>{const t=n[1];if("in"===t)return function(e,t){if(!mu(t)){if("nil"===pu(t))return null;t=[t]}return t.some(t=>Qu(t,e))}(n[0](e),(n[3]||n[2])(e));if("between"===t){const t=n[2](e),i=n[4](e);return null===t||null===i?null:Ju(t,i).includes(n[0](e))}const i=n[0](e),r=n[2](e);return Qu(t()(r),i)};case"QuantifiedExpression":return e=>n[0](e)(n[1],n[3]);case"ForExpression":return e=>{const t=n[n.length-1],i=n[1](e);if("list"!==pu(i))return i;const r=[];for(const e of i)r.push(t(Object.assign(Object.assign({},e),{partial:r})));return r};case"ArithmeticExpression":return function(){if(3===n.length){const[e,t,i]=n;return oh(n=>t(n)(e,i),sh(e,i))}if(2===n.length){const[e,t]=n;return oh(n=>e(n)(()=>0,t),t.type)}}();case"PositiveUnaryTest":return e=>"boolean"===n[0].type&&z(e,"?")?n[0](e)===e["?"]:n[0](e);case"ParenthesizedExpression":return n[1];case"PathExpression":return e=>{const t=n[0](e),i=n[1];return mu(t)?t.map(i):i(t)};case"FilterExpression":return e=>{const t=n[0](e),i=n[2],r=mu(t)?t:[t];if(null===t)return null;if(void 0===i.type)try{_u(i(e))&&(i.type="number")}catch(e){}if("number"===i.type){const t=i(e),n=r[t<0?r.length+t:t-1];return void 0===n?null:n}
2if("boolean"===i.type)return i(e)?r:[];if("string"===i.type){const t=i(e);return r.filter(e=>e===t)}return r.map(t=>{const n=Object.assign(Object.assign(Object.assign({},e),{item:t}),t);let r=i(n);return"function"==typeof r&&(r=r(t)),r instanceof yu&&(r=r.includes(t)),!0===r?t:r}).filter(ah)};case"SimplePositiveUnaryTest":return oh(e=>1===n.length?n[0](e):n[0](e)(n[1](e)),"test");case"List":return e=>n.slice(1,-1).map(t=>t(e));case"Interval":return oh(e=>{const t=n[1](e),i=n[2](e);return Ju(t,i,null!==t&&"["===n[0],null!==i&&"]"===n[3])},lh("boolean"));case"PositiveUnaryTests":case"Expressions":return e=>n.map(t=>t(e));case"Expression":return e=>n[0](e);case"UnaryTests":return e=>(t=null)=>{const i="not"===n[0],r=(i?n.slice(2,-1):n).map(t=>t(e)).flat(1).map(e=>mu(e)?e.includes(t):"boolean"==typeof e?e:Qu(e,t)).some(e=>!0===e);return null===r?null:i?!r:r};default:return e.name}}(e,t,n);r.args.push(s)}}),n.args[n.args.length-1]}evaluate(e,t={},n){const i=Wu(e,t,n);return{parseTree:i,root:this._buildExecutionTree(i,e)}}unaryTest(e,t={},n){const i=Uu(e,t,n);return{parseTree:i,root:this._buildExecutionTree(i,e)}}};function qu(e,t){return Mu(e,xu)}function Qu(e,t){return"function"==typeof e?e(t):e instanceof yu?e.includes(t):vu(e,t)}const Xu=Array.from("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");function Gu(e,t){return t.some(t=>pu(t)===e)&&t.every(t=>null===t||pu(t)===e)}const Ku=new yu({start:null,end:null,"start included":!1,"end included":!1,map(){return[]},includes(){return null}});function Ju(e,t,n=!0,i=!0){if(Gu("string",[e,t]))return function(e,t,n=!0,i=!0){if(null!==e&&!Xu.includes(e))throw new Error("illegal range start: "+e);if(null!==t&&!Xu.includes(t))throw new Error("illegal range end: "+t);let r;if(null!==e&&null!==t){let s=Xu.indexOf(e),o=Xu.indexOf(t);const a=s>o?-1:1;!1===n&&(s+=a),!1===i&&(o-=a),r=Xu.slice(s,o+1)}const s=r?function(e){return t=>e.map(t)}(r):eh(),o=r?function(e){return t=>e.includes(t)}(r):ih(e,t,n,i);return new yu({start:e,end:t,"start included":n,"end included":i,map:s,includes:o})}(e,t,n,i);if(Gu("number",[e,t]))return function(e,t,n,i){const r=null!==e&&null!==t?function(e,t,n,i){const r=e>t?-1:1;return s=>{const o=[];for(let a=e;;a+=r)if(0!==a||n){if(a===t&&!i)break;if(o.push(s(a)),a===t)break}return o}}(e,t,n,i):eh(),s=ih(e,t,n,i);return new yu({start:e,end:t,"start included":n,"end included":i,map:r,includes:s})}(e,t,n,i);if(Gu("duration",[e,t]))return function(e,t,n,i){const r=e=>e?ss.fromDurationLike(e).toMillis():null,s=eh(),o=ih(r(e),r(t),n,i,r);return new yu({start:e,end:t,"start included":n,"end included":i,map:s,includes:o})}(e,t,n,i);if(Gu("time",[e,t]))return rh(e,t,n,i);if(Gu("date time",[e,t]))return rh(e,t,n,i);if(Gu("date",[e,t]))return rh(e,t,n,i);if(null===e&&null===t)return Ku;throw new Error(`unsupported range: ${e}..${t}`)}function eh(){return()=>{throw new Error("unsupported range operation: map")}}function th(e,t){return t?t=>e<=t:t=>e<t}function nh(e,t){return t?t=>e>=t:t=>e>t}function ih(e,t,n,i,r=e=>e){let s=[];return null===e&&null===t?()=>null:(null!==e&&null!==t?s=e>t?[th(t,i),nh(e,n)]:[th(e,n),nh(t,i)]:null!==t?s=[nh(t,i)]:null!==e&&(s=[th(e,n)]),e=>null===e?null:s.every(t=>t(r(e))))}function rh(e,t,n,i){const r=eh(),s=ih(e,t,n,i);return new yu({start:e,end:t,"start included":n,"end included":i,map:r,includes:s})}function sh(e,t){return t?e.type===t.type?e.type:"any":e.type}function oh(e,t){return Object.assign(e,{type:t,toString(){return`TaggedFunction[${t}] ${Function.prototype.toString.call(e)}`}})}function ah(e){return!1!==e&&null!==e}function lh(e){return`Test<${e}>`}function ch(e,t=null){return e?e instanceof wu?e:e instanceof yu?new wu(t=>e.includes(t),["value"]):"function"!=typeof e?null:new wu(e,t||ku(e)):null}function dh(e){return Ks.isDateTime(e)}function uh(e){return ss.isDuration(e)}function hh(e){return Array.isArray(e)}function fh(e){return null==e?"nil":function(e){return"boolean"==typeof e}(e)?"boolean":gh(e)?"number":yh(e)?"string":function(e){return Object.getPrototypeOf(e)===Object.prototype}(e)?"context":hh(e)?"list":uh(e)?"duration":dh(e)?1900===e.year&&1===e.month&&1===e.day?"time":0===e.hour&&0===e.minute&&0===e.second&&0===e.millisecond&&e.zone===Hn.utcInstance?"date":"date time":e instanceof ph?"range":e instanceof bh?"function":"literal"}function mh(e,t){return fh(e)===t}class ph{constructor(e){Object.assign(this,e)}}function gh(e){return"number"==typeof e}function yh(e){return"string"==typeof e}function _h(e,t,n=!1){if(null===e&&null!==t||null!==e&&null===t)return!1;hh(e)&&e.length<2&&(e=e[0]),hh(t)&&t.length<2&&(t=t[0]);const i=fh(e),r=fh(t),s=["date time","time","date"];if(s.includes(i))return s.includes(r)?"time"===i&&"time"!==r||"time"===r&&"time"!==i?null:n||e.zone===_n.instance||t.zone===_n.instance?e.equals(t):e.toUTC().valueOf()===t.toUTC().valueOf():null;if(i!==r)return null;if("nil"===i)return!0;
2if("list"===i)return e.length===t.length&&e.every((e,n)=>_h(e,t[n]));if("duration"===i)return Math.abs(e.as("days"))>180?0===Math.trunc(e.minus(t).as("months")):0===Math.trunc(e.minus(t).as("seconds"));if("context"===i){const n=Object.entries(e),i=Object.entries(t);return n.length===i.length&&n.every(([e,n])=>e in t&&_h(n,t[e]))}return"range"===i?[[e.start,t.start],[e.end,t.end],[e["start included"],t["start included"]],[e["end included"],t["end included"]]].every(([e,t])=>e===t):e==t||i!==r&&null}class bh{constructor(e,t){this.fn=e,this.parameterNames=t}invoke(e){let t;if(hh(e)){if(t=e,t.length>this.parameterNames.length){const e=this.parameterNames[this.parameterNames.length-1];if(!e||!e.startsWith("..."))return null}}else{if(Object.keys(e).some(e=>!this.parameterNames.includes(e)&&!this.parameterNames.includes(`...${e}`)))return null;t=this.parameterNames.reduce((t,n)=>{if(n.startsWith("...")){n=n.slice(3);const i=e[n];return i?[...t,...hh(i)?i:[i]]:t}return[...t,e[n]]},[])}return this.fn.call(null,...t)}}function vh(e){if(Array.isArray(e.$args))return e.$args;const t=e.toString(),n=/^(?:[^(]*\s*)?\(([^)]+)?\)/.exec(t);if(!n)throw new Error("failed to parse params: "+t);const[i,r]=n;return r?r.split(",").map(e=>e.trim()):[]}function wh(e){return new Error(`not implemented: ${e}`)}function kh(e,t){if(["nil","boolean","number","string"].includes(fh(t)))return;if(e in t)return t[e];const n=ru(e);if(n in t)return t[n];const i=Object.entries(t).find(([e])=>n===ru(e));return i?i[1]:void 0}function Th(e){return"number"==typeof e?ss.fromMillis(e):ss.fromISO(e)}function Mh(e=null,t=null,n=null){if(t){if(e)throw new Error("<str> and <time> provided");return Mh(`1900-01-01T${t}`,null)}if("string"==typeof e){if(e.startsWith("-"))throw wh("negative date");if(!e.includes("T"))return Mh(e+"T00:00:00",null,n||Hn.utcInstance);if(e.includes("@")){if(n)throw new Error("<zone> already provided");const[t,i]=e.split("@");return Mh(t,null,ls.normalizeZone(i))}return Ks.fromISO(e.toUpperCase(),{setZone:!0,zone:n})}return Ks.now()}const Lh={number:Ah(function(e,t,n){if(3!==arguments.length)return null;t&&(e=e.split(t).join("")),n&&"."!==n&&(e=e.split(".").join("#").split(n).join("."));const i=+e;return isNaN(i)?null:i},["string","string?","string?"],["from","grouping separator","decimal separator"]),string:Ah(function(e){return null===e?null:Rh(e)},["any"]),date:Ah(function(e,t,n,i){let r;return i||gh(e)||(i=e,e=null),yh(i)&&(r=Mh(i)),dh(i)&&(r=i),e&&(r=Mh().setZone("utc").set({year:e,month:t,day:n})),r&&Hh(r.setZone("utc").startOf("day"))||null},["any?","number?","number?","any?"]),"date and time":Ah(function(e,t,n){let i;if(dh(e)&&dh(t)){const n=e.toLocal();i=t.set({year:n.year,month:n.month,day:n.day})}return yh(e)&&(n=e,e=null),yh(n)&&(i=Mh(n,null,n.includes("@")?null:_n.instance)),i&&Hh(i)||null},["any?","time?","string?"],["date","time","from"]),time:Ah(function(e,t,n,i,r){let s;if(i)throw wh("time(..., offset)");return(yh(e)||dh(e))&&(r=e,e=null),yh(r)&&(s=Mh(null,r)),dh(r)&&(s=r.set({year:1900,month:1,day:1})),gh(e)&&(s=Mh().set({hour:e,minute:t,second:n}).set({year:1900,month:1,day:1,millisecond:0})),s&&Hh(s)||null},["any?","number?","number?","any?","any?"]),duration:Ah(function(e){return Hh(Th(e))},["string"]),"years and months duration":Ah(function(e,t){return Hh(t.diff(e,["years","months"]))},["date","date"]),"@":Ah(function(e){let t;return t=/^-?P/.test(e)?Th(e):/^[\d]{1,2}:[\d]{1,2}:[\d]{1,2}/.test(e)?Mh(null,e):Mh(e),t&&Hh(t)||null},["string"]),now:Ah(function(){return Mh()},[]),today:Ah(function(){return Mh().startOf("day")},[]),not:Ah(function(e){return mh(e,"boolean")?!e:null},["any"]),substring:Ah(function(e,t,n){const i=t<0?e.length+t:t-1,r=Array.from(e);return(void 0!==n?r.slice(i,i+n):r.slice(i)).join("")},["string","number","number?"],["string","start position","length"]),"string length":Ah(function(e){return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length},["string"]),"upper case":Ah(function(e){return e.toUpperCase()},["string"]),"lower case":Ah(function(e){return e.toLowerCase()},["string"]),"substring before":Ah(function(e,t){const n=e.indexOf(t);return-1===n?"":e.substring(0,n)},["string","string"]),"substring after":Ah(function(e,t){const n=e.indexOf(t);return-1===n?"":e.substring(n+t.length)},["string","string"]),replace:Ah(function(e,t,n,i){return e.replace(new RegExp(t,"ug"+(i||"").replace(/[x]/g,"")),n.replace(/\$0/g,"$$&"))},["string","string","string","string?"]),contains:Ah(function(e,t){return e.includes(t)},["string","string"]),matches:Ah(function(e,t,n){throw wh("matches")},["string","string","string?"]),"starts with":Ah(function(e,t){return e.startsWith(t)},["string","string"]),"ends with":Ah(function(e,t){return e.endsWith(t)},["string","string"]),split:Ah(function(e,t){return e.split(new RegExp(t,"u"))},["string","string"]),"string join":Ah(function(e,t){return e.some(e=>!yh(e)&&null!==e)?null:e.filter(e=>null!==e).join(t||"")},["list","string?"]),"list contains":Ah(function(e,t){return e.some(e=>xh(e,t))},["list","any?"]),"list replace":Ah(function(e,t,n,i){return["number","function"].includes(fh(t||i))?function(e,t,n){if(gh(t))return[...e.slice(0,t-1),n,...e.slice(t)];return e.map((e,i)=>t.invoke([e,n])?n:e)}(e,t||i,n):null},["list","any?","any","function?"]),count:Ah(function(e){return e.length},["list"]),min:Yh(function(...e){return e.reduce((e,t)=>
2null===e?t:Math.min(e,t),null)},"number"),max:Yh(function(...e){return e.reduce((e,t)=>null===e?t:Math.max(e,t),null)},"number"),sum:Yh(function(...e){return Ih(e)},"number"),mean:Yh(function(...e){const t=Ih(e);return null===t?t:t/e.length},"number"),all:Yh(function(...e){let t=!1;for(const n of e){if(!1===n)return!1;"boolean"!=typeof n&&(t=!0)}return!t||null},"any?"),any:Yh(function(...e){let t=!1;for(const n of e){if(!0===n)return!0;"boolean"!=typeof n&&(t=!0)}return!!t&&null},"any?"),sublist:Ah(function(e,t,n){const i=t<0?e.length+t:t-1;return void 0!==n?e.slice(i,i+n):e.slice(i)},["list","number","number?"]),append:Ah(function(e,...t){return e.concat(t)},["list","any?"]),concatenate:Ah(function(...e){return e.reduce((e,t)=>e.concat(t),[])},["any"]),"insert before":Ah(function(e,t,n){return e.slice(0,t-1).concat([n],e.slice(t-1))},["list","number","any?"]),remove:Ah(function(e,t){return e.slice(0,t-1).concat(e.slice(t))},["list","number"]),reverse:Ah(function(e){return e.slice().reverse()},["list"]),"index of":Ah(function(e,t){return e.reduce(function(e,n,i){return xh(n,t)&&e.push(i+1),e},[])},["list","any"]),union:Yh(function(...e){return e.reduce((e,t)=>t.reduce((e,t)=>(e.some(e=>_h(t,e))||e.push(t),e),e),[])},"list"),"distinct values":Ah(function(e){return e.reduce((e,t)=>(e.some(e=>_h(t,e))||e.push(t),e),[])},["list"]),flatten:Ah(function(e){return Ph(e)},["list"]),product:Yh(function(...e){return 0===e.length?null:e.reduce((e,t)=>e*t,1)},"number"),median:Yh(function(...e){return 0===e.length?null:function(e){const t=e.length,n=e.slice().sort(),i=t/2-1,r=Math.ceil(i);if(i===r)return(n[r]+n[r+1])/2;return n[r]}(e)},"number"),stddev:Yh(function(...e){return e.length<2?null:function(e){const t=e.length,n=e.reduce((e,t)=>e+t)/t;return Math.sqrt(e.map(e=>Math.pow(e-n,2)).reduce((e,t)=>e+t)/(t-1))}(e)},"number"),mode:Yh(function(...e){return function(e){if(e.length<2)return e;const t={};for(const n of e)t[n]=(t[n]||0)+1;const n=Object.entries(t).sort((e,t)=>t[1]-e[1]);return n.filter(e=>e[1]===n[0][1]).map(e=>+e[0])}(e)}
2,"number"),decimal:Ah(function(e,t){if(!t)return zh(e);const n=Math.pow(10,t);return zh(e*n)/n},["number","number"]),floor:Ah(function(e,t=0){if(null===t)return null;const n=Math.pow(10,t);return Math.floor(e*n)/n},["number","number?"]),ceiling:Ah(function(e,t=0){if(null===t)return null;const n=Math.pow(10,t);return Math.ceil(e*n)/n},["number","number?"]),abs:Ah(function(e){return"number"!=typeof e?null:Math.abs(e)},["number"]),"round up":Ah(function(e,t){throw wh("round up")},["number","number"]),"round down":Ah(function(e,t){throw wh("round down")},["number","number"]),"round half up":Ah(function(e,t){throw wh("round half up")},["number","number"]),"round half down":Ah(function(e,t){throw wh("round half down")},["number","number"]),modulo:Ah(function(e,t){if(!t)return null;const n=1e9;return Math.round((e%t+t)%t*n)/n},["number","number"]),sqrt:Ah(function(e){return e<0?null:Math.sqrt(e)},["number"]),log:Ah(function(e){return e<=0?null:Math.log(e)},["number"]),exp:Ah(function(e){return Math.exp(e)},["number"]),odd:Ah(function(e){return Math.abs(e)%2==1},["number"]),even:Ah(function(e){return Math.abs(e)%2==0},["number"]),is:Ah(function(e,t){return void 0!==e&&void 0!==t&&_h(e,t,!0)},["any?","any?"]),before:Ah(function(e,t){return Eh(e,t)},["any","any"]),after:Ah(function(e,t){return Eh(t,e)},["any","any"]),meets:Ah(function(e,t){return Ch(e,t)},["range","range"]),"met by":Ah(function(e,t){return Ch(t,e)},["range","range"]),overlaps:Ah(function(e,t){return!Eh(e,t)&&!Eh(t,e)},["range","range"]),"overlaps before":Ah(function(){throw wh("overlaps before")},["any?"]),"overlaps after":Ah(function(){throw wh("overlaps after")},["any?"]),finishes:Ah(function(){throw wh("finishes")},["any?"]),"finished by":Ah(function(){throw wh("finished by")},["any?"]),includes:Ah(function(){throw wh("includes")},["any?"]),during:Ah(function(){throw wh("during")},["any?"]),starts:Ah(function(){throw wh("starts")},["any?"]),"started by":Ah(function(){throw wh("started by")},["any?"]),coincides:Ah(function(){throw wh("coincides")},["any?"]),"day of year":Ah(function(e){return e.ordinal},["date time"]),"day of week":Ah(function(e){return e.weekdayLong},["date time"]),"month of year":Ah(function(e){return e.monthLong},["date time"]),"week of year":Ah(function(e){return e.weekNumber},["date time"]),sort:Ah(function(e,t){return Array.from(e).sort((e,n)=>t.invoke([e,n])?-1:1)},["list","function"]),"get value":Ah(function(e,t){const n=kh(t,e);return null!=n?n:null},["context","string"]),"get entries":Ah(function(e){return 1!==arguments.length||Array.isArray(e)?null:Object.entries(e).map(([e,t])=>({key:e,value:t}))},["context"]),context:Yh(function(...e){const t=e.reduce((e,t)=>{if(e===Oh||!["key","value"].every(e=>e in t))return Oh;const n=t.key;return null===n||n in e?Oh:Object.assign(Object.assign({},e),{[t.key]:t.value})},{});return t===Oh?null:t},"context"),"context merge":Yh(function(...e){return Object.assign({},...e)},"context"),"context put":Ah(function(e,t,n,i){return void 0===t&&void 0===i?null:Sh(e,t||[i],n)},["context","list?","any","string?"],["context","keys","value","key"])};function Sh(e,t,n){const[i,...r]=t;return"string"!==fh(i)||"nil"===fh(e)||r.length&&null===(n=Sh(e[i],r,n))?null:Object.assign(Object.assign({},e),{[i]:n})}function xh(e,t){return e===t}const Oh={};function Dh(e){const t=e.endsWith("?"),n=t?e.substring(0,e.length-1):e;return function(e){const i=Array.isArray(e);if("list"===n)return i||t&&void 0===e?e:null===e?Oh:[e];"any"!==n&&i&&1===e.length&&(e=e[0]);const r=fh(e);return"any"===n||n===r?t||void 0!==e?e:Oh:"nil"===r?t?e:Oh:function(e,t){if(dh(e)){if("time"===t)return e.set({year:1900,month:1,day:1});if("date"===t)return e.setZone("utc",{keepLocalTime:!0}).startOf("day");if("date time"===t)return e}return null}(e,n)||Oh}}function Yh(e,t,n=null){const i=Dh(t),r=function(...t){return 0===t.length?null:(Array.isArray(t[0])&&1===t.length&&(t=t[0]),t.every(e=>i(e)!==Oh)?e(...t):null)};return r.$args=n||vh(e),r}function Ah(e,t,n=null){const i=function(e){const t=e.map(Dh);return function(n){for(;n.length<e.length;)n.push(void 0);return n.reduce((e,n,i)=>{if(!1===e)return e;const r=t[i],s=r?r(n):n;return s!==Oh&&(e.push(s),e)},[])}}(t);n=n||vh(e);const r=function(...t){const n=i(t);return n?e(...n):null};return r.$args=n,r}function Ch(e,t){return[e.end===t.start,!0===e["end included"],!0===t["start included"]].every(e=>e)}function Eh(e,t){return e instanceof ph&&t instanceof ph?e.end<t.start||(!e["end included"]||!t["start included"])&&e.end==t.start:e instanceof ph?e.end<t||!e["end included"]&&e.end===t:t instanceof ph?t.start>e||!t["start included"]&&t.start===e:e<t}function Ih(e){return e.reduce((e,t)=>
2null===e?t:e+t,null)}function Ph([e,...t]){return void 0!==e?[...Array.isArray(e)?Ph(e):[e],...Ph(t)]:[]}function Nh(e){return Rh(e,!0)}function Rh(e,t=!1){var n,i,r,s;const o=fh(e);if("nil"===o)return"null";if("string"===o)return t?`"${a=e,a.replace(/("|\\)/g,"\\$1")}"`:e;var a;if("boolean"===o||"number"===o)return String(e);if("list"===o)return"["+e.map(Nh).join(", ")+"]";if("context"===o)return"{"+Object.entries(e).map(([e,t])=>function(e){return"string"==typeof e&&/\W/.test(e)?Rh(e,!0):e}(e)+": "+Nh(t)).join(", ")+"}";if("duration"===o)return e.shiftTo("years","months","days","hours","minutes","seconds").normalize().toISO();if("date time"===o)return e.zone===_n.instance?e.toISO({suppressMilliseconds:!0,includeOffset:!1}):(null===(n=e.zone)||void 0===n?void 0:n.zoneName)?e.toISO({suppressMilliseconds:!0,includeOffset:!1})+"@"+(null===(i=e.zone)||void 0===i?void 0:i.zoneName):e.toISO({suppressMilliseconds:!0});if("date"===o)return e.toISODate();if("range"===o)return"<range>";if("time"===o)return e.zone===_n.instance?e.toISOTime({suppressMilliseconds:!0,includeOffset:!1}):(null===(r=e.zone)||void 0===r?void 0:r.zoneName)?e.toISOTime({suppressMilliseconds:!0,includeOffset:!1})+"@"+(null===(s=e.zone)||void 0===s?void 0:s.zoneName):e.toISOTime({suppressMilliseconds:!0});if("function"===o)return"<function>";throw wh("string("+o+")")}function zh(e){const t=Math.floor(e);return.5===e-t?t%2==0?t:t+1:Math.round(e)}function Hh(e){return e.isValid?e:null}class jh extends Error{constructor(e,t){super(e),Object.assign(this,t)}}const Fh=new class{_buildExecutionTree(e,t){const n={args:[],nodeInput:t},i=[n];return e.iterate({enter(e){const{isError:n,isSkipped:r}=e.type,{from:s,to:o}=e;if(n){const{from:n,to:i,message:r}=function(e){const t=e.node,n=t.parent;if(t.from!==t.to)return{from:t.from,to:t.to,message:`Unrecognized token in <${n.name}>`};const i=function(e){const t=e.node;let n,i=t;do{if(n=i.nextSibling,n)return n;i=i.parent}while(i);return null}(t);if(i)return{from:t.from,to:i.to,message:`Unrecognized token <${i.name}> in <${n.name}>`};{const i=n.enterUnfinishedNodesBefore(e.to);return{from:t.from,to:t.to,message:`Incomplete <${(i||n).name}>`}}}(e);throw new jh(r,{input:t.slice(n,i),position:{from:n,to:i}})}if(r)return!1;const a=t.slice(s,o);i.push({nodeInput:a,args:[]})},leave(e){if(e.type.isSkipped)return;const{nodeInput:t,args:n}=i.pop(),r=i[i.length-1],s=function(e,t,n){switch(e.name){case"ArithOp":return e=>{const n=(t,n=["number"])=>(i,r)=>{const s=i(e),o=r(e);if(hh(s))return null;if(hh(o))return null;const a=fh(s),l=fh(o),c=["date","time","date time","duration"];if(c.includes(a)){if(!c.includes(l))return null}else if(a!==l||!n.includes(a))return null;return t(s,o)};switch(t){case"+":return n((e,t)=>{if(uh(e)&&!uh(t)){const n=e;e=t,t=n}return mh(e,"time")&&uh(t)?e.plus(t).set({year:1900,month:1,day:1}):dh(e)&&dh(t)?null:dh(e)&&uh(t)||uh(e)&&uh(t)?e.plus(t):e+t},["string","number","date","time","duration","date time"]);case"-":return n((e,t)=>mh(e,"time")&&uh(t)?e.minus(t).set({year:1900,month:1,day:1}):dh(e)&&dh(t)?e.diff(t):dh(e)&&uh(t)||uh(e)&&uh(t)?e.minus(t):e-t,["number","date","time","duration","date time"]);case"*":return n((e,t)=>e*t);case"/":return n((e,t)=>t?e/t:null);case"**":case"^":return n((e,t)=>Math.pow(e,t))}};case"CompareOp":return tf(()=>{switch(t){case">":return e=>qh(e,null,!1,!1);case">=":return e=>qh(e,null,!0,!1);case"<":return e=>qh(null,e,!1,!1);case"<=":return e=>qh(null,e,!1,!0);case"=":return e=>t=>_h(t,e);case"!=":return e=>t=>!_h(t,e)}},sf("boolean"));case"BacktickIdentifier":return t.replace(/`/g,"");case"Wildcard":return e=>!0;case"null":return e=>null;case"Disjunction":return tf(e=>{const t=n[0](e),i=n[2](e),r="boolean"==typeof t?t:null,s="boolean"==typeof i?i:null;return[[!0,!0,!0],[!0,!1,!0],[!0,null,!0],[!1,!0,!0],[!1,!1,!1],[!1,null,null],[null,!0,!0],[null,!1,null],[null,null,null]].find(e=>e[0]===r&&e[1]===s)[2]},sf("boolean"));case"Conjunction":return tf(e=>{const t=n[0](e),i=n[2](e),r="boolean"==typeof t?t:null,s="boolean"==typeof i?i:null;return[[!0,!0,!0],[!0,!1,!1],[!0,null,null],[!1,!0,!1],[!1,!1,!1],[!1,null,!1],[null,!0,null],[null,!1,!1],[null,null,null]].find(e=>e[0]===r&&e[1]===s)[2]},sf("boolean"));case"Context":return e=>n.slice(1,-1).reduce((t,n)=>{const[i,r]=n(Object.assign(Object.assign({},e),t));return Object.assign(Object.assign({},t),{[i]:r})},{});
2case"FunctionBody":case"FormalParameter":case"Key":case"Type":case"PositiveUnaryTest":return n[0];case"FormalParameters":return n;case"ParameterName":return n.join(" ");case"FunctionDefinition":return e=>{const t=n[2],i=n[4];return of((...n)=>{const r=t.reduce((e,t,i)=>(e[t]=n[i],e),Object.assign({},e));return i(r)},t)};case"ContextEntry":return e=>["function"==typeof n[0]?n[0](e):n[0],n[1](e)];case"Identifier":return t;case"SpecialFunctionName":case"DateTimeConstructor":return e=>$h(t);case"Name":return t.replace(/\s{2,}/g," ");case"VariableName":return e=>{const t=n.join(" "),i=kh(t,e);return void 0!==i?i:$h(t)||null};case"QualifiedName":return e=>n.reduce((e,t)=>t(e),e);case"?":return e=>kh("?",e);case"IterationContext":return e=>{const t=n[0](e),i=n[1]&&n[1](e);return i?qh(t,i):t};case"InExpressions":return e=>{const t=n.map(t=>t(e));return t.some(e=>"list"!==fh(e))?null:function(e){if(e.some(e=>"nil"===fh(e)))return null;const t=(e,t)=>[].concat(...e.map(e=>t.map(t=>[].concat(e,t)))),n=(e,i,...r)=>i?n(t(e,i),...r):e||[];return n(...e)}(t).map(t=>(hh(t)||(t=[t]),Object.assign({},e,...t)))};case"InExpression":return e=>function(e,t,n){const i=n(e);if(["list","range"].includes(fh(i)))return i.map(e=>({[t]:e}));return null}(e,n[0],n[2]);case"SpecialType":throw wh("SpecialType");case"InstanceOfExpression":return tf(e=>n[0](e)instanceof n[3](e),sf("boolean"));case"every":return tf(e=>(t,n)=>{const i=t(e);return"list"!==fh(i)?i:i.every(e=>rf(n(e)))},sf("boolean"));case"some":return tf(e=>(t,n)=>{const i=t(e);return"list"!==fh(i)?i:i.some(e=>rf(n(e)))},sf("boolean"));case"NumericLiteral":return tf(e=>t.includes(".")?parseFloat(t):parseInt(t),"number");case"BooleanLiteral":return tf(e=>"true"===t,"boolean");case"StringLiteral":return tf(e=>function(e){e.startsWith('"')&&(e=e.slice(1));e.endsWith('"')&&(e=e.slice(0,-1));return e.replace(/(\\")|(\\\\)|(\\u[a-fA-F0-9]{5,6})|((?:\\u[a-fA-F0-9]{1,4})+)/gi,function(e,...t){const[n,i,r,s]=t;if(n)return'"';if(i)return"\\";const o=/\\u([a-fA-F0-9]+)/gi;if(r){const e=o.exec(r);return String.fromCodePoint(parseInt(e[1],16))}if(s){const t=[];let n;for(;null!==(n=o.exec(e));)t.push(parseInt(n[1],16));return String.fromCharCode(...t)}throw new Error("illegal match")})}(t),"string");case"PositionalParameters":return e=>n.map(t=>t(e));case"NamedParameter":return e=>[n[0],n[1](e)];case"NamedParameters":return e=>n.reduce((t,n)=>{const[i,r]=n(e);return t[i]=r,t},{});case"DateTimeLiteral":return e=>{if(1===n.length)return n[0](e);{const t=of(n[0](e));if(!t)return null;const i=n[2](e);return t.invoke(i)}};case"AtLiteral":return e=>{const t=of($h("@"));return t?t.invoke([n[0](e)]):null};case"FunctionInvocation":return e=>{const t=of(n[0](e));if(!t)return null;const i=n[2](e);return t.invoke(i)};case"IfExpression":return function(){const e=n[1],t=n[3],i=n[5];return tf(n=>rf(e(n))?t(n):i?i(n):null,ef(t,i))}();case"Parameters":return 3===n.length?n[1]:e=>[];case"Comparison":return e=>{const t=n[1];if("in"===t)return function(e,t){if(!hh(t)){if("nil"===fh(t))return null;t=[t]}return t.some(t=>Wh(t,e))}(n[0](e),(n[3]||n[2])(e));if("between"===t){const t=n[2](e),i=n[4](e);return null===t||null===i?null:qh(t,i).includes(n[0](e))}const i=n[0](e),r=n[2](e);return Wh(t()(r),i)};case"QuantifiedExpression":return e=>n[0](e)(n[1],n[3]);case"ForExpression":return e=>{const t=n[n.length-1],i=n[1](e);if("list"!==fh(i))return i;const r=[];for(const e of i)r.push(t(Object.assign(Object.assign({},e),{partial:r})));return r};case"ArithmeticExpression":return function(){if(3===n.length){const[e,t,i]=n;return tf(n=>t(n)(e,i),ef(e,i))}if(2===n.length){const[e,t]=n;return tf(n=>e(n)(()=>0,t),t.type)}}();case"ParenthesizedExpression":return n[1];case"PathExpression":return e=>{const t=n[0](e),i=n[1];return hh(t)?t.map(i):i(t)};case"FilterExpression":return e=>{const t=n[0](e),i=n[2],r=hh(t)?t:[t];if(null===t)return null;if(void 0===i.type)try{gh(i(e))&&(i.type="number")}catch(e){}if("number"===i.type){const t=i(e),n=r[t<0?r.length+t:t-1];return void 0===n?null:n}if("boolean"===i.type)return i(e)?r:[];if("string"===i.type){const t=i(e);return r.filter(e=>e===t)}return r.map(t=>{const n=Object.assign(Object.assign(Object.assign({},e),{item:t}),t);let r=i(n);
2return"function"==typeof r&&(r=r(t)),r instanceof ph&&(r=r.includes(t)),!0===r?t:r}).filter(rf)};case"SimplePositiveUnaryTest":return tf(e=>1===n.length?n[0](e):n[0](e)(n[1](e)),"test");case"List":return e=>n.slice(1,-1).map(t=>t(e));case"Interval":return tf(e=>{const t=n[1](e),i=n[2](e);return qh(t,i,null!==t&&"["===n[0],null!==i&&"]"===n[3])},sf("boolean"));case"PositiveUnaryTests":case"Expressions":return e=>n.map(t=>t(e));case"Expression":return e=>n[0](e);case"UnaryTests":return e=>(t=null)=>{const i="not"===n[0],r=(i?n.slice(2,-1):n).map(t=>t(e)).flat(1).map(e=>hh(e)?e.includes(t):null===e?null:"boolean"==typeof e?e:Wh(e,t)).reduce(nf,void 0);return null===r?null:i?!r:r};default:return e.name}}(e,t,n);r.args.push(s)}}),n.args[n.args.length-1]}evaluate(e,t={},n){const i=function(e,t={},n){return uu.configure({top:"Expression",contextTracker:ou(t),dialect:n}).parse(e)}(e,t,n);return{parseTree:i,root:this._buildExecutionTree(i,e)}}unaryTest(e,t={},n){const i=function(e,t={},n){return uu.configure({top:"UnaryTests",contextTracker:ou(t),dialect:n}).parse(e)}(e,t,n);return{parseTree:i,root:this._buildExecutionTree(i,e)}}};function Bh(e,t={},n){const{root:i}=Fh.evaluate(e,t,n);return i(t)}function $h(e,t){return kh(e,Lh)}function Wh(e,t){return"function"==typeof e?e(t):e instanceof ph?e.includes(t):_h(e,t)}const Uh=Array.from("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");function Vh(e,t){return t.some(t=>fh(t)===e)&&t.every(t=>null===t||fh(t)===e)}const Zh=new ph({start:null,end:null,"start included":!1,"end included":!1,map(){return[]},includes(){return null}});function qh(e,t,n=!0,i=!0){if(Vh("string",[e,t]))return function(e,t,n=!0,i=!0){if(null!==e&&!Uh.includes(e))throw new Error("illegal range start: "+e);if(null!==t&&!Uh.includes(t))throw new Error("illegal range end: "+t);let r;if(null!==e&&null!==t){let s=Uh.indexOf(e),o=Uh.indexOf(t);const a=s>o?-1:1;!1===n&&(s+=a),!1===i&&(o-=a),r=Uh.slice(s,o+1)}const s=r?function(e){return t=>e.map(t)}(r):Qh(),o=r?function(e){return t=>e.includes(t)}(r):Kh(e,t,n,i);return new ph({start:e,end:t,"start included":n,"end included":i,map:s,includes:o})}(e,t,n,i);if(Vh("number",[e,t]))return function(e,t,n,i){const r=null!==e&&null!==t?function(e,t,n,i){const r=e>t?-1:1;return s=>{const o=[];for(let a=e;;a+=r)if(0!==a||n){if(a===t&&!i)break;if(o.push(s(a)),a===t)break}return o}}(e,t,n,i):Qh(),s=Kh(e,t,n,i);return new ph({start:e,end:t,"start included":n,"end included":i,map:r,includes:s})}(e,t,n,i);if(Vh("duration",[e,t]))return function(e,t,n,i){const r=e=>e?ss.fromDurationLike(e).toMillis():null,s=Qh(),o=Kh(r(e),r(t),n,i,r);return new ph({start:e,end:t,"start included":n,"end included":i,map:s,includes:o})}(e,t,n,i);if(Vh("time",[e,t]))return Jh(e,t,n,i);if(Vh("date time",[e,t]))return Jh(e,t,n,i);if(Vh("date",[e,t]))return Jh(e,t,n,i);if(null===e&&null===t)return Zh;throw new Error(`unsupported range: ${e}..${t}`)}function Qh(){return()=>{throw new Error("unsupported range operation: map")}}function Xh(e,t){return t?t=>e<=t:t=>e<t}function Gh(e,t){return t?t=>e>=t:t=>e>t}function Kh(e,t,n,i,r=e=>e){let s=[];return null===e&&null===t?()=>null:(null!==e&&null!==t?s=e>t?[Xh(t,i),Gh(e,n)]:[Xh(e,n),Gh(t,i)]:null!==t?s=[Gh(t,i)]:null!==e&&(s=[Xh(e,n)]),e=>null===e?null:s.every(t=>t(r(e))))}function Jh(e,t,n,i){const r=Qh(),s=Kh(e,t,n,i);return new ph({start:e,end:t,"start included":n,"end included":i,map:r,includes:s})}function ef(e,t){return t?e.type===t.type?e.type:"any":e.type}function tf(e,t){return Object.assign(e,{type:t,toString(){return`TaggedFunction[${t}] ${Function.prototype.toString.call(e)}`}})}function nf(e,t){return e||t}function rf(e){return!1!==e&&null!==e}function sf(e){return`Test<${e}>`}function of(e,t=null){return e?e instanceof bh?e:e instanceof ph?new bh(t=>e.includes(t),["value"]):"function"!=typeof e?null:new bh(e,t||vh(e)):null}let af=[],lf=[];function cf(e){if(e<768)return!1;for(let t=0,n=af.length;;){let i=t+n>>1;if(e<af[i])n=i;else{if(!(e>=lf[i]))return!0;t=i+1}if(t==n)return!1}}function df(e){return e>=127462&&e<=127487}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?lf:af).push(n+=e[t])})();function uf(e,t,n=!0,i=!0){return(n?hf:ff)(e,t,i)}function hf(e,t,n){if(t==e.length)return t;t&&pf(e.charCodeAt(t))&&gf(e.charCodeAt(t-1))&&t--;let i=mf(e,t);for(t+=yf(i);t<e.length;){let r=mf(e,t);if(8205==i||8205==r||n&&cf(r))t+=yf(r),i=r;else{if(!df(r))break;{let n=0,i=t-2;for(;i>=0&&df(mf(e,i));)n++,i-=2;if(n%2==0)break;t+=2}}}return t}function ff(e,t,n){for(;t>0;){let i=hf(e,t-2,n);if(i<t)return i;t--}return 0}function mf(e,t){let n=e.charCodeAt(t);if(!gf(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return pf(i)?i-56320+(n-55296<<10)+65536:n}function pf(e){return e>=56320&&e<57344}function gf(e){return e>=55296&&e<56320}function yf(e){return e<65536?1:2}class _f{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=xf(this,e,t);let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),vf.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=xf(this,e,t);let n=[];return this.decompose(e,t,n,0),vf.from(n,t-e)}eq(e){if(e==this)return!0;
vendor: 14,595 bytes, line 2
2if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new Tf(this),r=new Tf(e);for(let e=t,s=t;;){if(i.next(e),r.next(e),e=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(s+=i.value.length,i.done||s>=n)return!0}}iter(e=1){return new Tf(this,e)}iterRange(e,t=this.length){return new Mf(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Lf(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new bf(e):vf.from(bf.split(e,[])):_f.empty}}class bf extends _f{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new Sf(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new bf(kf(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let e=n.pop(),t=wf(r.text,e.text.slice(),0,r.length);if(t.length<=32)n.push(new bf(t,e.length+r.length));else{let e=t.length>>1;n.push(new bf(t.slice(0,e)),new bf(t.slice(e)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof bf))return super.replace(e,t,n);[e,t]=xf(this,e,t);let i=wf(this.text,wf(n.text,kf(this.text,0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new bf(i,r):vf.from(bf.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){[e,t]=xf(this,e,t);let i="";for(let r=0,s=0;r<=t&&s<this.text.length;s++){let o=this.text[s],a=r+o.length;r>e&&s&&(i+=n),e<a&&t>r&&(i+=o.slice(Math.max(0,e-r),t-r)),r=a+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new bf(n,i)),n=[],i=-1);return i>-1&&t.push(new bf(n,i)),t}}class vf extends _f{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=a+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r<this.children.length;r++){let o=this.children[r],a=s+o.length;if(e<=a&&t>=s){let r=i&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!r?n.push(o):o.decompose(e-s,t-s,n,r)}s=a+1}}replace(e,t,n){if([e,t]=xf(this,e,t),n.lines<this.lines)for(let i=0,r=0;i<this.children.length;i++){let s=this.children[i],o=r+s.length;if(e>=r&&t<=o){let a=s.replace(e-r,t-r,n),l=this.lines-s.lines+a.lines;if(a.lines<l>>4&&a.lines>l>>6){let r=this.children.slice();return r[i]=a,new vf(r,this.length-(t-e)+n.length)}return super.replace(r,o,a)}r=o+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=xf(this,e,t);let i="";for(let r=0,s=0;r<this.children.length&&s<=t;r++){let o=this.children[r],a=s+o.length;s>e&&r&&(i+=n),e<a&&t>s&&(i+=o.sliceString(e-s,t-s,n)),s=a+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof vf))return 0;let n=0,[i,r,s,o]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==o)return n;let a=this.children[i],l=e.children[r];if(a!=l)return n+a.scanIdentical(l,t);n+=a.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new bf(n,t)}let i=Math.max(32,n>>5),r=i<<1,s=i>>1,o=[],a=0,l=-1,c=[];function d(e){let t;if(e.lines>r&&e instanceof vf)for(let t of e.children)d(t);else e.lines>s&&(a>s||!a)?(u(),o.push(e)):e instanceof bf&&a&&(t=c[c.length-1])instanceof bf&&e.lines+t.lines<=32?(a+=e.lines,l+=e.length+1,c[c.length-1]=new bf(t.text.concat(e.text),t.length+1+e.length)):(a+e.lines>i&&u(),a+=e.lines,l+=e.length+1,c.push(e))}function u(){0!=a&&(o.push(1==c.length?c[0]:vf.from(c,l)),l=-1,a=c.length=0)}for(let t of e)d(t);return u(),1==o.length?o[0]:new vf(o,t)}}function wf(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s<e.length&&r<=i;s++){let a=e[s],l=r+a.length;l>=n&&(l>i&&(a=a.slice(0,i-r)),r<n&&(a=a.slice(n-r)),o?(t[t.length-1]+=a,o=!1):t.push(a)),r=l+1}return t}function kf(e,t,n){return wf(e,[""],t,n)}_f.empty=new bf([""],0);class Tf{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof bf?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],s=r>>1,o=i instanceof bf?i.text.length:i.children.length;if(s==(t>0?o:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof bf){let r=i.text[s+(t<0?-1:0)];if(this.offsets[n]+=t,r.length>Math.max(0,e))return this.value=0==e?r:t>0?r.slice(e):r.slice(0,r.length-e),this;e-=r.length}else{let r=i.children[s+(t<0?-1:0)];e>r.length?(e-=r.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(r),this.offsets.push(t>0?1:(r instanceof bf?r.text.length:r.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Mf{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Tf(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class Lf{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(_f.prototype[Symbol.iterator]=function(){return this.iter()},Tf.prototype[Symbol.iterator]=Mf.prototype[Symbol.iterator]=Lf.prototype[Symbol.iterator]=function(){return this});class Sf{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}function xf(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function Of(e,t,n=!0,i=!0){return uf(e,t,n,i)}function Df(e,t){let n=e.charCodeAt(t);if(!(i=n,i>=55296&&i<56320&&t+1!=e.length))return n;var i;let r=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(r)?r-56320+(n-55296<<10)+65536:n}function Yf(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Af(e){return e<65536?1:2}const Cf=/\r\n?|\n/;var Ef=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Ef||(Ef={}));class If{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,i=0;t<this.sections.length;){let r=this.sections[t++],s=this.sections[t++];s<0?(e(n,i,r),i+=r):i+=s,n+=r}}iterChangedRanges(e,t=!1){zf(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];i<0?e.push(n,i):e.push(i,n)}return new If(e)}composeDesc(e){return this.empty?e:e.empty?this:jf(this,e)}mapDesc(e,t=!1){return e.empty?this:Hf(this,e,t)}mapPos(e,t=-1,n=Ef.Simple){let i=0,r=0;for(let s=0;s<this.sections.length;){let o=this.sections[s++],a=this.sections[s++],l=i+o;if(a<0){if(l>e)return r+(e-i);r+=o}else{if(n!=Ef.Simple&&l>=e&&(n==Ef.TrackDel&&i<e&&l>e||n==Ef.TrackBefore&&i<e||n==Ef.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!o)return e==i||t<0?r:r+a;r+=a}i=l}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n<this.sections.length&&i<=t;){let r=i+this.sections[n++];if(this.sections[n++]>=0&&i<=t&&r>=e)return!(i<e&&r>t)||"cover";i=r}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];e+=(e?" ":"")+n+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeDesc");return new If(e)}static create(e){return new If(e)}}class Pf extends If{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return zf(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return Hf(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,r=0;i<t.length;i+=2){let s=t[i],o=t[i+1];if(o>=0){t[i]=o,t[i+1]=s;let a=i>>1;for(;n.length<a;)n.push(_f.empty);n.push(s?e.slice(r,r+s):_f.empty)}r+=s}return new Pf(t,n)}compose(e){return this.empty?e:e.empty?this:jf(this,e,!0)}map(e,t=!1){return e.empty?this:Hf(this,e,t,!0)}iterChanges(e,t=!1){zf(this,e,t)}get desc(){return If.create(this.sections)}filter(e){let t=[],n=[],i=[],r=new Ff(this);e:for(let s=0,o=0;;){let a=s==e.length?1e9:e[s++];for(;o<a||o==a&&0==r.len;){if(r.done)break e;let e=Math.min(r.len,a-o);Nf(i,e,-1);let s=-1==r.ins?-1:0==r.off?r.ins:0;Nf(t,e,s),s>0&&Rf(n,t,r.text),r.forward(e),o+=e}let l=e[s++];for(;o<l;){if(r.done)break e;let e=Math.min(r.len,l-o);Nf(t,e,-1),Nf(i,e,-1==r.ins?-1:0==r.off?r.ins:0),r.forward(e),o+=e}}return{changes:new Pf(t,n),filtered:If.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],i=this.sections[t+1];i<0?e.push(n):0==i?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let i=[],r=[],s=0,o=null;function a(e=!1){if(!e&&!i.length)return;s<t&&Nf(i,t-s,-1);let n=new Pf(i,r);o=o?o.compose(n.map(o)):n,i=[],r=[],s=0}return function e(l){if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof Pf){if(l.length!=t)throw new RangeError(`Mismatched change set length (got ${l.length}, expected ${t})`);a(),o=o?o.compose(l.map(o)):l}else{let{from:e,to:o=e,insert:c}=l;if(e>o||e<0||o>t)throw new RangeError(`Invalid change range ${e} to ${o} (in doc of length ${t})`);let d=c?"string"==typeof c?_f.of(c.split(n||Cf)):c:_f.empty,u=d.length;if(e==o&&0==u)return;e<s&&a(),e>s&&Nf(i,e-s,-1),Nf(i,o-e,u),Rf(r,i,d),s=o}}(e),a(!o),o}static empty(e){return new Pf(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;i<e.length;i++){let r=e[i];if("number"==typeof r)t.push(r,-1);else{if(!Array.isArray(r)||"number"!=typeof r[0]||r.some((e,t)=>t&&"string"!=typeof e))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==r.length)t.push(r[0],0);else{for(;n.length<i;)n.push(_f.empty);n[i]=_f.of(r.slice(1)),t.push(r[0],n[i].length)}}}return new Pf(t,n)}static createSet(e,t){return new Pf(e,t)}}function Nf(e,t,n,i=!1){if(0==t&&n<=0)return;let r=e.length-2;r>=0&&n<=0&&n==e[r+1]?e[r]+=t:r>=0&&0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function Rf(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<i;)e.push(_f.empty);e.push(n)}}function zf(e,t,n){let i=e.inserted;for(let r=0,s=0,o=0;o<e.sections.length;){let a=e.sections[o++],l=e.sections[o++];if(l<0)r+=a,s+=a;else{let c=r,d=s,u=_f.empty;for(;c+=a,d+=l,l&&i&&(u=u.append(i[o-2>>1])),!(n||o==e.sections.length||e.sections[o+1]<0);)a=e.sections[o++],l=e.sections[o++];t(r,c,s,d,u),r=c,s=d}}}function Hf(e,t,n,i=!1){let r=[],s=i?[]:null,o=new Ff(e),a=new Ff(t);for(let e=-1;;){if(o.done&&a.len||a.done&&o.len)throw new Error("Mismatched change set lengths");if(-1==o.ins&&-1==a.ins){let e=Math.min(o.len,a.len);Nf(r,e,-1),o.forward(e),a.forward(e)}else if(a.ins>=0&&(o.ins<0||e==o.i||0==o.off&&(a.len<o.len||a.len==o.len&&!n))){let t=a.len;for(Nf(r,a.ins,-1);t;){let n=Math.min(o.len,t);o.ins>=0&&e<o.i&&o.len<=n&&(Nf(r,0,o.ins),s&&Rf(s,r,o.text),e=o.i),o.forward(n),t-=n}a.next()}else{if(!(o.ins>=0)){if(o.done&&a.done)return s?Pf.createSet(r,s):If.create(r);throw new Error("Mismatched change set lengths")}{let t=0,n=o.len;for(;n;)if(-1==a.ins){let e=Math.min(n,a.len);t+=e,n-=e,a.forward(e)}else{if(!(0==a.ins&&a.len<n))break;n-=a.len,a.next()}Nf(r,t,e<o.i?o.ins:0),s&&e<o.i&&Rf(s,r,o.text),e=o.i,o.forward(o.len-n)}}}}function jf(e,t,n=!1){let i=[],r=n?[]:null,s=new Ff(e),o=new Ff(t);for(let e=!1;;){if(s.done&&o.done)return r?Pf.createSet(i,r):If.create(i);if(0==s.ins)Nf(i,s.len,0,e),s.next();else if(0!=o.len||o.done){if(s.done||o.done)throw new Error("Mismatched change set lengths");{let t=Math.min(s.len2,o.len),n=i.length;if(-1==s.ins){let n=-1==o.ins?-1:o.off?0:o.ins;Nf(i,t,n,e),r&&n&&Rf(r,i,o.text)}else-1==o.ins?(Nf(i,s.off?0:s.len,t,e),r&&Rf(r,i,s.textBit(t))):(Nf(i,s.off?0:s.len,o.off?0:o.ins,e),r&&!o.off&&Rf(r,i,o.text));e=(s.ins>t||o.ins>=0&&o.len>t)&&(e||i.length>n),s.forward2(t),o.forward(t)}}else Nf(i,0,o.ins,e),r&&Rf(r,i,o.text),o.next()}}class Ff{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?_f.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?_f.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}
vendor: 4,222 bytes, line 2
2forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Bf{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new Bf(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return $f.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return $f.range(this.anchor,n)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||t&&this.empty&&this.assoc!=e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return $f.range(e.anchor,e.head)}static create(e,t,n){return new Bf(e,t,n)}}class $f{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:$f.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new $f([this.main],0)}addRange(e,t=!0){return $f.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,$f.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new $f(e.ranges.map(e=>Bf.fromJSON(e)),e.main)}static single(e,t=e){return new $f([$f.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<e.length;i++){let r=e[i];if(r.empty?r.from<=n:r.from<n)return $f.normalized(e.slice(),t);n=r.to}return new $f(e,t)}static cursor(e,t=0,n,i){return Bf.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=i?i:16777215)<<6)}static range(e,t,n,i){let r=(null!=n?n:16777215)<<6|(null==i?7:Math.min(6,i));return t<e?Bf.create(t,e,48|r):Bf.create(e,t,(t>e?8:0)|r)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;n<e.length;n++){let i=e[n],r=e[n-1];if(i.empty?i.from<=r.to:i.from<r.to){let s=r.from,o=Math.max(i.to,r.to);n<=t&&t--,e.splice(--n,2,i.anchor>i.head?$f.range(o,s):$f.range(s,o))}}return new $f(e,t)}}function Wf(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let Uf=0;class Vf{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=Uf++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}get reader(){return this}static define(e={}){return new Vf(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:Zf),!!e.static,e.enables)}of(e){return new qf([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new qf(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new qf(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function Zf(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class qf{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=Uf++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let n of this.dependencies)"doc"==n?a=!0:"selection"==n?l=!0:1&(null!==(t=e[n.id])&&void 0!==t?t:1)||c.push(e[n.id]);return{create(e){return e.values[s]=n(e),1},update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||Xf(e,c)){let t=n(e);
vendor: 9,905 bytes, line 2
2if(o?!Qf(t,e.values[s],i):!i(t,e.values[s]))return e.values[s]=t,1}return 0},reconfigure:(e,t)=>{let a,l=t.config.address[r];if(null!=l){let r=um(t,l);if(this.dependencies.every(n=>n instanceof Vf?t.facet(n)===e.facet(n):!(n instanceof Jf)||t.field(n,!1)==e.field(n,!1))||(o?Qf(a=n(e),r,i):i(a=n(e),r)))return e.values[s]=r,0}else a=n(e);return e.values[s]=a,1}}}}function Qf(e,t,n){if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1;return!0}function Xf(e,t){let n=!1;for(let i of t)1&dm(e,i)&&(n=!0);return n}function Gf(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function a(e){let n=[];for(let t=0;t<i.length;t++){let s=um(e,i[t]);if(2==r[t])for(let e of s)n.push(e);else n.push(s)}return t.combine(n)}return{create(e){for(let t of i)dm(e,t);return e.values[o]=a(e),1},update(e,n){if(!Xf(e,s))return 0;let i=a(e);return t.compare(i,e.values[o])?0:(e.values[o]=i,1)},reconfigure(e,r){let s=Xf(e,i),l=r.config.facets[t.id],c=r.facet(t);if(l&&!s&&Zf(n,l))return e.values[o]=c,0;let d=a(e);return t.compare(d,c)?(e.values[o]=c,0):(e.values[o]=d,1)}}}const Kf=Vf.define({static:!0});class Jf{constructor(e,t,n,i,r){this.id=e,this.createF=t,this.updateF=n,this.compareF=i,this.spec=r,this.provides=void 0}static define(e){let t=new Jf(Uf++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Kf).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>{let i,r=e.facet(Kf),s=n.facet(Kf);return(i=r.find(e=>e.field==this))&&i!=s.find(e=>e.field==this)?(e.values[t]=i.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,Kf.of({field:this,create:e})]}get extension(){return this}}const em=4,tm=3,nm=2,im=1;function rm(e){return t=>new om(t,e)}const sm={highest:rm(0),high:rm(im),default:rm(nm),low:rm(tm),lowest:rm(em)};class om{constructor(e,t){this.inner=e,this.prec=t}}class am{of(e){return new lm(this,e)}reconfigure(e){return am.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class lm{constructor(e,t){this.compartment=e,this.inner=t}}class cm{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let i=[],r=Object.create(null),s=new Map;for(let n of function(e,t,n){let i=[[],[],[],[],[]],r=new Map;function s(e,o){let a=r.get(e);if(null!=a){if(a<=o)return;let t=i[a].indexOf(e);t>-1&&i[a].splice(t,1),e instanceof lm&&n.delete(e.compartment)}if(r.set(e,o),Array.isArray(e))for(let t of e)s(t,o);else if(e instanceof lm){if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions");let i=t.get(e.compartment)||e.inner;n.set(e.compartment,i),s(i,o)}else if(e instanceof om)s(e.inner,e.prec);else if(e instanceof Jf)i[o].push(e),e.provides&&s(e.provides,o);else if(e instanceof qf)i[o].push(e),e.facet.extensions&&s(e.facet.extensions,nm);else{let t=e.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(t,o)}}return s(e,nm),i.reduce((e,t)=>e.concat(t))}(e,t,s))n instanceof Jf?i.push(n):(r[n.facet.id]||(r[n.facet.id]=[])).push(n);let o=Object.create(null),a=[],l=[];for(let e of i)o[e.id]=l.length<<1,l.push(t=>e.slot(t));let c=null==n?void 0:n.config.facets;for(let e in r){let t=r[e],i=t[0].facet,s=c&&c[e]||[];if(t.every(e=>0==e.type))if(o[i.id]=a.length<<1|1,Zf(s,t))a.push(n.facet(i));else{let e=i.combine(t.map(e=>e.value));a.push(n&&i.compare(e,n.facet(i))?n.facet(i):e)}else{for(let e of t)0==e.type?(o[e.id]=a.length<<1|1,a.push(e.value)):(o[e.id]=l.length<<1,l.push(t=>e.dynamicSlot(t)));o[i.id]=l.length<<1,l.push(e=>Gf(e,i,t))}}let d=l.map(e=>e(o));return new cm(e,s,d,o,a,r)}}function dm(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw new Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function um(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const hm=Vf.define(),fm=Vf.define({combine:e=>e.some(e=>e),static:!0}),mm=Vf.define({combine:e=>e.length?e[0]:void 0,static:!0}),pm=Vf.define(),gm=Vf.define(),ym=Vf.define(),_m=Vf.define({combine:e=>!!e.length&&e[0]});class bm{constructor(e,t){this.type=e,this.value=t}static define(){return new vm}}class vm{of(e){return new bm(this,e)}}class wm{constructor(e){this.map=e}of(e){return new km(this,e)}}class km{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new km(this.type,t)}is(e){return this.type==e}static define(e={}){return new wm(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let e=i.map(t);e&&n.push(e)}return n}}km.reconfigure=km.define(),km.appendConfig=km.define();class Tm{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&Wf(n,t.newLength),r.some(e=>e.type==Tm.time)||(this.annotations=r.concat(Tm.time.of(Date.now())))}static create(e,t,n,i,r,s){return new Tm(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(Tm.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function Mm(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i<e.length&&(r==t.length||t[r]>=e[i]))s=e[i++],o=e[i++];else{if(!(r<t.length))return n;s=t[r++],o=t[r++]}!n.length||n[n.length-1]<s?n.push(s,o):n[n.length-1]<o&&(n[n.length-1]=o)}}function Lm(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=Pf.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:km.mapEffects(e.effects,r).concat(km.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function Sm(e,t,n){let i=t.selection,r=Dm(t.annotations);return t.userEvent&&(r=r.concat(Tm.userEvent.of(t.userEvent))),{changes:t.changes instanceof Pf?t.changes:Pf.of(t.changes||[],n,e.facet(mm)),selection:i&&(i instanceof $f?i:$f.single(i.anchor,i.head)),effects:Dm(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}function xm(e,t,n){let i=Sm(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(n=!1);for(let r=1;r<t.length;r++){!1===t[r].filter&&(n=!1);let s=!!t[r].sequential;i=Lm(i,Sm(e,t[r],s?i.changes.newLength:e.doc.length),s)}let r=Tm.create(e,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return function(e){let t=e.startState,n=t.facet(ym),i=e;for(let r=n.length-1;r>=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=Lm(i,Sm(t,s,e.changes.newLength),!0))}return i==e?e:Tm.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(n?function(e){let t=e.startState,n=!0;for(let i of t.facet(pm)){let t=i(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:Mm(n,t))}if(!0!==n){let i,r;if(!1===n)r=e.changes.invertedDesc,i=Pf.empty(t.doc.length);else{let t=e.changes.filter(n);i=t.changes,r=t.filtered.mapDesc(t.changes).invertedDesc}e=Tm.create(t,i,e.selection&&e.selection.map(r),km.mapEffects(e.effects,r),e.annotations,e.scrollIntoView)}let i=t.facet(gm);for(let n=i.length-1;n>=0;n--){let r=i[n](e);e=r instanceof Tm?r:Array.isArray(r)&&1==r.length&&r[0]instanceof Tm?r[0]:xm(t,Dm(r),!1)}return e}(r):r)}Tm.time=bm.define(),Tm.userEvent=bm.define(),Tm.addToHistory=bm.define(),Tm.remote=bm.define();const Om=[];function Dm(e){return null==e?Om:Array.isArray(e)?e:[e]}var Ym=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(Ym||(Ym={}));const Am=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Cm;try{Cm=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(Ae){}function Em(e){return t=>{if(!/\S/.test(t))return Ym.Space;if(function(e){if(Cm)return Cm.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"Â"&&(n.toUpperCase()!=n.toLowerCase()||Am.test(n)))return!0}return!1}(t))return Ym.Word;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return Ym.Word;return Ym.Other}}class Im{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)dm(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null!=n)return dm(this,n),um(this,n);if(t)throw new RangeError("Field is not present in this state")}update(...e){return xm(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let t of e.effects)t.is(am.reconfigure)?(n&&(r=new Map,n.compartments.forEac
vendor: 4,874 bytes, line 2
2h((e,t)=>r.set(t,e)),n=null),r.set(t.value.compartment,t.value.extension)):t.is(km.reconfigure)?(n=null,i=t.value):t.is(km.appendConfig)&&(n=null,i=Dm(i).concat(t.value));if(n)t=e.startState.values.slice();else{n=cm.resolve(i,r,this),t=new Im(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values}let s=e.startState.facet(fm)?e.newSelection:e.newSelection.asSingle();new Im(n,e.newDoc,s,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:$f.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=Dm(n.effects);for(let n=1;n<t.ranges.length;n++){let o=e(t.ranges[n]),a=this.changes(o.changes),l=a.map(i);for(let e=0;e<n;e++)r[e]=r[e].map(l);let c=i.mapDesc(a,!0);r.push(o.range.map(c)),i=i.compose(l),s=km.mapEffects(s,l).concat(km.mapEffects(Dm(o.effects),c))}return{changes:i,selection:$f.create(r,t.mainIndex),effects:s}}changes(e=[]){return e instanceof Pf?e:Pf.of(e,this.doc.length,this.facet(Im.lineSeparator))}toText(e){return _f.of(e.split(this.facet(Im.lineSeparator)||Cf))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(dm(this,t),um(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let i=e[n];i instanceof Jf&&null!=this.config.address[i.id]&&(t[n]=i.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n)for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let r=n[t],s=e[t];i.push(r.init(e=>r.spec.fromJSON(s,e)))}return Im.create({doc:e.doc,selection:$f.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=cm.resolve(e.extensions||[],new Map),n=e.doc instanceof _f?e.doc:_f.of((e.doc||"").split(t.staticFacet(Im.lineSeparator)||Cf)),i=e.selection?e.selection instanceof $f?e.selection:$f.single(e.selection.anchor,e.selection.head):$f.single(0);return Wf(i,n.length),t.staticFacet(fm)||(i=i.asSingle()),new Im(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(Im.tabSize)}get lineBreak(){return this.facet(Im.lineSeparator)||"\n"}get readOnly(){return this.facet(_m)}phrase(e,...t){for(let t of this.facet(Im.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(hm))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){return Em(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let e=Of(t,s,!1);if(r(t.slice(e,s))!=Ym.Word)break;s=e}for(;o<i;){let e=Of(t,o);if(r(t.slice(o,e))!=Ym.Word)break;o=e}return s==o?null:$f.range(s+n,o+n)}}function Pm(e,t,n={}){let i={};for(let t of e)for(let e of Object.keys(t)){let r=t[e],s=i[e];if(void 0===s)i[e]=r;else if(s===r||void 0===r);else{if(!Object.hasOwnProperty.call(n,e))throw new Error("Config merge conflict for field "+e);i[e]=n[e](s,r)}}for(let e in t)void 0===i[e]&&(i[e]=t[e]);return i}Im.allowMultipleSelections=fm,Im.tabSize=Vf.define({combine:e=>e.length?e[0]:4}),Im.lineSeparator=mm,Im.readOnly=_m,Im.phrases=Vf.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),Im.languageData=hm,Im.changeFilter=pm,Im.transactionFilter=gm,Im.transactionExtender=ym,am.reconfigure=km.define();class Nm{eq(e){return this==e}range(e,t=e){return Rm.create(e,t,this)}}Nm.prototype.startSide=Nm.prototype.endSide=0,Nm.prototype.point=!1,Nm.prototype.mapMode=Ef.TrackDel;class Rm{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new Rm(e,t,n)}}function zm(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class Hm{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let i=s+o>>1,a=r[i]-e||(n?this.value[i].endSide:this.value[i].startSide)-t;if(i==s)return a>=0?s:o;a>=0?o=i:s=i+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r<s;r++)if(!1===i(this.from[r]+e,this.to[r]+e,this.value[r]))return!1}map(e,t){let n=[],i=[],r=[],s=-1,o=-1;for(let a=0;a<this.value.length;a++){let l,c,d=this.value[a],u=this.from[a]+e,h=this.to[a]+e;if(u==h){let e=t.mapPos(u,d.startSide,d.mapMode);
vendor: 16,451 bytes, line 2
2if(null==e)continue;if(l=c=e,d.startSide!=d.endSide&&(c=t.mapPos(u,d.endSide),c<l))continue}else if(l=t.mapPos(u,d.startSide),c=t.mapPos(h,d.endSide),l>c||l==c&&d.startSide>0&&d.endSide<=0)continue;(c-l||d.endSide-d.startSide)<0||(s<0&&(s=l),d.point&&(o=Math.max(o,c-l)),n.push(d),i.push(l-s),r.push(c-s))}return{mapped:n.length?new Hm(i,r,n,o):null,pos:s}}}class jm{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new jm(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(zm)),this.isEmpty)return t.length?jm.of(t):this;let o=new $m(this,null,-1).goto(0),a=0,l=[],c=new Fm;for(;o.value||a<t.length;)if(a<t.length&&(o.from-t[a].from||o.startSide-t[a].value.startSide)>=0){let e=t[a++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==o.rangeIndex&&o.chunkIndex<this.chunk.length&&(a==t.length||this.chunkEnd(o.chunkIndex)<t[a].from)&&(!s||i>this.chunkEnd(o.chunkIndex)||r<this.chunkPos[o.chunkIndex])&&c.addChunk(this.chunkPos[o.chunkIndex],this.chunk[o.chunkIndex])?o.nextChunk():((!s||i>o.to||r<o.from||s(o.from,o.to,o.value))&&(c.addInner(o.from,o.to,o.value)||l.push(Rm.create(o.from,o.to,o.value))),o.next());return c.finishInner(this.nextLayer.isEmpty&&!l.length?jm.empty:this.nextLayer.update({add:l,filter:s,filterFrom:i,filterTo:r}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],i=-1;for(let r=0;r<this.chunk.length;r++){let s=this.chunkPos[r],o=this.chunk[r],a=e.touchesRange(s,s+o.length);if(!1===a)i=Math.max(i,o.maxPoint),t.push(o),n.push(e.mapPos(s));else if(!0===a){let{mapped:r,pos:a}=o.map(s,e);r&&(i=Math.max(i,r.maxPoint),t.push(r),n.push(a))}}let r=this.nextLayer.map(e);return 0==t.length?r:new jm(n,t,r||jm.empty,i)}between(e,t,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let r=this.chunkPos[i],s=this.chunk[i];if(t>=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return Wm.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Wm.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),a=Bm(s,o,n),l=new Vm(s,a,r),c=new Vm(o,a,r);n.iterGaps((e,t,n)=>Zm(l,e,c,t,n,i)),n.empty&&0==n.length&&Zm(l,0,c,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=999999999);let r=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),s=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(r.length!=s.length)return!1;if(!r.length)return!0;let o=Bm(r,s),a=new Vm(r,o,0).goto(n),l=new Vm(s,o,0).goto(n);for(;;){if(a.to!=l.to||!qm(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(e,t,n,i,r=-1){let s=new Vm(e,null,r).goto(t),o=t,a=s.openStart;for(;;){let e=Math.min(s.to,n);if(s.point){let n=s.activeForPoint(s.to),r=s.pointFrom<t?n.length+1:s.point.startSide<0?n.length:Math.min(n.length,a);i.point(o,e,s.point,n,r,s.pointRank),a=Math.min(s.openEnd(e),n.length)}else e>o&&(i.span(o,e,s.active,a),a=s.openEnd(e));if(s.to>n)return a+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(e,t=!1){let n=new Fm;for(let i of e instanceof Rm?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let i=e[n];if(zm(t,i)>0)return e.slice().sort(zm);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}static join(e){if(!e.length)return jm.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let i=e[n];i!=jm.empty;i=i.nextLayer)t=new jm(i.chunkPos,i.chunk,t,Math.max(i.maxPoint,t.maxPoint));return t}}jm.empty=new jm([],[],null,-1),jm.empty.nextLayer=jm.empty;class Fm{finishChunk(e){this.chunks.push(new Hm(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Fm)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(jm.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=jm.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Bm(e,t,n){let i=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&i.set(t.chunk[e],t.chunkPos[e]);let r=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let s=i.get(e.chunk[t]);null==s||(n?n.mapPos(s):s)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(s,s+e.chunk[t].length))||r.add(e.chunk[t])}return r}class $m{constructor(e,t,n,i=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Wm{constructor(e){this.heap=e}static from(e,t=null,n=-1){let i=[];for(let r=0;r<e.length;r++)for(let s=e[r];!s.isEmpty;s=s.nextLayer)s.maxPoint>=n&&i.push(new $m(s,t,n,r));return 1==i.length?i[0]:new Wm(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)Um(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)Um(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Um(this.heap,0)}}}function Um(e,t){for(let n=e[t];;){let i=1+(t<<1);if(i>=e.length)break;let r=e[i];if(i+1<e.length&&r.compare(e[i+1])>=0&&(r=e[i+1],i++),n.compare(r)<0)break;e[i]=n,e[t]=r,t=i}}class Vm{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Wm.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Qm(this.active,e),Qm(this.activeTo,e),Qm(this.activeRank,e),this.minActive=Gm(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t<this.activeRank.length&&(r-this.activeRank[t]||i-this.activeTo[t])>0;)t++;Xm(this.active,t,n),Xm(this.activeTo,t,i),Xm(this.activeRank,t,r),e&&Xm(e,t,this.cursor.from),this.minActive=Gm(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Qm(n,i)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function Zm(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,a=i,l=i-t;for(;;){let t=e.to+l-n.to,i=t||e.endSide-n.endSide,r=i<0?e.to+l:n.to,c=Math.min(r,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&qm(e.activeForPoint(e.to),n.activeForPoint(n.to))||s.comparePoint(a,c,e.point,n.point):c>a&&!qm(e.active,n.active)&&s.compareRange(a,c,e.active,n.active),r>o)break;(t||e.openEnd!=n.openEnd)&&s.boundChange&&s.boundChange(r),a=r,i<=0&&e.next(),i>=0&&n.next()}}function qm(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function Qm(e,t){for(let n=t,i=e.length-1;n<i;n++)e[n]=e[n+1];e.pop()}function Xm(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function Gm(e,t){let n=-1,i=1e9;for(let r=0;r<t.length;r++)(t[r]-i||e[r].endSide-e[n].endSide)<0&&(n=r,i=t[r]);return n}function Km(e,t,n=e.length){let i=0;for(let r=0;r<n&&r<e.length;)9==e.charCodeAt(r)?(i+=t-i%t,r++):(i++,r=Of(e,r));return i}const Jm="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),ep="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),tp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class np{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function r(e,t,s,o){let a=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return s.push(e[0]+";");for(let n in t){let o=t[n];if(/&/.test(n))r(n.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),o,s);else if(o&&"object"==typeof o){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");r(i(n),o,a,c)}else null!=o&&a.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+o+";")}(a.length||c)&&s.push((!n||l||o?e:e.map(n)).join(", ")+" {"+a.join(" ")+"}")}for(let t in e)r(i(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=tp[Jm]||1;return tp[Jm]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let i=e[ep],r=n&&n.nonce;i?r&&i.setNonce(r):i=new rp(e,r),i.mount(Array.isArray(t)?t:[t],e)}}let ip=new Map;class rp{constructor(e,t){let n=e.ownerDocument||e,i=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let t=ip.get(n);if(t)return e[ep]=t;this.sheet=new i.CSSStyleSheet,ip.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[ep]=this}mount(e,t){let n=this.sheet,i=0,r=0;for(let t=0;t<e.length;t++){let s=e[t],o=this.modules.indexOf(s);if(o<r&&o>-1&&(this.modules.splice(o,1),r--,o=-1),-1==o){if(this.modules.splice(r++,0,s),n)for(let e=0;e<s.rules.length;e++)n.insertRule(s.rules[e],i++)}else{for(;r<o;)i+=this.modules[r++].rules.length;i+=s.rules.length,r++}}if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}for(var sp={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},op={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},ap="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),lp="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),cp=0;cp<10;cp++)sp[48+cp]=sp[96+cp]=String(cp);for(cp=1;cp<=24;cp++)sp[cp+111]="F"+cp;for(cp=65;cp<=90;cp++)sp[cp]=String.fromCharCode(cp+32),op[cp]=String.fromCharCode(cp);for(var dp in sp)op.hasOwnProperty(dp)||(op[dp]=sp[dp]);let up="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},hp="undefined"!=typeof document?document:{documentElement:{style:{}}};const fp=/Edge\/(\d+)/.exec(up.userAgent),mp=/MSIE \d/.test(up.userAgent),pp=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(up.userAgent),gp=!!(mp||pp||fp),yp=!gp&&/gecko\/(\d+)/i.test(up.userAgent),_p=!gp&&/Chrome\/(\d+)/.exec(up.userAgent),bp="webkitFontSmoothing"in hp.documentElement.style,vp=!gp&&/Apple Computer/.test(up.vendor),kp=vp&&(/Mobile\/\w+/.test(up.userAgent)||up.maxTouchPoints>2);var Tp={mac:kp||/Mac/.test(up.platform),windows:/Win/.test(up.platform),linux:/Linux|X11/.test(up.platform),ie:gp,ie_version:mp?hp.documentMode||6:pp?+pp[1]:fp?+fp[1]:0,gecko:yp,gecko_version:yp?+(/Firefox\/(\d+)/.exec(up.userAgent)||[0,0])[1]:0,chrome:!!_p,chrome_version:_p?+_p[1]:0,ios:kp,android:/Android\b/.test(up.userAgent),webkit:bp,webkit_version:bp?+(/\bAppleWebKit\/(\d+)/.exec(up.userAgent)||[0,0])[1]:0,safari:vp,safari_version:vp?+(/\bVersion\/(\d+(\.\d+)?)/.exec(up.userAgent)||[0,0])[1]:0,tabSize:null!=hp.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};function Mp(e,t){for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}const Lp=Object.create(null);
vendor: 9,758 bytes, line 2
2function Sp(e,t,n){if(e==t)return!0;e||(e=Lp),t||(t=Lp);let i=Object.keys(e),r=Object.keys(t);if(i.length-(n&&i.indexOf(n)>-1?1:0)!=r.length-(n&&r.indexOf(n)>-1?1:0))return!1;for(let s of i)if(s!=n&&(-1==r.indexOf(s)||e[s]!==t[s]))return!1;return!0}function xp(e,t,n){let i=!1;if(t)for(let r in t)n&&r in n||(i=!0,"style"==r?e.style.cssText="":e.removeAttribute(r));if(n)for(let r in n)t&&t[r]==n[r]||(i=!0,"style"==r?e.style.cssText=n[r]:e.setAttribute(r,n[r]));return i}function Op(e){let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){let i=e.attributes[n];t[i.name]=i.value}return t}class Dp{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var Yp=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(Yp||(Yp={}));class Ap extends Nm{constructor(e,t,n,i){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=i}get heightRelevant(){return!1}static mark(e){return new Cp(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new Ip(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,i=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:r,end:s}=Pp(e,i);t=(r?i?-3e8:-1:5e8)-1,n=1+(s?i?2e8:1:-6e8)}return new Ip(e,t,n,i,e.widget||null,!0)}static line(e){return new Ep(e)}static set(e,t=!1){return jm.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}Ap.none=jm.empty;class Cp extends Ap{constructor(e){let{start:t,end:n}=Pp(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?Mp(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||Lp}eq(e){return this==e||e instanceof Cp&&this.tagName==e.tagName&&Sp(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}Cp.prototype.point=!1;class Ep extends Ap{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Ep&&this.spec.class==e.spec.class&&Sp(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Ep.prototype.mapMode=Ef.TrackBefore,Ep.prototype.point=!0;class Ip extends Ap{constructor(e,t,n,i,r,s){super(t,n,r,e),this.block=i,this.isReplace=s,this.mapMode=i?t<=0?Ef.TrackBefore:Ef.TrackAfter:Ef.TrackDel}get type(){return this.startSide!=this.endSide?Yp.WidgetRange:this.startSide<=0?Yp.WidgetBefore:Yp.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Ip&&function(e,t){return e==t||!!(e&&t&&e.compare(t))}(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}function Pp(e,t=!1){let{inclusiveStart:n,inclusiveEnd:i}=e;return null==n&&(n=e.inclusive),null==i&&(i=e.inclusive),{start:null!=n?n:t,end:null!=i?i:t}}function Np(e,t,n,i=0){let r=n.length-1;r>=0&&n[r]+i>=e?n[r]=Math.max(n[r],t):n.push(e,t)}Ip.prototype.point=!0;class Rp extends Nm{constructor(e,t){super(),this.tagName=e,this.attributes=t}eq(e){return e==this||e instanceof Rp&&this.tagName==e.tagName&&Sp(this.attributes,e.attributes)}static create(e){return new Rp(e.tagName,e.attributes||Lp)}static set(e,t=!1){return jm.of(e,t)}}function zp(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function Hp(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function jp(e,t){if(!t.anchorNode)return!1;try{return Hp(e,t.anchorNode)}catch(e){return!1}}function Fp(e){return 3==e.nodeType?eg(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function Bp(e,t,n,i){return!!n&&(Up(e,t,n,i,-1)||Up(e,t,n,i,1))}function $p(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function Wp(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function Up(e,t,n,i,r){for(;;){if(e==n&&t==i)return!0;if(t==(r<0?0:Vp(e))){if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1;t=$p(e)+(r<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(r<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=r<0?Vp(e):0}}}function Vp(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Zp(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function qp(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function Qp(e,t){let n=t.width/e.offsetWidth,i=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(i>.995&&i<1.005||!isFinite(i)||Math.abs(t.height-e.offsetHeight)<1)&&(i=1),{scaleX:n,scaleY:i}}Rp.prototype.startSide=Rp.prototype.endSide=-1;class Xp{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?Vp(t):0),n,Math.min(e.focusOffset,n?Vp(n):0))}set(e,t,n,i){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=i}}let Gp,Kp=null;function Jp(e){if(e.setActive)return e.setActive();if(Kp)return e.focus(Kp);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==Kp?{get preventScroll(){return Kp={preventScroll:!0},!0}}:void 0),!Kp){Kp=!1;for(let e=0;e<t.length;){let n=t[e++],i=t[e++],r=t[e++];n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=r&&(n.scrollLeft=r)}}}function eg(e,t,n=t){let i=Gp||(Gp=document.createRange());return i.setEnd(e,n),i.setStart(e,t),i}function tg(e,t,n,i){let r={key:t,code:t,keyCode:n,which:n,cancelable:!0};i&&({altKey:r.altKey,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey}=i);let s=new KeyboardEvent("keydown",r);s.synthetic=!0,e.dispatchEvent(s);let o=new KeyboardEvent("keyup",r);return o.synthetic=!0,e.dispatchEvent(o),s.defaultPrevented||o.defaultPrevented}function ng(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function ig(e,t){for(let n=e,i=t;;){if(3==n.nodeType&&i>0)return{node:n,offset:i};if(1==n.nodeType&&i>0){if("false"==n.contentEditable)return null;n=n.childNodes[i-1],i=Vp(n)}else{if(!n.parentNode||Wp(n))return null;i=$p(n),n=n.parentNode}}}function rg(e,t){for(let n=e,i=t;;){if(3==n.nodeType&&i<n.nodeValue.length)return{node:n,offset:i};if(1==n.nodeType&&i<n.childNodes.length){if("false"==n.contentEditable)return null;n=n.childNodes[i],i=0}else{if(!n.parentNode||Wp(n))return null;i=$p(n)+1,n=n.parentNode}}}Tp.safari&&Tp.safari_version>=26&&(Kp=!1);class sg{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new sg(e.parentNode,$p(e),t)}static after(e,t){return new sg(e.parentNode,$p(e)+1,t)}}var og=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(og||(og={}));const ag=og.LTR,lg=og.RTL;function cg(e){let t=[];for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}const dg=cg("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),ug=cg("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),hg=Object.create(null),fg=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),n=e.charCodeAt(1);hg[t]=n,hg[n]=-t}function mg(e){return e<=247?dg[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?ug[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}const pg=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class gg{get dir(){return this.level%2?lg:ag}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,n,i){let r=-1;for(let s=0;s<e.length;s++){let o=e[s];if(o.from<=t&&o.to>=t){if(o.level==n)return s;(r<0||(0!=i?i<0?o.from<t:o.to>t:e[r].level>o.level))&&(r=s)}}if(r<0)throw new RangeError("Index out of range");return r}}function yg(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],r=t[n];if(i.from!=r.from||i.to!=r.to||i.direction!=r.direction||!yg(i.inner,r.inner))return!1}return!0}const _g=[];function bg(e,t,n,i,r,s,o){let a=i%2?2:1;if(i%2==r%2)for(let l=t,c=0;l<n;){let t=!0,d=!1;if(c==s.length||l<s[c].from){let e=_g[l];e!=a&&(t=!1,d=16==e)}let u=t||1!=a?null:[],h=t?i:i+1,f=l;e:for(;;)if(c<s.length&&f==s[c].from){if(d)break e;let m=s[c];if(!t)for(let e=m.to,t=c+1;;){if(e==n)break e;if(!(t<s.length&&s[t].from==e)){if(_g[e]==a)break e;break}e=s[t++].to}if(c++,u)u.push(m);else{m.from>l&&o.push(new gg(l,m.from,h)),vg(e,m.direction==ag!=!(h%2)?i+1:i,r,m.inner,m.from,m.to,o),l=m.to}f=m.to}else{if(f==n||(t?_g[f]!=a:_g[f]==a))break;f++}u?bg(e,l,f,i+1,r,u,o):l<f&&o.push(new gg(l,f,h)),l=f}
vendor: 11,722 bytes, line 2
2else for(let l=n,c=s.length;l>t;){let n=!0,d=!1;if(!c||l>s[c-1].to){let e=_g[l-1];e!=a&&(n=!1,d=16==e)}let u=n||1!=a?null:[],h=n?i:i+1,f=l;e:for(;;)if(c&&f==s[c-1].to){if(d)break e;let m=s[--c];if(!n)for(let e=m.from,n=c;;){if(e==t)break e;if(!n||s[n-1].to!=e){if(_g[e-1]==a)break e;break}e=s[--n].from}if(u)u.push(m);else{m.to<l&&o.push(new gg(m.to,l,h)),vg(e,m.direction==ag!=!(h%2)?i+1:i,r,m.inner,m.from,m.to,o),l=m.from}f=m.from}else{if(f==t||(n?_g[f-1]!=a:_g[f-1]==a))break;f--}u?bg(e,f,l,i+1,r,u,o):f<l&&o.push(new gg(f,l,h)),l=f}}function vg(e,t,n,i,r,s,o){let a=t%2?2:1;!function(e,t,n,i,r){for(let s=0;s<=i.length;s++){let o=s?i[s-1].to:t,a=s<i.length?i[s].from:n,l=s?256:r;for(let t=o,n=l,i=l;t<a;t++){let r=mg(e.charCodeAt(t));512==r?r=n:8==r&&4==i&&(r=16),_g[t]=4==r?2:r,7&r&&(i=r),n=r}for(let e=o,t=l,i=l;e<a;e++){let r=_g[e];if(128==r)e<a-1&&t==_g[e+1]&&24&t?r=_g[e]=t:_g[e]=256;else if(64==r){let r=e+1;for(;r<a&&64==_g[r];)r++;let s=e&&8==t||r<n&&8==_g[r]?1==i?1:8:256;for(let t=e;t<r;t++)_g[t]=s;e=r-1}else 8==r&&1==i&&(_g[e]=1);t=r,7&r&&(i=r)}}}(e,r,s,i,a),function(e,t,n,i,r){let s=1==r?2:1;for(let o=0,a=0,l=0;o<=i.length;o++){let c=o?i[o-1].to:t,d=o<i.length?i[o].from:n;for(let t,n,i,o=c;o<d;o++)if(n=hg[t=e.charCodeAt(o)])if(n<0){for(let e=a-3;e>=0;e-=3)if(fg[e+1]==-n){let t=fg[e+2],n=2&t?r:4&t?1&t?s:r:0;n&&(_g[o]=_g[fg[e]]=n),a=e;break}}else{if(189==fg.length)break;fg[a++]=o,fg[a++]=t,fg[a++]=l}else if(2==(i=_g[o])||1==i){let e=i==r;l=e?0:1;for(let t=a-3;t>=0;t-=3){let n=fg[t+2];if(2&n)break;if(e)fg[t+2]|=2;else{if(4&n)break;fg[t+2]|=4}}}}}(e,r,s,i,a),function(e,t,n,i){for(let r=0,s=i;r<=n.length;r++){let o=r?n[r-1].to:e,a=r<n.length?n[r].from:t;for(let l=o;l<a;){let o=_g[l];if(256==o){let o=l+1;for(;;)if(o==a){if(r==n.length)break;o=n[r++].to,a=r<n.length?n[r].from:t}else{if(256!=_g[o])break;o++}let c=1==s,d=c==(1==(o<t?_g[o]:i))?c?1:2:i;for(let t=o,i=r,s=i?n[i-1].to:e;t>l;)t==s&&(t=n[--i].from,s=i?n[i-1].to:e),_g[--t]=d;l=o}else s=o,l++}}}(r,s,i,a),bg(e,r,s,t,n,i,o)}function wg(e,t,n){if(!e)return[new gg(0,0,t==lg?1:0)];if(t==ag&&!n.length&&!pg.test(e))return kg(e.length);if(n.length)for(;e.length>_g.length;)_g[_g.length]=256;let i=[],r=t==ag?0:1;return vg(e,r,r,n,0,e.length,i),i}function kg(e){return[new gg(0,e,0)]}let Tg="";function Mg(e,t,n,i,r){var s;let o=i.head-e.from,a=gg.find(t,o,null!==(s=i.bidiLevel)&&void 0!==s?s:-1,i.assoc),l=t[a],c=l.side(r,n);if(o==c){let e=a+=r?1:-1;if(e<0||e>=t.length)return null;l=t[a=e],o=l.side(!r,n),c=l.side(r,n)}let d=Of(e.text,o,l.forward(r,n));(d<l.from||d>l.to)&&(d=c),Tg=e.text.slice(Math.min(o,d),Math.max(o,d));let u=a==(r?t.length-1:0)?null:t[a+(r?1:-1)];return u&&d==c&&u.level+(r?0:1)<l.level?$f.cursor(u.side(!r,n)+e.from,u.forward(r,n)?1:-1,u.level):$f.cursor(d+e.from,l.forward(r,n)?-1:1,l.level)}function Lg(e,t,n){for(let i=t;i<n;i++){let t=mg(e.charCodeAt(i));if(1==t)return ag;if(2==t||4==t)return lg}return ag}const Sg=Vf.define(),xg=Vf.define(),Og=Vf.define(),Dg=Vf.define(),Yg=Vf.define(),Ag=Vf.define(),Cg=Vf.define(),Eg=Vf.define(),Ig=Vf.define(),Pg=Vf.define({combine:e=>e.some(e=>e)}),Ng=Vf.define({combine:e=>e.some(e=>e)}),Rg=Vf.define();class zg{constructor(e,t="nearest",n="nearest",i=5,r=5,s=!1){this.range=e,this.y=t,this.x=n,this.yMargin=i,this.xMargin=r,this.isSnapshot=s}map(e){return e.empty?this:new zg(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new zg($f.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Hg=km.define({map:(e,t)=>e.map(t)}),jg=km.define();function Fg(e,t,n){let i=e.facet(Dg);i.length?i[0](t):window.onerror&&window.onerror(String(t),n,void 0,void 0,t)||(n?console.error(n+":",t):console.error(t))}const Bg=Vf.define({combine:e=>!e.length||e[0]});let $g=0;const Wg=Vf.define({combine(e){return e.filter((t,n)=>{for(let i=0;i<n;i++)if(e[i].plugin==t.plugin)return!1;return!0})}});class Ug{constructor(e,t,n,i,r){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=i,this.baseExtensions=r(this),this.extension=this.baseExtensions.concat(Wg.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(Wg.of({plugin:this,arg:e}))}static define(e,t){const{eventHandlers:n,eventObservers:i,provide:r,decorations:s}=t||{};return new Ug($g++,e,n,i,e=>{let t=[];return s&&t.push(Qg.of(t=>{let n=t.plugin(e);return n?s(n):Ap.none})),r&&t.push(r(e)),t})}static fromClass(e,t){return Ug.define((t,n)=>new e(t,n),t)}}class Vg{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(Fg(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(e){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(t){Fg(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(t){Fg(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Zg=Vf.define(),qg=Vf.define(),Qg=Vf.define(),Xg=Vf.define(),Gg=Vf.define(),Kg=Vf.define(),Jg=Vf.define();function ey(e,t){let n=e.state.facet(Jg);if(!n.length)return n;let i=n.map(t=>t instanceof Function?t(e):t),r=[];return jm.spans(i,t.from,t.to,{point(){},span(e,n,i,s){let o=e-t.from,a=n-t.from,l=r;for(let e=i.length-1;e>=0;e--,s--){let n,r=i[e].spec.bidiIsolate;if(null==r&&(r=Lg(t.text,o,a)),s>0&&l.length&&(n=l[l.length-1]).to==o&&n.direction==r)n.to=a,l=n.inner;else{let e={from:o,to:a,direction:r,inner:[]};l.push(e),l=e.inner}}}}),r}const ty=Vf.define();function ny(e){let t=0,n=0,i=0,r=0;for(let s of e.state.facet(ty)){let o=s(e);o&&(null!=o.left&&(t=Math.max(t,o.left)),null!=o.right&&(n=Math.max(n,o.right)),null!=o.top&&(i=Math.max(i,o.top)),null!=o.bottom&&(r=Math.max(r,o.bottom)))}return{left:t,right:n,top:i,bottom:r}}const iy=Vf.define();class ry{constructor(e,t,n,i){this.fromA=e,this.toA=t,this.fromB=n,this.toB=i}join(e){return new ry(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let i=e[t-1];if(!(i.fromA>n.toA)){if(i.toA<n.fromA)break;n=n.join(i),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(0==t.length)return e;let n=[];for(let i=0,r=0,s=0;;){let o=i<e.length?e[i].fromB:1e9,a=r<t.length?t[r]:1e9,l=Math.min(o,a);if(1e9==l)break;let c=l+s,d=l,u=c;for(;;)if(r<t.length&&t[r]<=d){let n=t[r+1];r+=2,d=Math.max(d,n);for(let t=i;t<e.length&&e[t].fromB<=d;t++)s=e[t].toA-e[t].toB;u=Math.max(u,n+s)}else{if(!(i<e.length&&e[i].fromB<=d))break;{let t=e[i++];d=Math.max(d,t.toB),u=Math.max(u,t.toA),s=t.toA-t.toB}}n.push(new ry(c,u,l,d))}return n}}class sy{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Pf.empty(this.startState.doc.length);for(let e of n)this.changes=this.changes.compose(e.changes);let i=[];this.changes.iterChangedRanges((e,t,n,r)=>i.push(new ry(e,t,n,r))),this.changedRanges=i}static create(e,t,n){return new sy(e,t,n)}get viewportChanged(){return(4&this.flags)>0}get viewportMoved(){return(8&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(18&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}const oy=[];class ay{constructor(e,t,n=0){this.dom=e,this.length=t,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return 1&this.flags}get children(){return oy}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,4&this.flags){this.flags&=-5;let e=this.domAttrs;e&&function(e,t){for(let n=e.attributes.length-1;n>=0;n--){let i=e.attributes[n].name;null==t[i]&&e.removeAttribute(i)}for(let n in t){let i=t[n];"style"==n?e.style.cssText=i:e.getAttribute(n)!=i&&e.setAttribute(n,i)}}(this.dom,e)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,t=this.posAtStart){let n=t;for(let t of this.children){if(t==e)return n;n+=t.length+t.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,t){return null}domPosFor(e,t){let n=$p(this.dom),i=this.length?e>0:t>0;return new sg(this.parent.dom,n+(i?1:0),0==e||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&2&this.parent.flags&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof dy)return e;return null}static get(e){return e.cmTile}}class ly extends ay{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(2&this.flags)return;super.sync(e);let t,n=this.dom,i=null,r=(null==e?void 0:e.node)==n?e:null,s=0;for(let o of this.children){if(o.sync(e),s+=o.length+o.breakAfter,t=i?i.nextSibling:n.firstChild,r&&t!=o.dom&&(r.written=!0),o.dom.parentNode==n)for(;t&&t!=o.dom;)t=cy(t);else n.insertBefore(o.dom,t);i=o.dom}for(t=i?i.nextSibling:n.firstChild,r&&t&&(r.written=!0);t;)t=cy(t);this.length=s}}function cy(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class dy extends ly{constructor(e,t){super(t),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let t=ay.get(e);if(t&&this.owns(t))return t;e=e.parentNode}}blockTiles(e){for(let t=[],n=this,i=0,r=0;;)if(i==n.children.length){if(!t.length)return;n=n.parent,n.breakAfter&&r++,i=t.pop()}else{let s=n.children[i++];if(s instanceof uy)t.push(i),n=s,i=0;else{let t=r+s.length,n=e(s,r);if(void 0!==n)return n;r=t+s.breakAfter}}}resolveBlock(e,t){let n,i,r=-1,s=-1;if(this.blockTiles((o,a)=>{let l=a+o.length;if(e>=a&&e<=l){if(o.isWidget()&&t>=-1&&t<=1){if(32&o.flags)return!0;16&o.flags&&(n=void 0)}(a<e||e==l&&(t<-1?o.length:o.covers(1)))&&(!n||!o.isWidget()&&n.isWidget())&&(n=o,r=e-a),(l>e||e==a&&(t>1?o.length:o.covers(-1)))&&(!i||!o.isWidget()&&i.isWidget())&&(i=o,s=e-a)}}),!n&&!i)throw new Error("No tile at position "+e);return n&&t<0||!i?{tile:n,offset:r}:{tile:i,offset:s}}}class uy extends ly{constructor(e,t){super(e),this.wrapper=t}isBlock(){return!0}covers(e){return!!this.children.length&&(e<0?this.children[0].covers(-1):this.lastChild.covers(1))}get domAttrs(){return this.wrapper.attributes}static of(e,t){let n=new uy(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class hy extends ly{constructor(e,t){super(e),this.attrs=t}isLine(){return!0}static start(e,t,n){let i=new hy(t||document.createElement("div"),e);return t&&n||(i.flags|=4),i}get domAttrs(){return this.attrs}resolveInline(e,t,n){let i=null,r=-1,s=null,o=-1;!function e(a,l){for(let c=0,d=0;c<a.children.length&&d<=l;c++){let u=a.children[c],h=d+u.length;h>=l&&(u.isComposite()?e(u,l-d):(!s||s.isHidden&&(t>0||n&&fy(s,u)))&&(h>l||32&u.flags)?(s=u,o=l-d):(d<l||16&u.flags&&!u.isHidden)&&(i=u,r=l
vendor: 11,365 bytes, line 2
2-d)),d=h}}(this,e);let a=(t<0?i:s)||i||s;return a?{tile:a,offset:a==i?r:o}:null}coordsIn(e,t){let n=this.resolveInline(e,t,!0);return n?n.tile.coordsIn(Math.max(0,n.offset),t):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=Fp(t);return n[n.length-1]||null}(this)}domIn(e,t){let n=this.resolveInline(e,t);if(n){let{tile:e,offset:i}=n;if(this.dom.contains(e.dom))return e.isText()?new sg(e.dom,Math.min(e.dom.nodeValue.length,i)):e.domPosFor(i,16&e.flags?1:32&e.flags?-1:t);let r=n.tile.parent,s=!1;for(let e of r.children){if(s)return new sg(e.dom,0);e==n.tile&&(s=!0)}}return new sg(this.dom,0)}}function fy(e,t){let n=e.coordsIn(0,1),i=t.coordsIn(0,1);return n&&i&&i.top<n.bottom}class my extends ly{constructor(e,t){super(e),this.mark=t}get domAttrs(){return this.mark.attrs}static of(e,t){let n=new my(t||document.createElement(e.tagName),e);return t||(n.flags|=4),n}}class py extends ay{constructor(e,t){super(e,t.length),this.text=t}sync(e){2&this.flags||(super.sync(e),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text))}isText(){return!0}toString(){return JSON.stringify(this.text)}coordsIn(e,t){let n=this.dom.nodeValue.length;e>n&&(e=n);let i=e,r=e,s=0;0==e&&t<0||e==n&&t>=0?Tp.chrome||Tp.gecko||(e?(i--,s=1):r<n&&(r++,s=-1)):t<0?i--:r<n&&r++;let o=eg(this.dom,i,r).getClientRects();if(!o.length)return null;let a=o[(s?s<0:t>=0)?0:o.length-1];return Tp.safari&&!s&&0==a.width&&(a=Array.prototype.find.call(o,e=>e.width)||a),s?Zp(a,s<0):a||null}static of(e,t){let n=new py(t||document.createTextNode(e),e);return t||(n.flags|=2),n}}class gy extends ay{constructor(e,t,n,i){super(e,t,i),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return!(48&this.flags)&&(this.flags&(e<0?64:128))>0}coordsIn(e,t){return this.coordsInWidget(e,t,!1)}coordsInWidget(e,t,n){let i=this.widget.coordsAt(this.dom,e,t);if(i)return i;if(n)return Zp(this.dom.getBoundingClientRect(),this.length?0==e:t<=0);{let t=this.dom.getClientRects(),n=null;if(!t.length)return null;let i=!!(16&this.flags)||!(32&this.flags)&&e>0;for(let r=i?t.length-1:0;n=t[r],!(e>0?0==r:r==t.length-1||n.top<n.bottom);r+=i?-1:1);return Zp(n,!i)}}get overrideDOMText(){if(!this.length)return _f.empty;let{root:e}=this;if(!e)return _f.empty;let t=this.posAtStart;return e.view.state.doc.slice(t,t+this.length)}destroy(){super.destroy(),this.widget.destroy(this.dom)}static of(e,t,n,i,r){return r||(r=e.toDOM(t),e.editable||(r.contentEditable="false")),new gy(r,n,e,i)}}class yy extends ay{constructor(e){let t=document.createElement("img");t.className="cm-widgetBuffer",t.setAttribute("aria-hidden","true"),super(t,0,e)}get isHidden(){return!1}get overrideDOMText(){return _f.empty}coordsIn(e){return this.dom.getBoundingClientRect()}}class _y{constructor(e){this.index=0,this.beforeBreak=!1,this.parents=[],this.tile=e}advance(e,t,n){let{tile:i,index:r,beforeBreak:s,parents:o}=this;for(;e||t>0;)if(i.isComposite())if(s){if(!e)break;n&&n.break(),e--,s=!1}else if(r==i.children.length){if(!e&&!o.length)break;n&&n.leave(i),s=!!i.breakAfter,({tile:i,index:r}=o.pop()),r++}else{let a=i.children[r],l=a.breakAfter;!(t>0?a.length<=e:a.length<e)||n&&!1===n.skip(a,0,a.length)&&a.isComposite?(o.push({tile:i,index:r}),i=a,r=0,n&&a.isComposite()&&n.enter(a)):(s=!!l,r++,e-=a.length)}else if(r==i.length)s=!!i.breakAfter,({tile:i,index:r}=o.pop()),r++;else{if(!e)break;{let t=Math.min(e,i.length-r);n&&n.skip(i,r,r+t),e-=t,r+=t}}return this.tile=i,this.index=r,this.beforeBreak=s,this}get root(){return this.parents.length?this.parents[0].tile:this.tile}}class by{constructor(e,t,n,i){this.from=e,this.to=t,this.wrapper=n,this.rank=i}}class vy{constructor(e,t,n){this.cache=e,this.root=t,this.blockWrappers=n,this.curLine=null,this.lastBlock=null,this.afterWidget=null,this.pos=0,this.wrappers=[],this.wrapperPos=0}addText(e,t,n,i){var r;this.flushBuffer();let s=this.ensureMarks(t,n),o=s.lastChild;if(!o||!o.isText()||8&o.flags)s.append(i||py.of(e,null===(r=this.cache.find(py))||void 0===r?void 0:r.dom));else{this.cache.reused.set(o,2),(s.children[s.children.length-1]=new py(o.dom,o.text+e)).parent=s}this.pos+=e.length,this.afterWidget=null}addComposition(e,t){let n=this.curLine;n.dom!=t.line.dom&&(n.setDOM(this.cache.reused.has(t.line)?xy(t.line.dom):t.line.dom),this.cache.reused.set(t.line,2));let i=n;for(let e=t.marks.length-1;e>=0;e--){let n=t.marks[e],r=i.lastChild;if(r instanceof my&&r.mark.eq(n.mark))r.dom!=n.dom&&r.setDOM(xy(n.dom)),i=r;else{if(this.cache.reused.get(n)){let e=ay.get(n.dom);e&&e.setDOM(xy(n.dom))}let e=my.of(n.mark,n.dom);i.append(e),i=e}this.cache.reused.set(n,2)}let r=new py(e.text,e.text.nodeValue);r.flags|=8,i.append(r)}addInlineWidget(e,t,n){let i=this.afterWidget&&48&e.flags&&(48&this.afterWidget.flags)==(48&e.flags);i||this.flushBuffer();let r=this.ensureMarks(t,n);i||16&e.flags||r.append(this.getBuffer(1)),r.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,t,n){this.flushBuffer(),this.ensureMarks(t,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){(this.afterWidget||this.lastBlock).length+=e,this.pos+=e}addLineStart(e,t){var n;e||(e=Sy);let i=hy.start(e,t||(null===(n=this.cache.find(hy))||void 0===n?void 0:n.dom),!!t);this.getBlockPos().append(this.lastBlock=this.curLine=i)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,t){var n;let i=this.curLine;for(let r=e.length-1;r>=0;r--){let s,o=e[r];if(t>0&&(s=i.lastChild)&&s instanceof my&&s.mark.eq(o))i=s,t--;else{let e=my.of(o,null===(n=this.cache.find(my,e=>e.mark.eq(o)))||void 0===n?void 0:n.dom);i.append(e),i=e,t=0}}return i}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;e&&Ly(this.curLine,!1)&&("BR"==e.dom.nodeName||!e.isWidget()||Tp.ios&&Ly(this.curLine,!0))||this.curLine.append(this.cache.findWidget(Dy,0,32)||new gy(Dy.toDOM(),0,Dy,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to<this.pos&&this.wrappers.splice(e,1);for(let e=this.blockWrappers;e.value&&e.from<=this.pos;e.next())if(e.to>=this.pos){let t=new by(e.from,e.to,e.value,e.rank),n=this.wrappers.length;for(;n>0&&(this.wrappers[n-1].rank-t.rank||this.wrappers[n-1].to-t.to)<0;)n--;this.wrappers.splice(n,0,t)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let t=this.root;for(let n of this.wrappers){let i=t.lastChild;if(n.from<this.pos&&i instanceof uy&&i.wrapper.eq(n.wrapper))t=i;else{let i=uy.of(n.wrapper,null===(e=this.cache.find(uy,e=>e.wrapper.eq(n.wrapper)))||void 0===e?void 0:e.dom);t.append(i),t=i}}return t}blockPosCovered(){let e=this.lastBlock;return null!=e&&!e.breakAfter&&(!e.isWidget()||(160&e.flags)>0)}getBuffer(e){let t=2|(e<0?16:32),n=this.cache.find(yy,void 0,1);return n&&(n.flags=t),n||new yy(t)}flushBuffer(){!this.afterWidget||32&this.afterWidget.flags||(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class wy{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:t,lineBreak:n,done:i}=this.cursor.next(this.skipCount);if(this.skipCount=0,i)throw new Error("Ran out of text content when drawing inline views");this.text=t;let r=this.textOff=Math.min(e,t.length);return n?null:t.slice(0,r)}let t=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,t);return this.textOff=t,n}}const ky=[gy,hy,py,my,yy,uy,dy];for(let e=0;e<ky.length;e++)ky[e].bucket=e;class Ty{constructor(e){this.view=e,this.buckets=ky.map(()=>[]),this.index=ky.map(()=>0),this.reused=new Map}add(e){let t=e.constructor.bucket,n=this.buckets[t];n.length<6?n.push(e):n[this.index[t]=(this.index[t]+1)%6]=e}find(e,t,n=2){let i=e.bucket,r=this.buckets[i],s=this.index[i];for(let e=r.length-1;e>=0;e--){let o=(e+s)%r.length,a=r[o];if((!t||t(a))&&!this.reused.has(a))return r.splice(o,1),o<s&&this.index[i]--,this.reused.set(a,n),a}return null}findWidget(e,t,n){let i=this.buckets[0];if(i.length)for(let r=0,s=0;;r++){if(r==i.length){if(s)return null;s=1,r=0}let o=i[r];if(!this.reused.has(o)&&(0==s?o.widget.compare(e):o.widget.constructor==e.constructor&&e.updateDOM(o.dom,this.view)))return i.splice(r,1),r<this.index[0]&&this.index[0]--,this.reused.set(o,1),o.length=t,o.flags=-498&o.flags|n,o}}reuse(e){return this.reused.set(e,1),e}maybeReuse(e,t=2){if(!this.reused.has(e))return this.reused.set(e,t),e.dom}}class My{constructor(e,t,n,i,r){this.view=e,this.decorations=i,this.disallowBlockEffectsFor=r,this.openWidget=!1,this.openMarks=0,this.cache=new Ty(e),this.text=new wy(e.state.doc),this.builder=new vy(this.cache,new dy(e,e.contentDOM),jm.iter(n)),this.cache.reused.set(t,2),this.old=new _y(t)}run(e,t){let n=t&&this.getCompositionContext(t.text);for(let i=0,r=0,s=0;;){let o=s<e.length?e[s++]:null,a=o?o.fromA:this.old.root.length;if(a>i){let e=a-i;this.preserve(e,!s,!o),i=a,r+=e}if(!o)break;this.forward(o.fromA,o.toA),t&&o.fromA<=t.range.fromA&&o.toA>=t.range.toA?(this.emit(r,t.range.fromB),this.builder.addComposition(t,n),this.emit(t.range.toB,o.toB)):this.emit(r,o.toB),r=o.toB,i=o.toA}return this.builder.curLine&&this.builder.endLine(),this.builder.root}preserve(e,t,n){let i=function(e){let t=[];for(let n=e.parents.length;n>1;n--){let i=n==e.parents.length?e.tile:e.parents[n].tile;i instanceof my&&t.push(i.mark)}return t}(this.old),r=this.openMarks;this.old.advance(e,n?1:-1,{skip:(e,t,n)=>{if(e.isWidget())if(this.openWidget)this.builder.continueWidget(n-t);else{let s=n>0||t<e.length?gy.of(e.widget,this.view,n-t,496&e.flags,this.cache.maybeReuse(e)):this.cache.reuse(e);256&s.flags?(s.flags&=-2,this.builder.addBlockWidget(s)):(this.builder.ensureLine(null),this.builder.addInlineWidget(s,i,r),r=i.length)}else if(e.isText())this.builder.ensureLine(null),t||n!=e.length?(this.cache.add(e),this.builder.addText(e.text.slice(t,n),i,r)):this.builder.addText(e.text,i,r,this.cache.reuse(e)),r=i.length;else if(e.isLine())e.flags&=-2,this.cache.reused.set(e,1),this.builder.addLine(e);else if(e instanceof yy)this.cache.add(e);else{if(!(e instanceof my))return!1;this.builder.ensureLine(null),this.builder.addMark(e,i,r),this.cache.reused.set(e,1),r=i.length}this.openWidget=!1},enter:e=>{e.isLine()?this.builder.addLineStart(e.attrs,this.cache.maybeReuse(e)):(this.cache.add(e),e instanceof my&&i.unshift(e.mark)),this.openWidget=!1},leave:e=>{e.isLine()?i.length&&(i.length=r=0):e instanceof my&&(i.shift(),r=Math.min(r,i.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,t){let n=null,i=this.builder,r=0,s=jm.spans(this.decorations,e,t,{point:(e,t,s,o,a,l)=>{if(s instanceof Ip){if(this.disallowBlockEffectsFor[l]){if(s.block)throw new RangeError("Block decorations may not be specified via plugins");
vendor: 17,350 bytes, line 2
2if(t>this.view.state.doc.lineAt(e).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(r=o.length,a>o.length)i.continueWidget(t-e);else{let r=s.widget||(s.block?Oy.block:Oy.inline),l=function(e){let t=e.isReplace?(e.startSide<0?64:0)|(e.endSide>0?128:0):e.startSide>0?32:16;e.block&&(t|=256);return t}(s),c=this.cache.findWidget(r,t-e,l)||gy.of(r,this.view,t-e,l);s.block?(s.startSide>0&&i.addLineStartIfNotCovered(n),i.addBlockWidget(c)):(i.ensureLine(n),i.addInlineWidget(c,o,a))}n=null}else n=function(e,t){let n=t.spec.attributes,i=t.spec.class;if(!n&&!i)return e;e||(e={class:"cm-line"});n&&Mp(n,e);i&&(e.class+=" "+i);return e}(n,s);t>e&&this.text.skip(t-e)},span:(e,t,r,s)=>{for(let o=e;o<t;){let e=this.text.next(Math.min(512,t-o));null==e?(i.addLineStartIfNotCovered(n),i.addBreak(),o++):(i.ensureLine(n),i.addText(e,r,s),o+=e.length),n=null}}});i.addLineStartIfNotCovered(n),this.openWidget=s>r,this.openMarks=s}forward(e,t){this.old.advance(t-e,1,{skip:(e,t,n)=>{(e.isText()||n==e.length)&&this.cache.add(e)},enter:e=>this.cache.add(e),leave:()=>{},break:()=>{}})}getCompositionContext(e){let t=[],n=null;for(let i=e.parentNode;;i=i.parentNode){let e=ay.get(i);if(i==this.view.contentDOM)break;e instanceof my?t.push(e):(null==e?void 0:e.isLine())?n=e:"DIV"!=i.nodeName||n||i==this.view.contentDOM?t.push(my.of(new Cp({tagName:i.nodeName.toLowerCase(),attributes:Op(i)}),i)):n=new hy(i,Sy)}return{line:n,marks:t}}}function Ly(e,t){let n=e=>{for(let i of e.children)if((t?i.isText():i.length)||n(i))return!0;return!1};return n(e)}const Sy={class:"cm-line"};function xy(e){let t=ay.get(e);return t&&t.setDOM(e.cloneNode()),e}class Oy extends Dp{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}Oy.inline=new Oy("span"),Oy.block=new Oy("div");const Dy=new class extends Dp{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class Yy{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=Ap.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new dy(e,e.contentDOM),this.updateInner([new ry(0,0,0,e.state.doc.length)],null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?i=this.domChanged.newSel.head:function(e,t){let n=!1;t&&e.iterChangedRanges((e,i)=>{e<t.to&&i>t.from&&(n=!0)});return n}(e.changes,this.hasComposition)||e.selectionSet||(i=e.state.selection.main.head));let r=i>-1?function(e,t,n){let i=Cy(e,n);if(!i)return null;let{node:r,from:s,to:o}=i,a=r.nodeValue;if(/[\n\r]/.test(a))return null;if(e.state.doc.sliceString(i.from,i.to)!=a)return null;let l=t.invertedDesc;return{range:new ry(l.mapPos(s),l.mapPos(o),s,o),text:r}}(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){let{from:t,to:i}=this.hasComposition;n=new ry(t,i,e.changes.mapPos(t,-1),e.changes.mapPos(i,1)).addToSet(n.slice())}this.hasComposition=r?{from:r.range.fromB,to:r.range.toB}:null,(Tp.ie||Tp.chrome)&&!r&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,o=this.blockWrappers;this.updateDeco();let a=function(e,t,n){let i=new Ey;return jm.compare(e,t,n,i),i.changes}(s,this.decorations,e.changes);a.length&&(n=ry.extendWithRanges(n,a));let l=function(e,t,n){let i=new Iy;return jm.compare(e,t,n,i),i.changes}(o,this.blockWrappers,e.changes);return l.length&&(n=ry.extendWithRanges(n,l)),r&&!n.some(e=>e.fromA<=r.range.fromA&&e.toA>=r.range.toA)&&(n=r.range.addToSet(n.slice())),!(2&this.tile.flags&&0==n.length)&&(this.updateInner(n,r),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(t||e.length){let n=this.tile,i=new My(this.view,n,this.blockWrappers,this.decorations,this.dynamicDecorationMap);this.tile=i.run(e,t),Ay(n,i.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let i=Tp.chrome||Tp.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(i),!i||!i.written&&n.selectionRange.focusNode==i.node&&this.tile.dom.contains(i.node)||(this.forceSelection=!0),this.tile.dom.style.height=""});let i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.tile.children)e.isWidget()&&e.widget instanceof Py&&i.push(e.dom);n.updateGaps(i)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(jg)&&(this.editContextFormatting=e.value)}updateSelection(e=!1,t=!1){!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();let{dom:n}=this.tile,i=this.view.root.activeElement,r=i==n,s=!r&&!(this.view.state.facet(Bg)||n.tabIndex>-1)&&jp(n,this.view.observer.selectionRange)&&!(i&&n.contains(i));if(!(r||t||s))return;let o=this.forceSelection;this.forceSelection=!1;let a,l,c=this.view.state.selection.main;if(c.empty?l=a=this.inlineDOMNearPos(c.anchor,c.assoc||1):(l=this.inlineDOMNearPos(c.head,c.head==c.from?1:-1),a=this.inlineDOMNearPos(c.anchor,c.anchor==c.from?1:-1)),Tp.gecko&&c.empty&&!this.hasComposition&&(1==(d=a).node.nodeType&&d.node.firstChild&&(0==d.offset||"false"==d.node.childNodes[d.offset-1].contentEditable)&&(d.offset==d.node.childNodes.length||"false"==d.node.childNodes[d.offset].contentEditable))){let e=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(e,a.node.childNodes[a.offset]||null)),a=l=new sg(e,0),o=!0}var d;let u=this.view.observer.selectionRange;!o&&u.focusNode&&(Bp(a.node,a.offset,u.anchorNode,u.anchorOffset)&&Bp(l.node,l.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,c))||(this.view.observer.ignore(()=>{Tp.android&&Tp.chrome&&n.contains(u.focusNode)&&function(e,t){for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}(u.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let e=zp(this.view.root);if(e)if(c.empty){if(Tp.gecko){let e=function(e,t){return 1!=e.nodeType?0:(t&&"false"==e.childNodes[t-1].contentEditable?1:0)|(t<e.childNodes.length&&"false"==e.childNodes[t].contentEditable?2:0)}(a.node,a.offset);if(e&&3!=e){let t=(1==e?ig:rg)(a.node,a.offset);t&&(a=new sg(t.node,t.offset))}}e.collapse(a.node,a.offset),null!=c.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=c.bidiLevel)}else if(e.extend){e.collapse(a.node,a.offset);try{e.extend(l.node,l.offset)}catch(e){}}else{let t=document.createRange();c.anchor>c.head&&([a,l]=[l,a]),t.setEnd(l.node,l.offset),t.setStart(a.node,a.offset),e.removeAllRanges(),e.addRange(t)}else;s&&this.view.root.activeElement==n&&(n.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(a,l)),this.impreciseAnchor=a.precise?null:new sg(u.anchorNode,u.anchorOffset),this.impreciseHead=l.precise?null:new sg(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&Bp(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=zp(e.root),{anchorNode:i,anchorOffset:r}=e.observer.selectionRange;if(!(n&&t.empty&&t.assoc&&n.modify))return;let s=this.lineAt(t.head,t.assoc);if(!s)return;let o=s.posAtStart;if(t.head==o||t.head==o+s.length)return;let a=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!a||!l||a.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc,t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let d=e.observer.selectionRange;e.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=t.from&&n.collapse(i,r)}posFromDOM(e,t){let n=this.tile.nearest(e);if(!n)return 2&this.tile.dom.compareDocumentPosition(e)?0:this.view.state.doc.length;let i=n.posAtStart;if(!n.isComposite())return n.isText()?e==n.dom?i+t:i+(t?n.length:0):i;{let r;if(e==n.dom)r=n.dom.childNodes[t];else{let i=0==Vp(e)?0:0==t?-1:1;for(;;){let t=e.parentNode;if(t==n.dom)break;0==i&&t.firstChild!=t.lastChild&&(i=e==t.firstChild?-1:1),e=t}r=i<0?e:e.nextSibling}if(r==n.dom.firstChild)return i;for(;r&&!ay.get(r);)r=r.nextSibling;if(!r)return i+n.length;for(let e=0,t=i;;e++){let i=n.children[e];if(i.dom==r)return t;t+=i.length+i.breakAfter}}}domAtPos(e,t){let{tile:n,offset:i}=this.tile.resolveBlock(e,t);return n.isWidget()?n.domPosFor(e,t):n.domIn(i,t)}inlineDOMNearPos(e,t){let n,i,r=-1,s=!1,o=-1,a=!1;return this.tile.blockTiles((t,l)=>{if(t.isWidget()){if(32&t.flags&&l>=e)return!0;16&t.flags&&(s=!0)}else{let c=l+t.length;if(l<=e&&(n=t,r=e-l,s=c<e),c>=e&&!i&&(i=t,o=e-l,a=l>e),l>e&&i)return!0}}),n||i?(s&&i?n=null:a&&n&&(i=null),n&&t<0||!i?n.domIn(r,t):i.domIn(o,t)):this.domAtPos(e,t)}coordsAt(e,t){let{tile:n,offset:i}=this.tile.resolveBlock(e,t);return n.isWidget()?n.widget instanceof Py?null:n.coordsInWidget(i,t,!0):n.coordsIn(i,t)}lineAt(e,t){let{tile:n}=this.tile.resolveBlock(e,t);return n.isLine()?n:null}coordsForChar(e){let{tile:t,offset:n}=this.tile.resolveBlock(e,1);if(!t.isLine())return null;return function e(t,n){if(t.isComposite())for(let i of t.children){if(i.length>=n){let t=e(i,n);if(t)return t}if((n-=i.length)<0)break}else if(t.isText()&&n<t.length){let e=Of(t.text,n);if(e==n)return null;let i=eg(t.dom,n,e).getClientRects();for(let e=0;e<i.length;e++){let t=i[e];if(e==i.length-1||t.top<t.bottom&&t.left<t.right)return t}}return null}(t,n)}measureVisibleLineHeights(e){let t=[],{from:n,to:i}=e,r=this.view.contentDOM.clientWidth,s=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,a=this.view.textDirection==og.LTR,l=0,c=(e,d,u)=>{for(let h=0;h<e.children.length&&!(d>i);h++){let i=e.children[h],f=d+i.length,m=i.dom.getBoundingClientRect(),{height:p}=m;if(u&&!h&&(l+=m.top-u.top),i instanceof uy)f>n&&c(i,d,m);else if(d>=n&&(l>0&&t.push(-l),t.push(p+l),l=0,s)){let e=i.dom.lastChild,t=e?Fp(e):[];if(t.length){let e=t[t.length-1],n=a?e.right-m.left:m.right-e.left;n>o&&(o=n,this.minWidth=r,this.minWidthFrom=d,this.minWidthTo=f)}}u&&h==e.children.length-1&&(l+=u.bottom-m.bottom),d=f+i.breakAfter}};return c(this.tile,0,null),t}textDirectionAt(e){let{tile:t}=this.tile.resolveBlock(e,1);return"rtl"==getComputedStyle(t.dom).direction?og.RTL:og.LTR}measureTextSize(){let e=this.tile.blockTiles(e=>{if(e.isLine()&&e.children.length&&e.length<=20){let t,n=0;for(let i of e.children){if(!i.isText()||/[^ -~]/.test(i.text))return;let e=Fp(i.dom);if(1!=e.length)return;n+=e[0].width,t=e[0].height}if(n)return{lineHeight:e.dom.getBoundingClientRect().height,charWidth:n/e.length,textHeight:t}}});if(e)return e;let t,n,i,r=document.createElement("div");return r.className="cm-line",r.style.width="99999px",r.style.position="absolute",r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(r);let e=Fp(r.firstChild)[0];t=r.getBoundingClientRect().height,n=e&&e.width?e.width/27:7,i=e&&e.height?e.height:t,r.remove()}),{lineHeight:t,charWidth:n,textHeight:i}}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,i=0;;i++){let r=i==t.viewports.length?null:t.viewports[i],s=r?r.from-1:this.view.state.doc.length;if(s>n){let i=(t.lineBlockAt(s).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(Ap.replace({widget:new Py(i),block:!0,inclusive:!0,isBlockGap:!0}).range(n,s))}if(!r)break;n=r.to+1}return Ap.set(e)}updateDeco(){let e=1,t=this.view.state.facet(Qg).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),n=!1,i=this.view.state.facet(Gg).map((e,t)=>{let i="function"==typeof e;return i&&(n=!0),i?e(this.view):e});for(i.length&&(this.dynamicDecorationMap[e++]=n,t.push(jm.join(i))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;this.blockWrappers=this.view.state.facet(Xg).map(e=>"function"==typeof e?e(this.view):e)}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let t of this.view.state.facet(Rg))try{if(t(this.view,e.range,e))return!0}catch(e){Fg(this.view.state,e,"scroll handler")}let t,{range:n}=e,i=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1);if(!i)return;!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(i={left:Math.min(i.left,t.left),top:Math.min(i.top,t.top),right:Math.max(i.right,t.right),bottom:Math.max(i.bottom,t.bottom)});let r=ny(this.view),s={left:i.left-r.left,top:i.top-r.top,right:i.right+r.right,bottom:i.bottom+r.bottom},{offsetWidth:o,offsetHeight:a}=this.view.scrollDOM;!function(e,t,n,i,r,s,o,a){let l=e.ownerDocument,c=l.defaultView||window;for(let d=e,u=!1;d&&!u;)if(1==d.nodeType){let e,h=d==l.body,f=1,m=1;if(h)e=qp(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(d).position)&&(u=!0),d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth){d=d.assignedSlot||d.parentNode;continue}let t=d.getBoundingClientRect();({scaleX:f,scaleY:m}=Qp(d,t)),e={left:t.left,right:t.left+d.clientWidth*f,top:t.top,bottom:t.top+d.clientHeight*m}}let p=0,g=0;if("nearest"==r)t.top<e.top?(g=t.top-(e.top+o),n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+o)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+o,n<0&&t.top-g<e.top&&(g=t.top-(e.top+o)));else{let i=t.bottom-t.top,s=e.bottom-e.top;g=("center"==r&&i<=s?t.top+i/2-s/2:"start"==r||"center"==r&&n<0?t.top-o:t.bottom-s+o)-e.top}if("nearest"==i?t.left<e.left?(p=t.left-(e.left+s),n>0&&t.right>e.right+p&&(p=t.right-e.right+s)):t.right>e.right&&(p=t.right-e.right+s,n<0&&t.left<e.left+p&&(p=t.left-(e.left+s))):p=("center"==i?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==i==a?t.left-s:t.right-(e.right-e.left)+s)-e.left,p||g)if(h)c.scrollBy(p,g);else{let e=0,n=0;if(g){let e=d.scrollTop;d.scrollTop+=g/m,n=(d.scrollTop-e)*m}if(p){let t=d.scrollLeft;d.scrollLeft+=p/f,e=(d.scrollLeft-t)*f}t={left:t.left-e,top:t.top-n,right:t.right-e,bottom:t.bottom-n},e&&Math.abs(e-p)<1&&(i="nearest"),n&&Math.abs(n-g)<1&&(r="nearest")}if(h)break;(t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)&&(t={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)}),d=d.assignedSlot||d.parentNode}else{if(11!=d.nodeType)break;d=d.host}}(this.view.scrollDOM,s,n.head<n.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,o),-o),Math.max(Math.min(e.yMargin,a),-a),this.view.textDirection==og.LTR)}lineHasWidget(e){let t=e=>e.isWidget()||e.children.some(t);return t(this.tile.resolveBlock(e,1).tile)}destroy(){Ay(this.tile)}}function Ay(e,t){let n=null==t?void 0:t.get(e);if(1!=n){null==n&&e.destroy();for(let n of e.children)Ay(n,t)}}function Cy(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null;let i=ig(n.focusNode,n.focusOffset),r=rg(n.focusNode,n.focusOffset),s=i||r;if(r&&i&&r.node!=i.node){let t=ay.get(r.node);if(!t||t.isText()&&t.text!=r.node.nodeValue)s=r;else if(e.docView.lastCompositionAfterCursor){let e=ay.get(i.node);!e||e.isText()&&e.text!=i.node.nodeValue||(s=r)}}if(e.docView.lastCompositionAfterCursor=s!=i,!s)return null;let o=t-s.offset;return{from:o,to:o+s.node.nodeValue.length,node:s.node}}let Ey=class{constructor(){this.changes=[]}compareRange(e,t){Np(e,t,this.changes)}comparePoint(e,t){Np(e,t,this.changes)}boundChange(e){Np(e,e,this.changes)}};class Iy{constructor(){this.changes=[]}compareRange(e,t){Np(e,t,this.changes)}comparePoint(){}boundChange(e){Np(e,e,this.changes)}}class Py extends Dp{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function Ny(e,t,n,i,r){let s=Math.round((i-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;s+=Math.floor((r-n.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let o=e.state.sliceDoc(n.from,n.to);return n.from+function(e,t,n,i){for(let i=0,r=0;;){if(r>=t)return i;if(i==e.length)break;r+=9==e.charCodeAt(i)?n-r%n:1,i=Of(e,i)}return!0===i?-1:e.length}(o,s,e.state.tabSize)}function Ry(e,t,n){let i=e.lineBlockAt(t);if(Array.isArray(i.type)){let e;for(let r of i.type){if(r.from>t)break;
vendor: 9,408 bytes, line 2
2if(!(r.to<t)){if(r.from<t&&r.to>t)return r;e&&(r.type!=Yp.Text||e.type==r.type&&!(n<0?r.from<t:r.to>t))||(e=r)}}return e||i}return i}function zy(e,t,n,i){let r=e.state.doc.lineAt(t.head),s=e.bidiSpans(r),o=e.textDirectionAt(r.from);for(let a=t,l=null;;){let t=Mg(r,s,o,a,n),c=Tg;if(!t){if(r.number==(n?e.state.doc.lines:1))return a;c="\n",r=e.state.doc.line(r.number+(n?1:-1)),s=e.bidiSpans(r),t=e.visualLineSide(r,!n)}if(l){if(!l(c))return a}else{if(!i)return t;l=i(c)}a=t}}function Hy(e,t,n){for(;;){let i=0;for(let r of e)r.between(t-1,t+1,(e,r,s)=>{if(t>e&&t<r){let s=i||n||(t-e<r-t?-1:1);t=s<0?e:r,i=s}});if(!i)return t}}function jy(e,t){let n=null;for(let i=0;i<t.ranges.length;i++){let r=t.ranges[i],s=null;if(r.empty){let t=Hy(e,r.from,0);t!=r.from&&(s=$f.cursor(t,-1))}else{let t=Hy(e,r.from,-1),n=Hy(e,r.to,1);t==r.from&&n==r.to||(s=$f.range(r.from==r.anchor?t:n,r.from==r.head?t:n))}s&&(n||(n=t.ranges.slice()),n[i]=s)}return n?$f.create(n,t.mainIndex):t}function Fy(e,t,n){let i=Hy(e.state.facet(Kg).map(t=>t(e)),n.from,t.head>n.from?-1:1);return i==n.from?n:$f.cursor(i,i<n.from?1:-1)}class By{constructor(e,t){this.pos=e,this.assoc=t}}function $y(e,t,n,i){let r,s=e.contentDOM.getBoundingClientRect(),o=s.top+e.viewState.paddingTop,{x:a,y:l}=t,c=l-o;for(;;){if(c<0)return new By(0,1);if(c>e.viewState.docHeight)return new By(e.state.doc.length,-1);if(r=e.elementAtHeight(c),null==i)break;if(r.type==Yp.Text){let t=e.docView.coordsAt(i<0?r.from:r.to,i);if(t&&(i<0?t.top<=c+o:t.bottom>=c+o))break}let t=e.viewState.heightOracle.textHeight/2;c=i>0?r.bottom+t:r.top-t}if(e.viewport.from>=r.to||e.viewport.to<=r.from){if(n)return null;if(r.type==Yp.Text){let t=Ny(e,s,r,a,l);return new By(t,t==r.from?1:-1)}}if(r.type!=Yp.Text)return c<(r.top+r.bottom)/2?new By(r.from,1):new By(r.to,-1);let d=e.docView.lineAt(r.from,2);return d&&d.length==r.length||(d=e.docView.lineAt(r.from,-2)),Wy(e,d,r.from,a,l)}function Wy(e,t,n,i,r){let s=-1,o=null,a=1e9,l=1e9,c=r,d=r,u=(e,t)=>{for(let n=0;n<e.length;n++){let u=e[n];if(u.top==u.bottom)continue;let h=u.left>i?u.left-i:u.right<i?i-u.right:0,f=u.top>r?u.top-r:u.bottom<r?r-u.bottom:0;u.top<=d&&u.bottom>=c&&(c=Math.min(u.top,c),d=Math.max(u.bottom,d),f=0),(s<0||(f-l||h-a)<0)&&(s>=0&&l&&a<h&&o.top<=d-2&&o.bottom>=c+2?l=0:(s=t,a=h,l=f,o=u))}};if(t.isText()){for(let e=0;e<t.length;){let n=Of(t.text,e);if(u(eg(t.dom,e,n).getClientRects(),e),!a&&!l)break;e=n}return i>(o.left+o.right)/2==(Uy(e,s+n)==og.LTR)?new By(n+Of(t.text,s),-1):new By(n+s,1)}{if(!t.length)return new By(n,1);for(let e=0;e<t.children.length;e++){let n=t.children[e];if(!(48&n.flags)&&(u((1==n.dom.nodeType?n.dom:eg(n.dom,0,n.length)).getClientRects(),e),!a&&!l))break}let c=t.children[s],d=t.posBefore(c,n);return c.isComposite()||c.isText()?Wy(e,c,d,Math.max(o.left,Math.min(o.right,i)),r):i>(o.left+o.right)/2==(Uy(e,s+n)==og.LTR)?new By(d+c.length,-1):new By(d,1)}}function Uy(e,t){let n=e.state.doc.lineAt(t);return e.bidiSpans(n)[gg.find(e.bidiSpans(n),t-n.from,-1,1)].dir}const Vy="ï¿¿";class Zy{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(Im.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Vy}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let i=e;;){this.findPointBefore(n,i);let e=this.text.length;this.readNode(i);let r=ay.get(i),s=i.nextSibling;if(s==t){(null==r?void 0:r.breakAfter)&&!s&&this.lineBreak();break}let o=ay.get(s);(r&&o?r.breakAfter:(r?r.breakAfter:Wp(i))||Wp(s)&&("BR"!=i.nodeName||(null==r?void 0:r.isWidget()))&&this.text.length>e)&&!Qy(s,t)&&this.lineBreak(),i=s}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let r,s=-1,o=1;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(r=i.exec(t))&&(s=r.index,o=r[0].length),this.append(t.slice(n,s<0?t.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=o-1);n=s+o}}readNode(e){let t=ay.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(let e=n.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(qy(e,n.node,n.offset)?t:0))}}function qy(e,t,n){for(;;){if(!t||n<Vp(t))return!1;if(t==e)return!0;n=$p(t)+1,t=t.parentNode}}function Qy(e,t){let n;for(;e!=t&&e;e=e.nextSibling){let t=ay.get(e);if(!(null==t?void 0:t.isWidget()))return!1;t&&(n||(n=[])).push(t)}if(n)for(let e of n){let t=e.overrideDOMText;if(null==t?void 0:t.length)return!1}return!0}class Xy{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class Gy{constructor(e,t,n,i){this.typeOver=i,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:r,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=Ky(e.docView.tile,t,n,0))){let t=r||s?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}=e.observer.selectionRange;n&&(t.push(new Xy(n,i)),r==n&&s==i||t.push(new Xy(r,s)));return t}(e),n=new Zy(t,e.state);n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,this.newSel=function(e,t){if(0==e.length)return null;let n=e[0].pos,i=2==e.length?e[1].pos:n;return n>-1&&i>-1?$f.single(n+t,i+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,n=r&&r.node==t.focusNode&&r.offset==t.focusOffset||!Hp(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),i=s&&s.node==t.anchorNode&&s.offset==t.anchorOffset||!Hp(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),o=e.viewport;if((Tp.ios||Tp.chrome)&&e.state.selection.main.empty&&n!=i&&(o.from>0||o.to<e.state.doc.length)){let t=Math.min(n,i),r=Math.max(n,i),s=o.from-t,a=o.to-r;0!=s&&1!=s&&0!=t||0!=a&&-1!=a&&r!=e.state.doc.length||(n=0,i=e.state.doc.length)}e.inputState.composing>-1&&e.state.selection.ranges.length>1?this.newSel=e.state.selection.replaceRange($f.range(i,n)):this.newSel=$f.single(i,n)}}}function Ky(e,t,n,i){if(e.isComposite()){let r=-1,s=-1,o=-1,a=-1;for(let l=0,c=i,d=i;l<e.children.length;l++){let i=e.children[l],u=c+i.length;if(c<t&&u>n)return Ky(i,t,n,c);if(u>=t&&-1==r&&(r=l,s=c),c>n&&i.dom.parentNode==e.dom){o=l,a=d;break}d=u,c=u+i.breakAfter}return{from:s,to:a<0?i+e.length:a,startDOM:(r?e.children[r-1].dom.nextSibling:null)||e.dom.firstChild,endDOM:o<e.children.length&&o>=0?e.children[o].dom:null}}return e.isText()?{from:i,to:i+e.length,startDOM:e.dom,endDOM:e.dom.nextSibling}:null}function Jy(e,t){let n,{newSel:i}=t,r=e.state.selection.main,s=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:i,to:o}=t.bounds,a=r.from,l=null;(8===s||Tp.android&&t.text.length<o-i)&&(a=r.to,l="end");let c=t_(e.state.doc.sliceString(i,o,Vy),t.text,a-i,l);c&&(Tp.chrome&&13==s&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==Vy+Vy&&c.toB--,n={from:i+c.from,to:i+c.toA,insert:_f.of(t.text.slice(c.from,c.toB).split(Vy))})}else i&&(!e.hasFocus&&e.state.facet(Bg)||i.main.eq(r))&&(i=null);if(!n&&!i)return!1;if(!n&&t.typeOver&&!r.empty&&i&&i.main.empty?n={from:r.from,to:r.to,insert:e.state.doc.slice(r.from,r.to)}:(Tp.mac||Tp.android)&&n&&n.from==n.to&&n.from==r.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(i&&2==n.insert.length&&(i=$f.single(i.main.anchor-1,i.main.head-1)),n={from:n.from,to:n.to,insert:_f.of([n.insert.toString().replace("."," ")])}):n&&n.from>=r.from&&n.to<=r.to&&(n.from!=r.from||n.to!=r.to)&&r.to-r.from-(n.to-n.from)<=4?n={from:r.from,to:r.to,insert:e.state.doc.slice(r.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,r.to))}:e.state.doc.lineAt(r.from).to<r.to&&e.docView.lineHasWidget(r.to)&&e.inputState.insertingTextAt>Date.now()-50?n={from:r.from,to:r.to,insert:e.state.toText(e.inputState.insertingText)}:Tp.chrome&&n&&n.from==n.to&&n.from==r.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(i&&(i=$f.single(i.main.anchor-1,i.main.head-1)),n={from:r.from,to:r.to,insert:_f.of([" "])}),n)return e_(e,n,i,s);if(i&&!i.main.eq(r)){let t=!1,n="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),n=e.inputState.lastSelectionOrigin,"select.pointer"==n&&(i=jy(e.state.facet(Kg).map(t=>t(e)),i))),e.dispatch({selection:i,scrollIntoView:t,userEvent:n}),!0}return!1}function e_(e,t,n,i=-1){if(Tp.ios&&e.inputState.flushIOSKey(t))return!0;let r=e.state.selection.main;if(Tp.android&&(t.to==r.to&&(t.from==r.from||t.from==r.from-1&&" "==e.state.sliceDoc(t.from,r.from))&&1==t.insert.length&&2==t.insert.lines&&tg(e.contentDOM,"Enter",13)||(t.from==r.from-1&&t.to==r.to&&0==t.insert.length||8==i&&t.insert.length<t.to-t.from&&t.to>r.head)&&tg(e.contentDOM,"Backspace",8)||t.from==r.from&&t.to==r.to+1&&0==t.insert.length&&tg(e.contentDOM,"Delete",46)))return!0;let s,o=t.insert.toString();e.inputState.composing>
vendor: 30,913 bytes, line 2
2=0&&e.inputState.composing++;let a=()=>s||(s=function(e,t,n){let i,r=e.state,s=r.selection.main,o=-1;if(t.from==t.to&&t.from<s.from||t.from>s.to){let n=t.from<s.from?-1:1,i=n<0?s.from:s.to,a=Hy(r.facet(Kg).map(t=>t(e)),i,n);t.from==a&&(o=a)}if(o>-1)i={changes:t,selection:$f.cursor(t.from+t.insert.length,-1)};else if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let n=s.from<t.from?r.sliceDoc(s.from,t.from):"",o=s.to>t.to?r.sliceDoc(t.to,s.to):"";i=r.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+o))}else{let o=r.changes(t),a=n&&n.main.to<=o.newLength?n.main:void 0;if(r.selection.ranges.length>1&&(e.inputState.composing>=0||e.inputState.compositionPendingChange)&&t.to<=s.to+10&&t.to>=s.to-10){let l,c=e.state.sliceDoc(t.from,t.to),d=n&&Cy(e,n.main.head);if(d){let e=t.insert.length-(t.to-t.from);l={from:d.from,to:d.to-e}}else l=e.state.doc.lineAt(s.head);let u=s.to-t.to;i=r.changeByRange(n=>{if(n.from==s.from&&n.to==s.to)return{changes:o,range:a||n.map(o)};let i=n.to-u,d=i-c.length;if(e.state.sliceDoc(d,i)!=c||i>=l.from&&d<=l.to)return{range:n};let h=r.changes({from:d,to:i,insert:t.insert}),f=n.to-s.to;return{changes:h,range:a?$f.range(Math.max(0,a.anchor+f),Math.max(0,a.head+f)):n.map(h)}})}else i={changes:o,selection:a&&r.selection.replaceRange(a)}}let a="input.type";(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,a+=".compose",e.inputState.compositionFirstChange&&(a+=".start",e.inputState.compositionFirstChange=!1));return r.update(i,{userEvent:a,scrollIntoView:!0})}(e,t,n));return e.state.facet(Ag).some(n=>n(e,t.from,t.to,o,a))||e.dispatch(a()),!0}function t_(e,t,n,i){let r=Math.min(e.length,t.length),s=0;for(;s<r&&e.charCodeAt(s)==t.charCodeAt(s);)s++;if(s==r&&e.length==t.length)return null;let o=e.length,a=t.length;for(;o>0&&a>0&&e.charCodeAt(o-1)==t.charCodeAt(a-1);)o--,a--;if("end"==i){n-=o+Math.max(0,s-Math.min(o,a))-s}if(o<s&&e.length<t.length){s-=n<=s&&n>=o?s-n:0,a=s+(a-o),o=s}else if(a<s){s-=n<=s&&n>=a?s-n:0,o=s+(o-a),a=s}return{from:s,toA:o,toB:a}}class n_{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Tp.safari&&e.contentDOM.addEventListener("input",()=>null),Tp.gecko&&function(e){S_.has(e)||(S_.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}(e.contentDOM.ownerDocument)}handleEvent(e){(function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n,i=t.target;i!=e.contentDOM;i=i.parentNode)if(!i||11==i.nodeType||(n=ay.get(i))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(t))return!1;return!0})(this.view,e)&&!this.ignoreDuringComposition(e)&&("keydown"==e.type&&this.keydown(e)||(0!=this.view.updateState?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e)))}runHandlers(e,t){let n=this.handlers[e];if(n){for(let e of n.observers)e(this.view,t);for(let e of n.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=r_(e),n=this.handlers,i=this.view.contentDOM;for(let e in t)if("scroll"!=e){let r=!t[e].handlers.length,s=n[e];s&&r!=!s.handlers.length&&(i.removeEventListener(e,this.handleEvent),s=null),s||i.addEventListener(e,this.handleEvent,{passive:r})}for(let e in n)"scroll"==e||t[e]||i.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&a_.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Tp.android&&Tp.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!Tp.ios||e.synthetic||e.altKey||e.metaKey||!((t=s_.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||o_.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0)}flushIOSKey(e){let t=this.pendingIOSKey;return!!t&&(!("Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,tg(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0)))}ignoreDuringComposition(e){return!(!/^key/.test(e.type)||e.synthetic)&&(this.composing>0||!!(Tp.safari&&!Tp.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function i_(e,t){return(n,i)=>{try{return t.call(e,i,n)}catch(e){Fg(n.state,e)}}}function r_(e){let t=Object.create(null);function n(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec,i=e&&e.plugin.domEventHandlers,r=e&&e.plugin.domEventObservers;if(i)for(let e in i){let r=i[e];r&&n(e).handlers.push(i_(t.value,r))}if(r)for(let e in r){let i=r[e];i&&n(e).observers.push(i_(t.value,i))}}for(let e in d_)n(e).handlers.push(d_[e]);for(let e in u_)n(e).observers.push(u_[e]);return t}const s_=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],o_="dthko",a_=[16,17,18,20,91,92,224,225];function l_(e){return.7*Math.max(0,e)+8}class c_{constructor(e,t,n,i){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){let t,n,i=e.ownerDocument;for(let r=e.parentNode;r&&!(r==i.body||t&&n);)if(1==r.nodeType)!n&&r.scrollHeight>r.clientHeight&&(n=r),!t&&r.scrollWidth>r.clientWidth&&(t=r),r=r.assignedSlot||r.parentNode;else{if(11!=r.nodeType)break;r=r.host}return{x:t,y:n}}(e.contentDOM),this.atoms=e.state.facet(Kg).map(t=>t(e));let r=e.contentDOM.ownerDocument;r.addEventListener("mousemove",this.move=this.move.bind(this)),r.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(Im.allowMultipleSelections)&&function(e,t){let n=e.state.facet(Sg);return n.length?n[0](t):Tp.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!(!function(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let i=zp(e.root);if(!i||0==i.rangeCount)return!0;let r=i.getRangeAt(0).getClientRects();for(let e=0;e<r.length;e++){let n=r[e];if(n.left<=t.clientX&&n.right>=t.clientX&&n.top<=t.clientY&&n.bottom>=t.clientY)return!0}return!1}(e,t)||1!=v_(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&function(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,n=0,i=0,r=0,s=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:r,bottom:o}=this.scrollParents.y.getBoundingClientRect());let a=ny(this.view);e.clientX-a.left<=i+6?t=-l_(i-e.clientX):e.clientX+a.right>=s-6&&(t=l_(e.clientX-s)),e.clientY-a.top<=r+6?n=-l_(r-e.clientY):e.clientY+a.bottom>=o-6&&(n=l_(e.clientY-o)),this.setScrollSpeed(t,n)}up(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}select(e){let{view:t}=this,n=jy(this.atoms,this.style.get(e,this.extend,this.multiple));!this.mustSelect&&n.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(e=>e.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}const d_=Object.create(null),u_=Object.create(null),h_=Tp.ie&&Tp.ie_version<15||Tp.ios&&Tp.webkit_version<604;function f_(e,t,n){for(let i of e.facet(t))n=i(n,e);return n}function m_(e,t){t=f_(e.state,Eg,t);let n,{state:i}=e,r=1,s=i.toText(t),o=s.lines==i.selection.ranges.length;if(null!=k_&&i.selection.ranges.every(e=>e.empty)&&k_==s.toString()){let e=-1;n=i.changeByRange(n=>{let a=i.doc.lineAt(n.from);if(a.from==e)return{range:n};e=a.from;let l=i.toText((o?s.line(r++).text:t)+i.lineBreak);return{changes:{from:a.from,insert:l},range:$f.cursor(n.from+l.length)}})}else n=o?i.changeByRange(e=>{let t=s.line(r++);return{changes:{from:e.from,to:e.to,insert:t.text},range:$f.cursor(e.from+t.length)}}):i.replaceSelection(s);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function p_(e,t,n,i){if(1==i)return $f.cursor(t,n);if(2==i)return function(e,t,n=1){let i=e.charCategorizer(t),r=e.doc.lineAt(t),s=t-r.from;if(0==r.length)return $f.cursor(t);0==s?n=1:s==r.length&&(n=-1);let o=s,a=s;n<0?o=Of(r.text,s,!1):a=Of(r.text,s);let l=i(r.text.slice(o,a));for(;o>0;){let e=Of(r.text,o,!1);if(i(r.text.slice(e,o))!=l)break;o=e}for(;a<r.length;){let e=Of(r.text,a);if(i(r.text.slice(a,e))!=l)break;a=e}return $f.range(o+r.from,a+r.from)}(e.state,t,n);{let i=e.docView.lineAt(t,n),r=e.state.doc.lineAt(i?i.posAtEnd:t),s=i?i.posAtStart:r.from,o=i?i.posAtEnd:r.to;return o<e.state.doc.length&&o==r.to&&o++,$f.range(s,o)}}u_.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},d_.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),u_.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},u_.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},d_.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let i of e.state.facet(Og))if(n=i(e,t),n)break;if(n||0!=t.button||(n=function(e,t){let n=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),i=v_(t),r=e.state.selection;return{update(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),r=r.map(e.changes))},get(t,s,o){let a,l=e.posAndSideAtCoords({x:t.clientX,y:t.clientY},!1),c=p_(e,l.pos,l.assoc,i);if(n.pos!=l.pos&&!s){let t=p_(e,n.pos,n.assoc,i),r=Math.min(t.from,c.from),s=Math.max(t.to,c.to);c=r<c.from?$f.range(r,s):$f.range(s,r)}return s?r.replaceRange(r.main.extend(c.from,c.to)):o&&1==i&&r.ranges.length>1&&(a=function(e,t){for(let n=0;n<e.ranges.length;n++){let{from:i,to:r}=e.ranges[n];if(i<=t&&r>=t)return $f.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}(r,l.pos))?a:o?r.addRange(c):$f.create([c])}}}(e,t)),n){let i=!e.hasFocus;e.inputState.startMouseSelection(new c_(e,t,n,i)),i&&e.observer.ignore(()=>{Jp(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let r=e.inputState.mouseSelection;if(r)return r.start(t),!1===r.dragging}else e.inputState.setSelectionOrigin("select.pointer");return!1};const g_=Tp.ie&&Tp.ie_version<=11;let y_=null,__=0,b_=0;function v_(e){if(!g_)return e.detail;let t=y_,n=b_;return y_=e,b_=Date.now(),__=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(__+1)%3:1}function w_(e,t,n,i){if(!(n=f_(e.state,Eg,n)))return;let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:s}=e.inputState,o=i&&s&&function(e,t){let n=e.state.facet(xg);return n.length?n[0](t):Tp.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:s.from,to:s.to}:null,a={from:r,insert:n},l=e.state.changes(o?[o,a]:a);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(r,-1),head:l.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),e.inputState.draggedContent=null}d_.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let i=e.docView.tile.nearest(t.target);if(i&&i.isWidget()){let e=i.posAtStart,t=e+i.length;(e>=n.to||t<=n.from)&&(n=$f.range(e,t))}}let{inputState:i}=e;return i.mouseSelection&&(i.mouseSelection.dragging=!0),i.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",f_(e.state,Ig,e.state.sliceDoc(n.from,n.to))),t.dataTransfer.effectAllowed="copyMove"),!1},d_.dragend=e=>(e.inputState.draggedContent=null,!1),d_.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let i=Array(n.length),r=0,s=()=>{++r==n.length&&w_(e,t,i.filter(e=>null!=e).join(e.state.lineBreak),!1)};for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=s,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(i[e]=t.result),s()},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text");if(n)return w_(e,t,n,!0),!0}return!1},d_.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=h_?null:t.clipboardData;return n?(m_(e,n.getData("text/plain")||n.getData("text/uri-list")),!0):(function(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),m_(e,n.value)},50)}(e),!1)};let k_=null;d_.copy=d_.cut=(e,t)=>{let{text:n,ranges:i,linewise:r}=function(e){let t=[],n=[],i=!1;for(let i of e.selection.ranges)i.empty||(t.push(e.sliceDoc(i.from,i.to)),n.push(i));if(!t.length){let r=-1;for(let{from:i}of e.selection.ranges){let s=e.doc.lineAt(i);s.number>r&&(t.push(s.text),n.push({from:s.from,to:Math.min(e.doc.length,s.to+1)})),r=s.number}i=!0}return{text:f_(e,Ig,t.join(e.lineBreak)),ranges:n,linewise:i}}(e.state);if(!n&&!r)return!1;k_=r?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let s=h_?null:t.clipboardData;return s?(s.clearData(),s.setData("text/plain",n),!0):(function(e,t){let n=e.dom.parentNode;if(!n)return;let i=n.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=t,i.focus(),i.selectionEnd=t.length,i.selectionStart=0,setTimeout(()=>{i.remove(),e.focus()},50)}(e,n),!1)};const T_=bm.define();function M_(e,t){let n=[];for(let i of e.facet(Cg)){let r=i(e,t);r&&n.push(r)}return n.length?e.update({effects:n,annotations:T_.of(!0)}):null}function L_(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=M_(e.state,t);n?e.dispatch(n):e.update([])}},10)}u_.focus=e=>{e.inputState.lastFocusTime=Date.now(),e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),L_(e)},u_.blur=e=>{e.observer.clearSelectionRange(),L_(e)},u_.compositionstart=u_.compositionupdate=e=>{e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},u_.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,Tp.chrome&&Tp.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},u_.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},d_.beforeinput=(e,t)=>{var n,i;if("insertText"!=t.inputType&&"insertCompositionText"!=t.inputType||(e.inputState.insertingText=t.data,e.inputState.insertingTextAt=Date.now()),"insertReplacementText"==t.inputType&&e.observer.editContext){let i=null===(n=t.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),r=t.getTargetRanges();if(i&&r.length){let t=r[0],n=e.posAtDOM(t.startContainer,t.startOffset),s=e.posAtDOM(t.endContainer,t.endOffset);return e_(e,{from:n,to:s,insert:e.state.toText(i)},null),!0}}let r;if(Tp.chrome&&Tp.android&&(r=s_.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(r.key,r.keyCode),"Backspace"==r.key||"Delete"==r.key)){let t=(null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0;setTimeout(()=>{var n;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return Tp.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),Tp.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>u_.compositionend(e,t),20),!1};const S_=new Set;const x_=["pre-wrap","normal","pre-line","break-spaces"];let O_=!1;function D_(){O_=!1}class Y_{constructor(e){this.lineWrapping=e,this.doc=_f.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){if(!this.lineWrapping)return this.lineHeight;return(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return x_.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let i=e[n];i<0?n++:this.heightSamples[Math.floor(10*i)]||(t=!0,this.heightSamples[Math.floor(10*i)]=!0)}return t}refresh(e,t,n,i,r,s){let o=x_.indexOf(e)>-1,a=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.textHeight=i,this.lineLength=r,a){this.heightSamples={};for(let e=0;e<s.length;e++){let t=s[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return a}}class A_{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class C_{constructor(e,t,n,i,r){this.from=e,this.length=t,this.top=n,this.height=i,this._content=r}get type(){return"number"==typeof this._content?Yp.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Ip?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new C_(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var E_=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(E_||(E_={}));const I_=.001;class P_{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>I_&&(O_=!0),this.height=e)}replace(e,t,n){return P_.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,i){let r=this,s=n.doc;for(let o=i.length-1;o>=0;o--){let{fromA:a,toA:l,fromB:c,toB:d}=i[o],u=r.lineAt(a,E_.ByPosNoHeight,n.setDoc(t),0,0),h=u.to>=l?u:r.lineAt(l,E_.ByPosNoHeight,n,0,0);for(d+=h.to-l,l=h.to;o>0&&u.from<=i[o-1].toA;)a=i[o-1].fromA,c=i[o-1].fromB,o--,a<u.from&&(u=r.lineAt(a,E_.ByPosNoHeight,n,0,0));c+=u.from-a,a=u.from;let f=$_.build(n.setDoc(s),e,c,d);r=N_(r,r.replace(a,l,f))}return r.updateHeight(n,0)}static empty(){return new H_(0,0,0)}static of(e){if(1==e.length)return e[0];let t=0,n=e.length,i=0,r=0;for(;;)if(t==n)if(i>2*r){let r=e[t-1];r.break?e.splice(--t,1,r.left,null,r.right):e.splice(--t,1,r.left,r.right),n+=1+r.break,i-=r.size}else{if(!(r>2*i))break;{let t=e[n];t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),n+=2+t.break,r-=t.size}}else if(i<r){let n=e[t++];n&&(i+=n.size)}else{let t=e[--n];t&&(r+=t.size)}let s=0;return null==e[t-1]?(s=1,t--):null==e[t]&&(s=1,n++),new F_(P_.of(e.slice(0,t)),s,P_.of(e.slice(n)))}}function N_(e,t){return e==t?e:(e.constructor!=t.constructor&&(O_=!0),t)}P_.prototype.size=1;const R_=Ap.replace({});class z_ extends P_{constructor(e,t,n){super(e,t),this.deco=n,this.spaceAbove=0}mainBlock(e,t){return new C_(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.deco||0)}blockAt(e,t,n,i){return this.spaceAbove&&e<n+this.spaceAbove?new C_(i,0,n,this.spaceAbove,R_):this.mainBlock(n,i)}lineAt(e,t,n,i,r){let s=this.mainBlock(i,r);return this.spaceAbove?this.blockAt(0,n,i,r).join(s):s}forEachLine(e,t,n,i,r,s){e<=r+this.length&&t>=r&&s(this.lineAt(0,E_.ByPos,n,i,r))}setMeasuredHeight(e){let t=e.heights[e.index++];t<0?(this.spaceAbove=-t,t=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(t)}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more&&this.setMeasuredHeight(i),this.outdated=!1,this}toString(){return`block(${this.length})`}}class H_ extends z_{constructor(e,t,n){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,t){return new C_(t,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,t,n){let i=n[0];return 1==n.length&&(i instanceof H_||i instanceof j_&&4&i.flags)&&Math.abs(this.length-i.length)<10?(i instanceof j_?i=new H_(i.length,this.height,this.spaceAbove):i.height=this.height,this.outdated||(i.outdated=!1),i):P_.of(n)}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more?this.setMeasuredHeight(i):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class j_ extends P_{constructor(e){super(e,0)}heightMetrics(e,t){let n,i=e.doc.lineAt(t).number,r=e.doc.lineAt(t+this.length).number,s=r-i+1,o=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*s);n=t/s,this.length>s+1&&(o=(this.height-t)/(this.length-s-1))}else n=this.height/s;return{firstLine:i,lastLine:r,perLine:n,perChar:o}}blockAt(e,t,n,i){let{firstLine:r,lastLine:s,perLine:o,perChar:a}=this.heightMetrics(t,i);if(t.lineWrapping){let r=i+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),s=t.doc.lineAt(r),l=o+s.length*a,c=Math.max(n,e-l/2);return new C_(s.from,s.length,c,l,0)}{let i=Math.max(0,Math.min(s-r,Math.floor((e-n)/o))),{from:a,length:l}=t.doc.line(r+i);return new C_(a,l,n+o*i,o,0)}}lineAt(e,t,n,i,r){if(t==E_.ByHeight)return this.blockAt(e,n,i,r);if(t==E_.ByPosNoHeight){let{from:t,to:i}=n.doc.lineAt(e);return new C_(t,i-t,0,0,0)}let{firstLine:s,perLine:o,perChar:a}=this.heightMetrics(n,r),l=n.doc.lineAt(e),c=o+l.length*a,d=l.number-s,u=i+o*d+a*(l.from-r-d);return new C_(l.from,l.length,Math.max(i,Math.min(u,i+this.height-c)),c,0)}forEachLine(e,t,n,i,r,s){e=Math.max(e,r),t=Math.min(t,r+this.length);let{firstLine:o,perLine:a,perChar:l}=this.heightMetrics(n,r);for(let c=e,d=i;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-o;d+=a*n+l*(e-r-n)}let i=a+l*t.length;s(new C_(t.from,t.length,d,i,0)),d+=i,c=t.to+1}}replace(e,t,n){let i=this.length-t;if(i>0){let e=n[n.length-1];e instanceof j_?n[n.length-1]=new j_(e.length+i):n.push(null,new j_(i-1))}if(e>0){let t=n[0];t instanceof j_?n[0]=new j_(e+t.length):n.unshift(new j_(e-1),null)}return P_.of(n)}decomposeLeft(e,t){t.push(new j_(e-1),null)}decomposeRight(e,t){t.push(null,new j_(this.length-e-1))}updateHeight(e,t=0,n=!1,i){let r=t+this.length;if(i&&i.from<=t+this.length&&i.more){let n=[],s=Math.max(t,i.from),o=-1;for(i.from>t&&n.push(new j_(i.from-t-1).updateHeight(e,t));s<=r&&i.more;){let t=e.doc.lineAt(s).length;n.length&&n.push(null);let r=i.heights[i.index++],a=0;r<0&&(a=-r,r=i.heights[i.index++]),-1==o?o=r:Math.abs(r-o)>=I_&&(o=-2);let l=new H_(t,r,a);l.outdated=!1,n.push(l),s+=t+1}s<=r&&n.push(null,new j_(r-s).updateHeight(e,s));let a=P_.of(n);return(o<0||Math.abs(a.height-this.height)>=I_||Math.abs(o-this.heightMetrics(e,t).perLine)>=I_)&&(O_=!0),N_(this,a)}return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class F_ extends P_{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags}blockAt(e,t,n,i){let r=n+this.left.height;return e<r?this.left.blockAt(e,t,n,i):this.right.blockAt(e,t,r,i+this.left.length+this.break)}lineAt(e,t,n,i,r){let s=i+this.left.height,o=r+this.left.length+this.break,a=t==E_.ByHeight?e<s:e<o,l=a?this.left.lineAt(e,t,n,i,r):this.right.lineAt(e,t,n,s,o);if(this.break||(a?l.to<o:l.from>o))return l;let c=t==E_.ByPosNoHeight?E_.ByPosNoHeight:E_.ByPos;return a?l.join(this.right.lineAt(o,c,n,s,o)):this.left.lineAt(o,c,n,i,r).join(l)}forEachLine(e,t,n,i,r,s){let o=i+this.left.height,a=r+this.left.length+this.break;if(this.break)e<a&&this.left.forEachLine(e,t,n,i,r,s),t>=a&&this.right.forEachLine(e,t,n,o,a,s);else{let l=this.lineAt(a,E_.ByPos,n,i,r);e<l.from&&this.left.forEachLine(e,l.from-1,n,i,r,s),l.to>=e&&l.from<=t&&s(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,o,a,s)}}replace(e,t,n){let i=this.left.length+this.break;if(t<i)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-i,t-i,n));let r=[];e>0&&this.decomposeLeft(e,r);let s=r.length;for(let e of n)r.push(e);if(e>0&&B_(r,s-1),t<this.length){let e=r.length;this.decomposeRight(t,r),B_(r,e)}return P_.of(r)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,i=n+this.break;if(e>=i)return this.right.decomposeRight(e-i,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<i&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?P_.of(this.break?[e,null,t]:[e,t]):(this.left=N_(this.left,e),this.right=N_(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,i){let{left:r,right:s}=this,o=t+r.length+this.break,a=null;return i&&i.from<=t+r.length&&i.more?a=r=r.updateHeight(e,t,n,i):r.updateHeight(e,t,n),i&&i.from<=o+s.length&&i.more?a=s=s.updateHeight(e,o,n,i):s.updateHeight(e,o,n),a?this.balanced(r,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function B_(e,t){let n,i;null==e[t]&&(n=e[t-1])instanceof j_&&(i=e[t+1])instanceof j_&&e.splice(t-1,3,new j_(n.length+1+i.length))}class $_{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof H_?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new H_(e-this.pos,-1,0)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let i=n.widget?n.widget.estimatedHeight:0,r=n.widget?n.widget.lineBreaks:0;i<0&&(i=this.oracle.lineHeight);let s=t-e;n.block?this.addBlock(new z_(s,i,n)):(s||r||i>=5)&&this.addLineDeco(i,r,s)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new H_(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,t){let n=new j_(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof H_)return e;let t=new H_(0,-1,0);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof H_||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new H_(0,-1,0));let n=e;for(let e of this.nodes)e instanceof H_&&e.updateHeight(this.oracle,n),n+=e?e.length:1;return this.nodes}static build(e,t,n,i){let r=new $_(n,e);return jm.spans(t,n,i,r,0),r.finish(n)}}class W_{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,i){(e<t||n&&n.heightRelevant||i&&i.heightRelevant)&&Np(e,t,this.changes,5)}}function U_(e,t){let n=e.getBoundingClientRect(),i=e.ownerDocument,r=i.defaultView||window,s=Math.max(0,n.left),o=Math.min(r.innerWidth,n.right),a=Math.max(0,n.top),l=Math.min(r.innerHe
vendor: 4,378 bytes, line 2
2ight,n.bottom);for(let t=e.parentNode;t&&t!=i.body;)if(1==t.nodeType){let n=t,i=window.getComputedStyle(n);if((n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)&&"visible"!=i.overflow){let i=n.getBoundingClientRect();s=Math.max(s,i.left),o=Math.min(o,i.right),a=Math.max(a,i.top),l=Math.min(t==e.parentNode?r.innerHeight:l,i.bottom)}t="absolute"==i.position||"fixed"==i.position?n.offsetParent:n.parentNode}else{if(11!=t.nodeType)break;t=t.host}return{left:s-n.left,right:Math.max(s,o)-n.left,top:a-(n.top+t),bottom:Math.max(a,l)-(n.top+t)}}function V_(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class Z_{constructor(e,t,n,i){this.from=e,this.to=t,this.size=n,this.displaySize=i}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],r=t[n];if(i.from!=r.from||i.to!=r.to||i.size!=r.size)return!1}return!0}draw(e,t){return Ap.replace({widget:new q_(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class q_ extends Dp{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class Q_{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=J_,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=og.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(qg).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new Y_(t),this.stateDeco=e.facet(Qg).filter(e=>"function"!=typeof e),this.heightMap=P_.empty().applyChanges(this.stateDeco,_f.empty,this.heightOracle.setDoc(e.doc),[new ry(0,0,0,e.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ap.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let i=n?t.head:t.anchor;if(!e.some(({from:e,to:t})=>i>=e&&i<=t)){let{from:t,to:n}=this.lineBlockAt(i);e.push(new X_(t,n))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?J_:new eb(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(tb(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(Qg).filter(e=>"function"!=typeof e);let i=e.changedRanges,r=ry.extendWithRanges(i,function(e,t,n){let i=new W_;return jm.compare(e,t,n,i,0),i.changes}(n,this.stateDeco,e?e.changes:Pf.empty(this.state.doc.length))),s=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);D_(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),r),(this.heightMap.height!=s||O_)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=s);let a=r.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<a.from||t.range.head>a.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t));let l=a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,e.flags|=this.updateForViewport(),(l||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),t&&(this.scrollTarget=t),!this.mustEnfor
vendor: 1,382 bytes, line 2
2ceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Ng)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),i=this.heightOracle,r=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?og.RTL:og.LTR;let s=this.heightOracle.mustRefreshForWrapping(r),o=t.getBoundingClientRect(),a=s||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let l=0,c=0;if(o.width&&o.height){let{scaleX:e,scaleY:n}=Qp(t,o);(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,this.scaleY=n,l|=16,s=a=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,u=(parseInt(n.paddingBottom)||0)*this.scaleY;this.paddingTop==d&&this.paddingBottom==u||(this.paddingTop=d,this.paddingBottom=u,l|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=16);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=ng(e.scrollDOM);let f=(this.printing?V_:U_)(t,this.paddingTop),m=f.top-this.pixelViewport.top,p=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;
vendor: 9,466 bytes, line 2
2if(g!=this.inView&&(this.inView=g,g&&(a=!0)),!this.inView&&!this.scrollTarget&&!function(e){let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView||window;return t.left<n.innerWidth&&t.right>0&&t.top<n.innerHeight&&t.bottom>0}(e.dom))return 0;let y=o.width;if(this.contentDOMWidth==y&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,l|=16),a){let t=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(t)&&(s=!0),s||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:n,charWidth:o,textHeight:a}=e.docView.measureTextSize();s=n>0&&i.refresh(r,n,o,a,Math.max(5,y/o),t),s&&(e.docView.minWidth=0,l|=16)}m>0&&p>0?c=Math.max(m,p):m<0&&p<0&&(c=Math.min(m,p)),D_();for(let n of this.viewports){let r=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n);this.heightMap=(s?P_.empty().applyChanges(this.stateDeco,_f.empty,this.heightOracle,[new ry(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,s,new A_(n.from,r))}O_&&(l|=2)}let _=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return _&&(2&l&&(l|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),l|=this.updateForViewport()),(2&l||_)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,r=this.heightOracle,{visibleTop:s,visibleBottom:o}=this,a=new X_(i.lineAt(s-1e3*n,E_.ByHeight,r,0,0).from,i.lineAt(o+1e3*(1-n),E_.ByHeight,r,0,0).to);if(t){let{head:e}=t.range;if(e<a.from||e>a.to){let n,s=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),o=i.lineAt(e,E_.ByPos,r,0,0);n="center"==t.y?(o.top+o.bottom)/2-s/2:"start"==t.y||"nearest"==t.y&&e<a.from?o.top:o.bottom-s,a=new X_(i.lineAt(n-500,E_.ByHeight,r,0,0).from,i.lineAt(n+s+500,E_.ByHeight,r,0,0).to)}}return a}mapViewport(e,t){let n=t.mapPos(e.from,-1),i=t.mapPos(e.to,1);return new X_(this.heightMap.lineAt(n,E_.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(i,E_.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(e,E_.ByPos,this.heightOracle,0,0),{bottom:r}=this.heightMap.lineAt(t,E_.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:o}=this;return(0==e||i<=s-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||r>=o+Math.max(10,Math.min(n,250)))&&i>s-2e3&&r<o+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let i of e)t.touchesRange(i.from,i.to)||n.push(new Z_(t.mapPos(i.from),t.mapPos(i.to),i.size,i.displaySize));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,i=n?1e4:2e3,r=i>>1,s=i<<1;if(this.defaultTextDirection!=og.LTR&&!n)return[];let o=[],a=(i,s,l,c)=>{if(s-i<r)return;let d=this.state.selection.main,u=[d.from];d.empty||u.push(d.to);for(let e of u)if(e>i&&e<s)return a(i,e-10,l,c),void a(e+10,s,l,c);let h=function(e,t){for(let n of e)if(t(n))return n;return}(e,e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-i)<r&&Math.abs(e.to-s)<r&&!u.some(t=>e.from<t&&e.to>t));if(!h){if(s<l.to&&t&&n&&t.visibleRanges.some(e=>e.from<=s&&e.to>=s)){let e=t.moveToLineBoundary($f.cursor(s),!1,!0).head;e>i&&(s=e)}let e=this.gapSize(l,i,s,c);h=new Z_(i,s,e,n||e<2e6?e:2e6)}o.push(h)},l=t=>{if(t.length<s||t.type!=Yp.Text)return;let r=function(e,t,n){let i=[],r=e,s=0;jm.spans(n,e,t,{span(){},point(e,t){e>r&&(i.push({from:r,to:e}),s+=e-r),r=t}},20),r<t&&(i.push({from:r,to:t}),s+=t-r);return{total:s,ranges:i}}(t.from,t.to,this.stateDeco);if(r.total<s)return;let o,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(n){let e,n,s=i/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=c){let i=K_(r,c),o=((this.visibleBottom-this.visibleTop)/2+s)/t.height;e=i-o,n=i+o}else e=(this.visibleTop-t.top-s)/t.height,n=(this.visibleBottom-t.top+s)/t.height;o=G_(r,e),l=G_(r,n)}else{let n=r.total*this.heightOracle.charWidth,s=i*this.heightOracle.charWidth,a=0;if(n>2e6)for(let n of e)n.from>=t.from&&n.from<t.to&&n.size!=n.displaySize&&n.from*this.heightOracle.charWidth+a<this.pixelViewport.left&&(a=n.size-n.displaySize);let d,u,h=this.pixelViewport.left+a,f=this.pixelViewport.right+a;if(null!=c){let e=K_(r,c),t=((f-h)/2+s)/n;d=e-t,u=e+t}else d=(h-s)/n,u=(f+s)/n;o=G_(r,d),l=G_(r,u)}o>t.from&&a(t.from,o,t,r),l<t.to&&a(l,t.to,t,r)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(l):l(e);return o}gapSize(e,t,n,i){let r=K_(i,n)-K_(i,t);return this.heightOracle.lineWrapping?e.height*r:i.total*this.heightOracle.charWidth*r}updateLineGaps(e){Z_.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Ap.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];jm.spans(t,this.viewport.from,this.viewport.to,{span(e,t){n.push({from:e,to:t})},point(){}},20);let i=0;if(n.length!=this.visibleRanges.length)i=12;else for(let t=0;t<n.length&&!(8&i);t++){let r=this.visibleRanges[t],s=n[t];r.from==s.from&&r.to==s.to||(i|=4,e&&e.mapPos(r.from,-1)==s.from&&e.mapPos(r.to,1)==s.to||(i|=8))}return this.visibleRanges=n,i}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||tb(this.heightMap.lineAt(e,E_.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||tb(this.heightMap.lineAt(this.scaler.fromDOM(e),E_.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return tb(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class X_{constructor(e,t){this.from=e,this.to=t}}function G_({total:e,ranges:t},n){if(n<=0)return t[0].from;if(n>=1)return t[t.length-1].to;let i=Math.floor(e*n);for(let e=0;;e++){let{from:n,to:r}=t[e],s=r-n;if(i<=s)return n+i;i-=s}}function K_(e,t){let n=0;for(let{from:i,to:r}of e.ranges){if(t<=r){n+=t-i;break}n+=r-i}return n/e.total}const J_={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};class eb{constructor(e,t,n){let i=0,r=0,s=0;this.viewports=n.map(({from:n,to:r})=>{let s=t.lineAt(n,E_.ByPos,e,0,0).top,o=t.lineAt(r,E_.ByPos,e,0,0).bottom;return i+=o-s,{from:n,to:r,top:s,bottom:o,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(t.height-i);for(let e of this.viewports)e.domTop=s+(e.top-r)*this.scale,s=e.domBottom=e.domTop+(e.bottom-e.top),r=e.bottom}toDOM(e){for(let t=0,n=0,i=0;;t++){let r=t<this.viewports.length?this.viewports[t]:null;if(!r||e<r.top)return i+(e-n)*this.scale;if(e<=r.bottom)return r.domTop+(e-r.top);n=r.bottom,i=r.domBottom}}fromDOM(e){for(let t=0,n=0,i=0;;t++){let r=t<this.viewports.length?this.viewports[t]:null;if(!r||e<r.domTop)return n+(e-i)/this.scale;if(e<=r.domBottom)return r.top+(e-r.domTop);n=r.bottom,i=r.domBottom}}eq(e){return e instanceof eb&&(this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to))}}function tb(e,t){if(1==t.scale)return e;let n=t.toDOM(e.top),i=t.toDOM(e.bottom);return new C_(e.from,e.length,n,i-n,Array.isArray(e._content)?e._content.map(e=>tb(e,t)):e._content)}const nb=Vf.define({combine:e=>e.join(" ")}),ib=Vf.define({combine:e=>e.indexOf(!0)>-1}),rb=np.newName(),sb=np.newName(),ob=np.newName(),ab={"&light":"."+sb,"&dark":"."+ob};function lb(e,t,n){return new np(t,{finish(t){return/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]}):e+" "+t}})}const cb=lb("."+rb,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"}
vendor: 4,617 bytes, line 2
2,"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},ab),db={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ub=Tp.ie&&Tp.ie_version<=11;class hb{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Xp,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(Tp.ie&&Tp.ie_version<=11||Tp.ios&&e.composing)&&t.some(e=>
vendor: 6,525 bytes, line 2
2"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),!window.EditContext||!Tp.android||!1===e.constructor.EDIT_CONTEXT||Tp.chrome&&Tp.chrome_version<126||(this.editContext=new pb(e),e.state.facet(Bg)&&(e.contentDOM.editContext=this.editContext.editContext)),ub&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{var e;(null===(e=this.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){("change"!=e.type&&e.type||e.matches)&&(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(Bg)?n.root.activeElement!=this.dom:!jp(this.dom,i))return;let r=i.anchorNode&&n.docView.tile.nearest(i.anchorNode);r&&r.isWidget()&&r.widget.ignoreEvent(e)?t||(this.selectionChanged=!1):(Tp.ie&&Tp.ie_version<=11||Tp.android&&Tp.chrome)&&!n.state.selection.main.empty&&i.focusNode&&Bp(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=zp(e.root);if(!t)return!1;let n=Tp.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return mb(e,n)}let n=null;function i(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",i,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",i,!0),n?mb(e,n):null}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let i=jp(this.dom,n);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let n=t.focusNode,i=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=i)return!1;for(i=Math.min(i,Vp(n));;)if(i){if(1!=n.nodeType)return!1;let e=n.childNodes[i-1];"false"==e.contentEditable?i--:(n=e,i=Vp(n))}else{if(n==e)return!0;i=$p(n),n=n.parentNode}}(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),i&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,db),ub&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),ub&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;if(e){this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&tg(this.dom,e.key,e.keyCode)}};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,i=!1;for(let r of e){let e=this.readMutation(r);e&&(e.typeOver&&(i=!0),-1==t?({from:t,to:n}=e):(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{from:t,to:n,typeOver:i}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),i=this.selectionChanged&&jp(this.dom,this.selectionRange);
vendor: 9,290 bytes, line 2
2if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let r=new Gy(this.view,e,t,n);return this.view.docView.domChanged={newSel:r.newSel?r.newSel.main:null},r}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let n=this.view.state,i=Jy(this.view,t);return this.view.state==n&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(e){let t=this.view.docView.tile.nearest(e.target);if(!t||t.isWidget())return null;if(t.markDirty("attributes"==e.type),"childList"==e.type){let n=fb(t,e.previousSibling||e.target.previousSibling,-1),i=fb(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:i?t.posBefore(i):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(Bg)!=e.state.facet(Bg)&&(e.view.contentDOM.editContext=e.state.facet(Bg)?this.editContext.editContext:null))}destroy(){var e,t,n;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(n=this.resizeScroll)||void 0===n||n.disconnect();for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function fb(e,t,n){for(;t;){let i=ay.get(t);if(i&&i.parent==e)return i;let r=t.parentNode;t=r!=e.dom?r:n>0?t.nextSibling:t.previousSibling}return null}function mb(e,t){let n=t.startContainer,i=t.startOffset,r=t.endContainer,s=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor,1);return Bp(o.node,o.offset,r,s)&&([n,i,r,s]=[r,s,n,i]),{anchorNode:n,anchorOffset:i,focusNode:r,focusOffset:s}}class pb{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let i=e.state.selection.main,{anchor:r,head:s}=i,o=this.toEditorPos(n.updateRangeStart),a=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:o,drifted:!1});let l=a-o>n.text.length;o==this.from&&r<this.from?o=r:a==this.to&&r>this.to&&(a=r);let c=t_(e.state.sliceDoc(o,a),n.text,(l?i.from:i.to)-o,l?"end":null);if(!c){let t=$f.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));return void(t.main.eq(i)||e.dispatch({selection:t,userEvent:"select"}))}let d={from:c.from+o,to:c.toA+o,insert:_f.of(n.text.slice(c.from,c.toB).split("\n"))};if((Tp.mac||Tp.android)&&d.from==s-1&&/^\. ?$/.test(n.text)&&"off"==e.contentDOM.getAttribute("autocorrect")&&(d={from:o,to:a,insert:_f.of([n.text.replace("."," ")])}),this.pendingContextChange=d,!e.state.readOnly){let t=this.to-this.from+(d.to-d.from+d.insert.length);e_(e,d,$f.single(this.toEditorPos(n.selectionStart,t),this.toEditorPos(n.selectionEnd,t)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),d.from<d.to&&!d.insert.length&&e.inputState.composing>=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(t.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(t.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let i=[],r=null;for(let t=this.toEditorPos(n.rangeStart),s=this.toEditorPos(n.rangeEnd);t<s;t++){let n=e.coordsForChar(t);r=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||r||new DOMRect,i.push(r)}t.updateCharacterBounds(n.rangeStart,i)},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,i=e.underlineThickness;if(!/none/i.test(t)&&!/none/i.test(i)){let r=this.toEditorPos(e.rangeStart),s=this.toEditorPos(e.rangeEnd);if(r<s){let e=`text-decoration: underline ${/^[a-z]/.test(t)?t+" ":"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${/thin/i.test(i)?1:2}px`;n.push(Ap.mark({attributes:{style:e}}).range(r,s))}}}e.dispatch({effects:jg.of(Ap.set(n))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}};for(let e in this.handlers)t.addEventListener(e,this.handlers[e]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=zp(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,n=!1,i=this.pendingContextChange;return e.changes.iterChanges((r,s,o,a,l)=>{if(n)return;let c=l.length-(s-r);if(i&&s>=i.to){if(i.from==r&&i.to==s&&i.insert.eq(l))return i=this.pendingContextChange=null,t+=c,void(this.to+=c);i=null,this.revertPending(e.state)}if(r+=t,(s+=t)<=this.from)this.from+=c,this.to+=c;else if(r<this.to){if(r<this.from||s>this.to||this.to-this.from+l.length>3e4)return void(n=!0);this.editContext.updateText(this.toContextPos(r),this.toContextPos(s),l.toString()),this.to+=c}t+=c}),i&&!n&&this.revertPending(e.state),!n}update(e){let t=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),i=this.toContextPos(t.head);this.editContext.selectionStart==n&&this.editContext.selectionEnd==i||this.editContext.updateSelection(n,i)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class gb{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var t;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="
2cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach(e=>n(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new Q_(e.state||Im.create(e)),e.scrollTo&&e.scrollTo.is(Hg)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Wg).map(e=>new Vg(e));for(let e of this.plugins)e.update(this);this.observer=new hb(this),this.inputState=new n_(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Yy(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),(null===(t=document.fonts)||void 0===t?void 0:t.ready)&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let t=1==e.length&&e[0]instanceof Tm?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t,n=!1,i=!1,r=this.state;for(let t of e){if(t.startState!=r)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=t.state}if(this.destroyed)return void(this.viewState.state=r);let s=this.hasFocus,o=0,a=null;e.some(e=>e.annotation(T_))?(this.inputState.notifiedFocused=s,o=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,a=M_(r,s),a||(o=1));let l=this.observer.delayedAndroidKey,c=null;if(l?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(c=null)):this.observer.clear(),r.facet(Im.phrases)!=this.state.facet(Im.phrases))return this.setState(r);t=sy.create(this,r,e),t.flags|=o;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(d&&(d=d.map(t.changes)),t.scrollIntoView){let{main:e}=t.state.selection;d=new zg(e.empty?e:$f.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(Hg)&&(d=e.value.clip(this.state))}this.viewState.update(t,d),this.bidiCache=bb.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),n=this.docView.update(t),this.state.facet(iy)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(t.startState.facet(nb)!=t.state.facet(nb)&&(this.viewState.mustMeasureContent=!0),(n||i||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!t.empty)for(let e of this.state.facet(Yg))try{e(t)}catch(e){Fg(this.state,e,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!Jy(this,c)&&l.force&&tg(this.contentDOM,l.key,l.keyCode)})}setState(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new Q_(e),this.plugins=e.facet(Wg).map(e=>new Vg(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new Yy(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Wg),n=e.state.facet(Wg);if(t!=n){let i=[];for(let r of n){let n=t.indexOf(r);if(n<0)i.push(new Vg(r));else{let t=this.plugins[n];t.mustUpdate=e,i.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this);t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(e){Fg(this.state,e,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,i=n.scrollTop*this.scaleY,{scrollAnchorPos:r,scrollAnchorHeight:s}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(s<0)if(ng(n))r=-1,s=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(i);r=e.from,s=e.top}this.updateState=1;let o=this.viewState.measure(this);if(!o&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(e>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let a=[];4&o||([this.measureRequests,a]=[a,this.measureRequests]);let l=a.map(e=>{try{return e.read(this)}catch(e){return Fg(this.state,e),_b}}),c=sy.create(this,this.state,[]),d=!1;c.flags|=o,t?t.flags|=o:t=c,this.updateState=2,c.empty||(this.updatePlugins(c),this.inputState.update(c),this.updateAttrs(),d=this.docView.update(c),d&&this.docViewUpdate());for(let e=0;e<a.length;e++)if(l[e]!=_b)try{let t=a[e];t.write&&t.write(l[e],this)}catch(e){Fg(this.state,e)}if(d&&this.docView.updateSelection(!0),!c.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}{let e=(r<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(r).top)-s;
vendor: 7,774 bytes, line 2
2if(e>1||e<-1){i+=e,n.scrollTop=i/this.scaleY,s=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(Yg))e(t)}get themeClasses(){return rb+" "+(this.state.facet(ib)?ob:sb)+" "+this.state.facet(nb)}updateAttrs(){let e=vb(this,Zg,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Bg)?"true":"false",class:"cm-content",style:`${Tp.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),vb(this,qg,t);let n=this.observer.ignore(()=>{let n=xp(this.contentDOM,this.contentAttrs,t),i=xp(this.dom,this.editorAttrs,e);return n||i});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let e of n.effects)if(e.is(gb.announce)){t&&(this.announceDOM.textContent=""),t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value}}mountStyles(){this.styleModules=this.state.facet(iy);let e=this.state.facet(gb.cspNonce);np.mount(this.root,this.styleModules.concat(cb).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.plugin!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.plugin==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Fy(this,e,zy(this,e,t,n))}moveByGroup(e,t){return Fy(this,e,zy(this,e,t,t=>function(e,t,n){let i=e.state.charCategorizer(t),r=i(n);return e=>{let t=i(e);return r==Ym.Space&&(r=t),r==t}}(this,e.head,t)))}visualLineSide(e,t){let n=this.bidiSpans(e),i=this.textDirectionAt(e.from),r=n[t?n.length-1:0];return $f.cursor(r.side(t,i)+e.from,r.forward(!t,i)?1:-1)}moveToLineBoundary(e,t,n=!0){return function(e,t,n,i){let r=Ry(e,t.head,t.assoc||-1),s=i&&r.type==Yp.Text&&(e.lineWrapping||r.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>r.from?t.head-1:t.head):null;if(s){let t=e.dom.getBoundingClientRect(),i=e.textDirectionAt(r.from),o=e.posAtCoords({x:n==(i==og.LTR)?t.right-1:t.left+1,y:(s.top+s.bottom)/2});if(null!=o)return $f.cursor(o,n?-1:1)}return $f.cursor(n?r.to:r.from,n?-1:1)}(this,e,t,n)}moveVertically(e,t,n){return Fy(this,e,function(e,t,n,i){let r=t.head,s=n?1:-1;if(r==(n?e.state.doc.length:0))return $f.cursor(r,t.assoc);let o,a=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(r,t.assoc||-1),d=e.documentTop;if(c)null==a&&(a=c.left-l.left),o=s<0?c.top:c.bottom;else{let t=e.viewState.lineBlockAt(r);null==a&&(a=Math.min(l.right-l.left,e.defaultCharacterWidth*(r-t.from))),o=(s<0?t.top:t.bottom)+d}let u=l.left+a,h=null!=i?i:e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let n=$y(e,{x:u,y:o+(h+t)*s},!1,s);return $f.cursor(n.pos,n.assoc,void 0,a)}}(this,e,t,n))}domAtPos(e,t=1){return this.docView.domAtPos(e,t)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){this.readMeasured();let n=$y(this,e,t);return n&&n.pos}posAndSideAtCoords(e,t=!0){return this.readMeasured(),$y(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),r=this.bidiSpans(i);return Zp(n,r[gg.find(r,e-i.from,-1,t)].dir==og.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Pg)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>yb)return kg(e.length);let t,n=this.textDirectionAt(e.from);for(let i of this.bidiCache)if(i.from==e.from&&i.dir==n&&(i.fresh||yg(i.isolates,t=ey(this,e))))return i.order;t||(t=ey(this,e));let i=wg(e.text,n,t);return this.bidiCache.push(new bb(e.from,e.to,n,t,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Tp.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Jp(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return Hg.of(new zg("number"==typeof e?$f.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return Hg.of(new zg($f.cursor(n.from),"start","start",n.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Ug.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Ug.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=np.newName(),i=[nb.of(n),iy.of(lb(`.${n}`,e))];return t&&t.dark&&i.push(ib.of(!0)),i}static baseTheme(e){return sm.lowest(iy.of(lb("."+rb,e,ab)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),i=n&&ay.get(n)||ay.get(e);return(null===(t=null==i?void 0:i.root)||void 0===t?void 0:t.view)||null}}gb.styleModule=iy,gb.inputHandler=Ag,gb.clipboardInputFilter=Eg,gb.clipboardOutputFilter=Ig,gb.scrollHandler=Rg,gb.focusChangeEffect=Cg,gb.perLineTextDirection=Pg,gb.exceptionSink=Dg,gb.updateListener=Yg,gb.editable=Bg,gb.mouseSelectionStyle=Og,gb.dragMovesSelection=xg,gb.clickAddsSelectionRange=Sg,gb.decorations=Qg,gb.blockWrappers=Xg,gb.outerDecorations=Gg,gb.atomicRanges=Kg,gb.bidiIsolatedRanges=Jg,gb.scrollMargins=ty,gb.darkTheme=ib,gb.cspNonce=Vf.define({combine:e=>e.length?e[0]:""}),gb.contentAttributes=qg,gb.editorAttributes=Zg,gb.lineWrapping=gb.contentAttributes.of({class:"cm-lineWrapping"}),gb.announce=km.define();const yb=4096,_b={};class bb{constructor(e,t,n,i,r,s){this.from=e,this.to=t,this.dir=n,this.isolates=i,this.fresh=r,this.order=s}static update(e,t){if(t.empty&&!e.some(e=>e.fresh))return e;
vendor: 4,368 bytes, line 2
2let n=[],i=e.length?e[e.length-1].dir:og.LTR;for(let r=Math.max(0,e.length-10);r<e.length;r++){let s=e[r];s.dir!=i||t.touchesRange(s.from,s.to)||n.push(new bb(t.mapPos(s.from,1),t.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return n}}function vb(e,t,n){for(let i=e.state.facet(t),r=i.length-1;r>=0;r--){let t=i[r],s="function"==typeof t?t(e):t;s&&Mp(s,n)}return n}const wb=Tp.mac?"mac":Tp.windows?"win":Tp.linux?"linux":"key";function kb(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}const Tb=sm.default(gb.domEventHandlers({keydown(e,t){return Yb(Sb(t.state),e,t,"editor")}})),Mb=Vf.define({enables:Tb}),Lb=new WeakMap;function Sb(e){let t=e.facet(Mb),n=Lb.get(t);return n||Lb.set(t,n=function(e,t=wb){let n=Object.create(null),i=Object.create(null),r=(e,t)=>{let n=i[e];if(null==n)i[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},s=(e,i,s,o,a)=>{var l,c;let d=n[e]||(n[e]=Object.create(null)),u=i.split(/ (?!$)/).map(e=>function(e,t){const n=e.split(/-(?!$)/);let i,r,s,o,a=n[n.length-1];"Space"==a&&(a=" ");for(let e=0;e<n.length-1;++e){const a=n[e];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))i=!0;else if(/^(c|ctrl|control)$/i.test(a))r=!0;else if(/^s(hift)?$/i.test(a))s=!0;else{if(!/^mod$/i.test(a))throw new Error("Unrecognized modifier name: "+a);"mac"==t?o=!0:r=!0}}return i&&(a="Alt-"+a),r&&(a="Ctrl-"+a),o&&(a="Meta-"+a),s&&(a="Shift-"+a),a}(e,t));for(let t=1;t<u.length;t++){let n=u.slice(0,t).join(" ");r(n,!0),d[n]||(d[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let i=xb={view:t,prefix:n,scope:e};return setTimeout(()=>{xb==i&&(xb=null)},Ob),!0}]})}let h=u.join(" ");r(h,!1);let f=d[h]||(d[h]={preventDefault:!1,stopPropagation:!1,run:(null===(c=null===(l=d._any)||void 0===l?void 0:l.run)||void 0===c?void 0:c.slice())||[]});s&&f.run.push(s),o&&(f.preventDefault=!0),a&&(f.stopPropagation=!0)};for(let i of e){let e=i.scope?i.scope.split(" "):["editor"];if(i.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null));e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:r}=i;for(let t in e)e[t].run.push(e=>r(e,Db))}let r=i[t]||i.key;if(r)for(let t of e)s(t,r,i.run,i.preventDefault,i.stopPropagation),i.shift&&s(t,"Shift-"+r,i.shift,i.preventDefault,i.stopPropagation)}return n}(t.reduce((e,t)=>e.concat(t),[]))),n}let xb=null;const Ob=4e3;let Db=null;function Yb(e,t,n,i){Db=t;let r=function(e){var t=!(ap&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||lp&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?op:sp)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(t),s=Af(Df(r,0))==r.length&&" "!=r,o="",a=!1,l=!1,c=!1;xb&&xb.view==n&&xb.scope==i&&(o=xb.prefix+" ",a_.indexOf(t.keyCode)<0&&(l=!0,xb=null));let d,u,h=new Set,f=e=>{if(e){for(let t of e.run)if(!h.has(t)&&(h.add(t),t(n)))return e.stopPropagation&&(c=!0),!0;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},m=e[i];return m&&(f(m[o+kb(r,t,!s)])?a=!0:!s||!(t.altKey||t.metaKey||t.ctrlKey)||Tp.windows&&t.ctrlKey&&t.altKey||Tp.mac&&t.altKey&&!t.ctrlKey&&!t.metaKey||!(d=sp[t.keyCode])||d==r?s&&t.shiftKey&&f(m[o+kb(r,t,!0)])&&(a=!0):(f(m[o+kb(d,t,!0)])||t.shiftKey&&(u=op[t.keyCode])!=r&&u!=d&&f(m[o+kb(u,t,!1)]))&&(a=!0),!a&&f(m._any)&&(a=!0)),l&&(a=!0),a&&c&&t.stopPropagation(),Db=null,a}const Ab="-10000px";class Cb{constructor(e,t,n,i){this.facet=t,this.createTooltipView=n,this.removeTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let r=null;this.tooltipViews=this.tooltips.map(e=>r=n(e,r))}update(e,t){var n;let i=e.state.facet(this.facet),r=i.filter(e=>e);if(i===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let s=[],o=t?[]:null;for(let n=0;n<r.length;n++){let i=r[n],a=-1;if(i){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==i.create&&(a=e)}if(a<0)s[n]=this.createTooltipView(i,n?s[n-1]:null),o&&(o[n]=!!i.above);else{let i=s[n]=this.tooltipViews[a];o&&(o[n]=t[a]),i.update&&i.update(e)}}}for(let e of this.tooltipViews)s.indexOf(e)<0&&(this.removeTooltipView(e),null===(n=e.destroy)||void 0===n||n.call(e));
vendor: 20,842 bytes, line 2
2return t&&(o.forEach((e,n)=>t[n]=e),t.length=o.length),this.input=i,this.tooltips=r,this.tooltipViews=s,!0}}function Eb(e){let t=e.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:t.clientHeight,right:t.clientWidth}}const Ib=Vf.define({combine:e=>{var t,n,i;return{position:Tp.ios?"absolute":(null===(t=e.find(e=>e.position))||void 0===t?void 0:t.position)||"fixed",parent:(null===(n=e.find(e=>e.parent))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(i=e.find(e=>e.tooltipSpace))||void 0===i?void 0:i.tooltipSpace)||Eb}}}),Pb=new WeakMap,Nb=Ug.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(Ib);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new Cb(e,jb,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,i=e.state.facet(Ib);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e,t){let n=e.create(this.view),i=t?t.dom:null;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",n.dom.appendChild(e)}return n.dom.style.position=this.position,n.dom.style.top=Ab,n.dom.style.left="0px",this.container.insertBefore(n.dom,i),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),null===(e=t.destroy)||void 0===e||e.call(t);this.parent&&this.container.remove(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(Tp.safari){let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}else n=!!e.offsetParent&&e.offsetParent!=this.container.ownerDocument.body}if(n||"absolute"==this.position)if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,t=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let i=this.view.scrollDOM.getBoundingClientRect(),r=ny(this.view);return{visible:{left:i.left+r.left,top:i.top+r.top,right:i.right-r.right,bottom:i.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(Ib).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}let{visible:n,space:i,scaleX:r,scaleY:s}=e,o=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],c=this.manager.tooltipViews[a],{dom:d}=c,u=e.pos[a],h=e.size[a];if(!u||!1!==l.clip&&(u.bottom<=Math.max(n.top,i.top)||u.top>=Math.min(n.bottom,i.bottom)||u.right<Math.max(n.left,i.left)-.1||u.left>Math.min(n.right,i.right)+.1)){d.style.top=Ab;continue}let f=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=f?7:0,p=h.right-h.left,g=null!==(t=Pb.get(c))&&void 0!==t?t:h.bottom-h.top,y=c.offset||Hb,_=this.view.textDirection==og.LTR,b=h.width>i.right-i.left?_?i.left:i.right-h.width:_?Math.max(i.left,Math.min(u.left-(f?14:0)+y.x,i.right-p)):Math.min(Math.max(i.left,u.left-p+(f?14:0)-y.x),i.right-p),v=this.above[a];!l.strictSide&&(v?u.top-g-m-y.y<i.top:u.bottom+g+m+y.y>i.bottom)&&v==i.bottom-u.bottom>u.top-i.top&&(v=this.above[a]=!v);let w=(v?u.top-i.top:i.bottom-u.bottom)-m;if(w<g&&!1!==c.resize){if(w<this.view.defaultLineHeight){d.style.top=Ab;continue}Pb.set(c,g),d.style.height=(g=w)/s+"px"}else d.style.height&&(d.style.height="");let k=v?u.top-g-m-y.y:u.bottom+m+y.y,T=b+p;if(!0!==c.overlap)for(let e of o)e.left<T&&e.right>b&&e.top<k+g&&e.bottom>k&&(k=v?e.top-g-2-m:e.bottom+m+2);if("absolute"==this.position?(d.style.top=(k-e.parent.top)/s+"px",Rb(d,(b-e.parent.left)/r)):(d.style.top=k/s+"px",Rb(d,b/r)),f){let e=u.left+(_?y.x:-y.x)-(b+14-7);f.style.left=e/r+"px"}!0!==c.overlap&&o.push({left:b,top:k,right:T,bottom:k+g}),d.classList.toggle("cm-tooltip-above",v),d.classList.toggle("cm-tooltip-below",!v),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=Ab}},{eventObservers:{scroll(){this.maybeMeasure()}}});function Rb(e,t){let n=parseInt(e.style.left,10);(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const zb=gb.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Hb={x:0,y:0},jb=Vf.define({enables:[Nb,zb]}),Fb=Vf.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])});class Bb{static create(e){return new Bb(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Cb(e,Fb,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)}passProp(e){let t;for(let n of this.manager.tooltipViews){let i=n[e];if(void 0!==i)if(void 0===t)t=i;else if(t!==i)return}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const $b=jb.compute([Fb],e=>{let t=e.facet(Fb);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>{var t;return null!==(t=e.end)&&void 0!==t?t:e.pos})),create:Bb.create,above:t[0].above,arrow:t.some(e=>e.arrow)}});class Wb{constructor(e,t,n,i,r){this.view=e,this.source=t,this.field=n,this.setHover=i,this.hoverTime=r,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.tile.nearest(t.target);if(!n)return;let i,r=1;if(n.isWidget())i=n.posAtStart;else{if(i=e.posAtCoords(t),null==i)return;let n=e.coordsAtPos(i);if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return;let s=e.bidiSpans(e.state.doc.lineAt(i)).find(e=>e.from<=i&&e.to>=i),o=s&&s.dir==og.RTL?-1:1;r=t.x<n.left?-o:o}let s=this.source(e,i,r);if(null==s?void 0:s.then){let t=this.pending={pos:i};s.then(n=>{this.pending==t&&(this.pending=null,!n||Array.isArray(n)&&!n.length||e.dispatch({effects:this.setHover.of(Array.isArray(n)?n:[n])}))},t=>Fg(e.state,t,"hover tooltip"))}else!s||Array.isArray(s)&&!s.length||e.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let e=this.view.plugin(Nb),t=e?e.manager.tooltips.findIndex(e=>e.create==Bb.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:r}=this;if(i.length&&r&&!function(e,t){let n,{left:i,right:r,top:s,bottom:o}=e.getBoundingClientRect();if(n=e.querySelector(".cm-tooltip-arrow")){let e=n.getBoundingClientRect();s=Math.min(e.top,s),o=Math.max(e.bottom,o)}return t.clientX>=i-Ub&&t.clientX<=r+Ub&&t.clientY>=s-Ub&&t.clientY<=o+Ub}(r.dom,e)||this.pending){let{pos:r}=i[0]||this.pending,s=null!==(n=null===(t=i[0])||void 0===t?void 0:t.end)&&void 0!==n?n:r;(r==s?this.view.posAtCoords(this.lastMove)==r:function(e,t,n,i,r){let s=e.scrollDOM.getBoundingClientRect(),o=e.documentTop+e.documentPadding.top+e.contentHeight;if(s.left>i||s.right<i||s.top>r||Math.min(s.bottom,o)<r)return!1;let a=e.posAtCoords({x:i,y:r},!1);return a>=t&&a<=n}(this.view,r,s,e.clientX,e.clientY))||(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=n=>{e.removeEventListener("mouseleave",t),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Ub=4;function Vb(e,t={}){let n=km.define(),i=Jf.define({create(){return[]},update(e,i){if(e.length&&(t.hideOnChange&&(i.docChanged||i.selection)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(i,e))),i.docChanged)){let t=[];for(let n of e){let e=i.changes.mapPos(n.pos,-1,Ef.TrackDel);if(null!=e){let r=Object.assign(Object.create(null),n);r.pos=e,null!=r.end&&(r.end=i.changes.mapPos(r.end)),t.push(r)}}e=t}for(let t of i.effects)t.is(n)&&(e=t.value),t.is(Zb)&&(e=[]);return e},provide:e=>Fb.from(e)});return{active:i,extension:[i,Ug.define(r=>new Wb(r,e,i,n,t.hoverTime||300)),$b]}}const Zb=km.define();const qb=Vf.define({combine(e){let t,n;for(let i of e)t=t||i.topContainer,n=n||i.bottomContainer;return{topContainer:t,bottomContainer:n}}});const Qb=Ug.fromClass(class{constructor(e){this.input=e.state.facet(Kb),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(qb);this.top=new Xb(e,!0,t.topContainer),this.bottom=new Xb(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let e of this.panels)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}update(e){let t=e.state.facet(qb);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Xb(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Xb(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(Kb);if(n!=this.input){let t=n.filter(e=>e),i=[],r=[],s=[],o=[];for(let n of t){let t,a=this.specs.indexOf(n);a<0?(t=n(e.view),o.push(t)):(t=this.panels[a],t.update&&t.update(e)),i.push(t),(t.top?r:s).push(t)}this.specs=t,this.panels=i,this.top.sync(r),this.bottom.sync(s);for(let e of o)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>gb.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class Xb{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=Gb(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Gb(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Gb(e){let t=e.nextSibling;return e.remove(),t}const Kb=Vf.define({enables:Qb});class Jb extends Nm{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Jb.prototype.elementClass="",Jb.prototype.toDOM=void 0,Jb.prototype.mapMode=Ef.TrackBefore,Jb.prototype.startSide=Jb.prototype.endSide=-1,Jb.prototype.point=!0;const ev=Vf.define(),tv=Vf.define(),nv=Vf.define();const iv=Vf.define({combine:e=>e.some(e=>e)});function rv(e){let t=[sv];return e&&!1===e.fixed&&t.push(iv.of(!0)),t}const sv=Ug.fromClass(class{constructor(e){this.view=e,this.domAfter=null,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(nv).map(t=>new cv(e,t)),this.fixed=!e.state.facet(iv);for(let e of this.gutters)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,i=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(i<.8*(n.to-n.from))}if(e.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(iv)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let n=jm.iter(this.view.state.facet(ev),this.view.viewport.from),i=[],r=this.gutters.map(e=>new lv(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(e.type)){let t=!0;for(let s of e.type)if(s.type==Yp.Text&&t){av(n,i,s.from);for(let e of r)e.line(this.view,s,i);t=!1}else if(s.widget)for(let e of r)e.widget(this.view,s)}else if(e.type==Yp.Text){av(n,i,e.from);for(let t of r)t.line(this.view,e,i)}else if(e.widget)for(let t of r)t.widget(this.view,e);for(let e of r)e.finish();e&&(this.view.scrollDOM.insertBefore(this.dom,t),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(e){let t=e.startState.facet(nv),n=e.state.facet(nv),i=e.docChanged||e.heightChanged||e.viewportChanged||!jm.eq(e.startState.facet(ev),e.state.facet(ev),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let t of this.gutters)t.update(e)&&(i=!0);else{i=!0;let r=[];for(let i of n){let n=t.indexOf(i);n<0?r.push(new cv(this.view,i)):(this.gutters[n].update(e),r.push(this.gutters[n]))}for(let e of this.gutters)e.dom.remove(),r.indexOf(e)<0&&e.destroy();for(let e of r)"after"==e.config.side?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.gutters=r}return i}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:e=>gb.scrollMargins.of(t=>{let n=t.plugin(e);if(!n||0==n.gutters.length||!n.fixed)return null;let i=n.dom.offsetWidth*t.scaleX,r=n.domAfter?n.domAfter.offsetWidth*t.scaleX:0;return t.textDirection==og.LTR?{left:i,right:r}:{right:i,left:r}})});function ov(e){return Array.isArray(e)?e:[e]}function av(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class lv{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=jm.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:i}=this,r=(t.top-this.height)/e.scaleY,s=t.height/e.scaleY;if(this.i==i.elements.length){let t=new dv(e,s,r,n);i.elements.push(t),i.dom.appendChild(t.dom)}else i.elements[this.i].update(e,s,r,n);this.height=t.bottom,this.i++}line(e,t,n){let i=[];av(this.cursor,i,t.from),n.length&&(i=i.concat(n));let r=this.gutter.config.lineMarker(e,t,i);r&&i.unshift(r);let s=this.gutter;(0!=i.length||s.config.renderEmptyElements)&&this.addElement(e,t,i)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),i=n?[n]:null;for(let n of e.state.facet(tv)){let r=n(e,t.widget,t);r&&(i||(i=[])).push(r)}i&&this.addElement(e,t,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class cv{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="
2cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,i=>{let r,s=i.target;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let e=s.getBoundingClientRect();r=(e.top+e.bottom)/2}else r=i.clientY;let o=e.lineBlockAtHeight(r-e.documentTop);t.domEventHandlers[n](e,o,i)&&i.preventDefault()});this.markers=ov(t.markers(e)),t.initialSpacer&&(this.spacer=new dv(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=ov(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let n=e.view.viewport;return!jm.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}}class dv{constructor(e,t,n,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,i)}update(e,t,n,i){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),function(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,t){let n="cm-gutterElement",i=this.dom.firstChild;for(let r=0,s=0;;){let o=s,a=r<t.length?t[r++]:null,l=!1;if(a){let e=a.elementClass;e&&(n+=" "+e);for(let e=s;e<this.markers.length;e++)if(this.markers[e].compare(a)){o=e,l=!0;break}}else o=this.markers.length;for(;s<o;){let e=this.markers[s++];if(e.toDOM){e.destroy(i);let t=i.nextSibling;i.remove(),i=t}}if(!a)break;a.toDOM&&(l?i=i.nextSibling:this.dom.insertBefore(a.toDOM(e),i)),l&&s++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}const uv=Vf.define(),hv=Vf.define(),fv=Vf.define({combine(e){return Pm(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let e in t){let i=n[e],r=t[e];n[e]=i?(e,t,n)=>i(e,t,n)||r(e,t,n):r}return n}})}});class mv extends Jb{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function pv(e,t){return e.state.facet(fv).formatNumber(t,e.state)}const gv=nv.compute([fv],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(uv)},lineMarker(e,t,n){return n.some(e=>e.toDOM)?null:new mv(pv(e,e.state.doc.lineAt(t.from).number))},widgetMarker:(e,t,n)=>{for(let i of e.state.facet(hv)){let r=i(e,t,n);if(r)return r}return null},lineMarkerChange:e=>e.startState.facet(fv)!=e.state.facet(fv),initialSpacer(e){return new mv(pv(e,_v(e.state.doc.lines)))},updateSpacer(e,t){let n=pv(t.view,_v(t.view.state.doc.lines));return n==e.number?e:new mv(n)},domEventHandlers:e.facet(fv).domEventHandlers,side:"before"}));function yv(e={}){return[fv.of(e),rv(),gv]}function _v(e){let t=9;for(;t<e;)t=10*t+9;return t}var bv;const vv=new Ll;function wv(e){return Vf.define({combine:e?t=>t.concat(e):void 0})}const kv=new Ll;class Tv{constructor(e,t,n=[],i=""){this.data=e,this.name=i,Im.prototype.hasOwnProperty("tree")||Object.defineProperty(Im.prototype,"tree",{get(){return Sv(this)}}),this.parser=t,this.extension=[Pv.of(this),Im.languageData.of((e,t,n)=>{let i=Mv(e,t,n),r=i.type.prop(vv);if(!r)return[];let s=e.facet(r),o=i.type.prop(kv);if(o){let r=i.resolve(t-i.from,n);for(let t of o)if(t.test(r,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(s)}}return s})].concat(n)}isActiveAt(e,t,n=-1){return Mv(e,t,n).type.prop(vv)==this.data}findRegions(e){let t=e.facet(Pv);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(vv)==this.data)return void n.push({from:t,to:t+e.length});let r=e.prop(Ll.mounted);if(r){if(r.tree.prop(vv)==this.data){if(r.overlay)for(let e of r.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(r.overlay){let e=n.length;if(i(r.tree,r.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let r=e.children[n];r instanceof El&&i(r,e.positions[n]+t)}};return i(Sv(e),0),n}get allowsNesting(){return!0}}function Mv(e,t,n){let i=e.facet(Pv),r=Sv(e).topNode;if(!i||i.allowsNesting)for(let e=r;e;e=e.enter(t,n,Cl.ExcludeBuffers))e.type.isTop&&(r=e);return r}Tv.setState=km.define();class Lv extends Tv{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=wv(e.languageData);return new Lv(t,e.parser.configure({props:[vv.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new Lv(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Sv(e){let t=e.field(Tv.state,!1);return t?t.tree:El.empty}class xv{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let Ov=null;class Dv{constructor(e,t,n=[],i,r,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new Dv(e,t,[],El.empty,0,n,[],null)}startParse(){return this.parser.startParse(new xv(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=El.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let i=this.parse.advance();if(i){if(this.fragments=this.withoutTempSkipped(Gl.addTree(i,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,this.tree=i,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Gl.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Ov;Ov=this;try{return e()}finally{Ov=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Yv(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:r,viewport:s,skipped:o}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,i,r)=>t.push({fromA:e,toA:n,fromB:i,toB:r})),n=Gl.applyChanges(n,t),i=El.empty,r=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){o=[];for(let t of this.skipped){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);n<i&&o.push({from:n,to:i})}}}return new Dv(this.parser,t,n,i,r,s,o,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:i}=this.skipped[t];n<e.to&&i>e.from&&(this.fragments=Yv(this.fragments,n,i),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends Kl{createParse(t,n,i){let r=i[0].from,s=i[i.length-1].to;return{parsedPos:r,advance(){let t=Ov;if(t){for(let e of i)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=s,new El(Ol.none,[],[],s-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return Ov}}function Yv(e,t,n){return Gl.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class Av{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new Av(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=Dv.create(e.facet(Pv).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new Av(n)}}Tv.state=Jf.define({create:Av.init,update(e,t){for(let e of t.effects)if(e.is(Tv.setState))return e.value;return t.startState.facet(Pv)!=t.state.facet(Pv)?Av.init(t.state):e.apply(t)}});let Cv=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(Cv=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const Ev="undefined"!=typeof navigator&&(null===(bv=navigator.scheduling)||void 0===bv?void 0:bv.isInputPending)?()=>navigator.scheduling.isInputPending():null,Iv=Ug.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Tv.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Tv.state);
vendor: 5,804 bytes, line 2
2t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=Cv(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,r=n.field(Tv.state);if(r.tree==r.context.tree&&r.context.isDone(i+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!Ev?Math.max(25,e.timeRemaining()-5):1e9),o=r.context.treeLen<i&&n.doc.length>i+1e3,a=r.context.work(()=>Ev&&Ev()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:Tv.setState.of(new Av(r.context))})),this.chunkBudget>0&&(!a||o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>Fg(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Pv=Vf.define({combine(e){return e.length?e[0]:null},enables:e=>[Tv.state,Iv,gb.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class Nv{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const Rv=Vf.define(),zv=Vf.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function Hv(e){let t=e.facet(zv);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function jv(e,t){let n="",i=e.tabSize,r=e.facet(zv)[0];if("\t"==r){for(;t>=i;)n+="\t",t-=i;r=" "}for(let e=0;e<t;e++)n+=r;return n}function Fv(e,t){e instanceof Im&&(e=new Bv(e));for(let n of e.state.facet(Rv)){let i=n(e,t);if(void 0!==i)return i}let n=Sv(e.state);return n.length>=t?function(e,t,n){let i=t.resolveStack(n),r=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(r!=i.node){let e=[];for(let t=r;t&&!(t.from<i.node.from||t.to>i.node.to||t.from==i.node.from&&t.type==i.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)i={node:e[t],next:i}}return Wv(i,e,n)}(e,n,t):null}class Bv{constructor(e,t={}){this.state=e,this.options=t,this.unit=Hv(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:r}=this.options;return null!=i&&i>=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(e,t);return n.slice(e-i,Math.min(n.length,e+100-i))}column(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.countColumn(n,e-i),s=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return s>-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return Km(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let e=r(i);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const $v=new Ll;function Wv(e,t,n){for(let i=e;i;i=i.next){let e=Uv(i.node);if(e)return e(Zv.create(t,n,i))}return 0}function Uv(e){let t=e.type.prop($v);if(t)return t;let n,i=e.firstChild;if(i&&(n=i.type.prop(Ll.closedBy))){let t=e.lastChild,i=t&&n.indexOf(t.name)>-1;return e=>Qv(e,!0,1,void 0,i&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?Vv:null}function Vv(){return 0}class Zv extends Bv{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new Zv(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(qv(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return Wv(this.context.next,this.base,this.pos)}}function qv(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function Qv(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let e=n.to;;){let r=t.childAfter(e);if(!r||r==i)return null;if(!r.type.isSkipped){if(r.from>=o)return null;let e=/^ */.exec(s.text.slice(n.to-s.from))[0].length;return{from:n.from,to:n.to+e}}e=r.to}}(e):null;return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*n)}const Xv=new Ll;function Gv(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}class Kv{constructor(e,t){let n;function i(e){let t=np.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;const r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof Tv?e=>e.prop(vv)==s.data:s?e=>e==s:void 0,this.style=Vc(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new np(n):null,this.themeType=t.themeType}static define(e,t){return new Kv(e,t||{})}}const Jv=Vf.define(),ew=Vf.define({combine(e){return e.length?[e[0]]:null}});function tw(e){let t=e.facet(Jv);return t.length?t:e.facet(ew)}function nw(e,t){let n,i=[rw];return e instanceof Kv&&(e.module&&i.push(gb.styleModule.of(e.module)),n=e.themeType),
vendor: 4,279 bytes, line 2
2(null==t?void 0:t.fallback)?i.push(ew.of(e)):n?i.push(Jv.computeN([gb.darkTheme],t=>t.facet(gb.darkTheme)==("dark"==n)?[e]:[])):i.push(Jv.of(e)),i}class iw{constructor(e){this.markCache=Object.create(null),this.tree=Sv(e.state),this.decorations=this.buildDeco(e,tw(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=Sv(e.state),n=tw(e.state),i=n!=tw(e.startState),{viewport:r}=e.view,s=e.changes.mapPos(this.decoratedTo,1);t.length<r.to&&!i&&t.type==this.tree.type&&s>=r.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(t!=this.tree||e.viewportChanged||i)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=r.to)}buildDeco(e,t){if(!t||!this.tree.length)return Ap.none;let n=new Fm;for(let{from:i,to:r}of e.visibleRanges)Zc(this.tree,t,(e,t,i)=>{n.add(e,t,this.markCache[i]||(this.markCache[i]=Ap.mark({class:i})))},i,r);return n.finish()}}const rw=sm.high(Ug.fromClass(iw,{decorations:e=>e.decorations})),sw=(dd.meta,dd.link,dd.heading,dd.emphasis,dd.strong,dd.strikethrough,dd.keyword,dd.atom,dd.bool,dd.url,dd.contentSeparator,dd.labelName,dd.literal,dd.inserted,dd.string,dd.deleted,dd.regexp,dd.escape,dd.string,dd.variableName,dd.variableName,dd.typeName,dd.namespace,dd.className,dd.variableName,dd.macroName,dd.propertyName,dd.comment,dd.invalid,gb.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}})),ow="()[]{}",aw=Vf.define({combine(e){return Pm(e,{afterCursor:!0,brackets:ow,maxScanDistance:1e4,renderMatch:dw})}}),lw=Ap.mark({class:"cm-matchingBracket"}),cw=Ap.mark({class:"cm-nonmatchingBracket"});function dw(e){let t=[],n=e.matched?lw:cw;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}const uw=Jf.define({create(){return Ap.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(aw);for(let e of t.state.selection.ranges){if(!e.empty)continue;let r=yw(t.state,e.head,-1,i)||e.head>0&&yw(t.state,e.head-1,1,i)||i.afterCursor&&(yw(t.state,e.head,1,i)||e.head<t.state.doc.length&&yw(t.state,e.head+1,-1,i));r&&(n=n.concat(i.renderMatch(r,t.state)))}return Ap.set(n,!0)},provide:e=>gb.decorations.from(e)}),hw=[uw,sw];function fw(e={}){return[aw.of(e),hw]}const mw=new Ll;function pw(e,t,n){let i=e.prop(t<0?Ll.openedBy:Ll.closedBy);if(i)return i;if(1==e.name.length){let i=n.indexOf(e.name);if(i>-1&&i%2==(t<0?1:0))return[n[i+t]]}return null}function gw(e){let t=e.type.prop(mw);return t?t(e.node):e}function yw(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ow,o=Sv(e),a=o.resolveInner(t,n);for(let i=a;i;i=i.parent){let r=pw(i.type,n,s);if(r&&i.from<i.to){let o=gw(i);if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return _w(e,t,n,i,o,r,s)}}return function(e,t,n,i,r,s,o){let a=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=o.indexOf(a);if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},d=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let e=0;!d.next().done&&e<=s;){let s=d.value;n<0&&(e+=s.length);let a=t+e*n;for(let e=n>0?0:s.length-1,t=n>0?s.length:-1;e!=t;e+=n){let t=o.indexOf(s[e]);if(!(t<0||i.resolveInner(a+e,1).type!=r))if(t%2==0==n>0)u++;else{if(1==u)return{start:c,end:{from:a+e,to:a+e+1},matched:t>>1==l>>1};u--}}n>0&&(e+=s.length)}return d.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,r,s)}function _w(e,t,n,i,r,s,o){let a=i.parent,l={from:r.from,to:r.to},c=0,d=null==a?void 0:a.cursor();if(d&&(n<0?d.childBefore(i.from):d.childAfter(i.to)))do{if(n<0?d.to<=i.from:d.from>=i.to){if(0==c&&s.indexOf(d.type.name)>-1&&d.from<d.to){let e=gw(d);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(pw(d.type,n,o))c++;else if(pw(d.type,-n,o)){if(0==c){let e=gw(d);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}}while(n<0?d.prevSibling():d.nextSibling());return{start:l,matched:!1}}const bw=Object.create(null),vw=[Ol.none],ww=[],kw=Object.create(null),Tw=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invali
2d"],["header","heading"],["property","propertyName"]])Tw[e]=Lw(bw,t);function Mw(e,t){ww.indexOf(e)>-1||(ww.push(e),console.warn(t))}function Lw(e,t){let n=[];for(let i of t.split(" ")){let t=[];for(let n of i.split(".")){let i=e[n]||dd[n];i?"function"==typeof i?t.length?t=t.map(i):Mw(n,`Modifier ${n} used at start of tag`):t.length?Mw(n,`Tag ${n} used as modifier`):t=Array.isArray(i)?i:[i]:Mw(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let i=t.replace(/ /g,"_"),r=i+" "+n.map(e=>e.id),s=kw[r];if(s)return s.id;let o=kw[r]=Ol.define({id:vw.length,name:i,props:[$c({[i]:n})]});return vw.push(o),o.id}og.RTL,og.LTR;"object"==typeof navigator&&navigator.platform;const Sw={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},xw=km.define({map(e,t){let n=t.mapPos(e,-1,Ef.TrackAfter);return null==n?void 0:n}}),Ow=new class extends Nm{};Ow.startSide=1,Ow.endSide=-1;const Dw=Jf.define({create(){return jm.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(xw)&&(e=e.update({add:[Ow.range(n.value,n.value+1)]}));return e}});const Yw="()[]{}<>«»»«[]ï½ï½";function Aw(e){for(let t=0;t<16;t+=2)if(Yw.charCodeAt(t)==e)return Yw.charAt(t+1);return Yf(e<128?e:e+1)}function Cw(e,t){return e.languageDataAt("closeBrackets",t)[0]||Sw}const Ew="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Iw=gb.inputHandler.of((e,t,n,i)=>{if((Ew?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let r=e.state.selection.main;if(i.length>2||2==i.length&&1==Af(Df(i,0))||t!=r.from||n!=r.to)return!1;let s=function(e,t){let n=Cw(e,e.selection.main.head),i=n.brackets||Sw.brackets;for(let r of i){let s=Aw(Df(r,0));if(t==r)return s==r?Hw(e,r,i.indexOf(r+r+r)>-1,n):Rw(e,r,s,n.before||Sw.before);if(t==s&&Pw(e,e.selection.main.from))return zw(e,r,s)}return null}(e.state,i);return!!s&&(e.dispatch(s),!0)});function Pw(e,t){let n=!1;return e.field(Dw).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function Nw(e,t){let n=e.sliceString(t,t+2);return n.slice(0,Af(Df(n,0)))}function Rw(e,t,n,i){let r=null,s=e.changeByRange(s=>{if(!s.empty)return{changes:[{insert:t,from:s.from},{insert:n,from:s.to}],effects:xw.of(s.to+t.length),range:$f.range(s.anchor+t.length,s.head+t.length)};let o=Nw(e.doc,s.head);return!o||/\s/.test(o)||i.indexOf(o)>-1?{changes:{insert:t+n,from:s.head},effects:xw.of(s.head+t.length),range:$f.cursor(s.head+t.length)}:{range:r=s}});return r?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function zw(e,t,n){let i=null,r=e.changeByRange(t=>t.empty&&Nw(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:$f.cursor(t.head+n.length)}:i={range:t});return i?null:e.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function Hw(e,t,n,i){let r=i.stringPrefixes||Sw.stringPrefixes,s=null,o=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:t,from:i.to}],effects:xw.of(i.to+t.length),range:$f.range(i.anchor+t.length,i.head+t.length)};let o,a=i.head,l=Nw(e.doc,a);if(l==t){if(jw(e,a))return{changes:{insert:t+t,from:a},effects:xw.of(a+t.length),range:$f.cursor(a+t.length)};if(Pw(e,a)){let i=n&&e.sliceDoc(a,a+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:a,to:a+i.length,insert:i},range:$f.cursor(a+i.length)}}}else{if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(o=Fw(e,a-2*t.length,r))>-1&&jw(e,o))return{changes:{insert:t+t+t+t,from:a},effects:xw.of(a+t.length),range:$f.cursor(a+t.length)};if(e.charCategorizer(a)(l)!=Ym.Word&&Fw(e,a,r)>-1&&!function(e,t,n,i){let r=Sv(e).resolveInner(t,-1),s=i.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+s)),a=o.indexOf(n);if(!a||a>-1&&i.indexOf(o.slice(0,a))>-1){let t=r.firstChild;for(;t&&t.from==r.from&&t.to-t.from>n.length+a;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=r.to==t&&r.parent;if(!l)break;r=l}return!1}(e,a,t,r))return{changes:{insert:t+t,from:a},effects:xw.of(a+t.length),range:$f.cursor(a+t.length)}}return{range:s=i}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function jw(e,t){let n=Sv(e).resolveInner(t+1);return n.parent&&n.from==t}function Fw(e,t,n){let i=e.charCategorizer(t);if(i(e.sliceDoc(t-1,t))!=Ym.Word)return t;for(let r of n){let n=t-r.length;if(e.sliceDoc(n,t)==r&&i(e.sliceDoc(n-1,n))!=Ym.Word)return n}return-1}function Bw(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}
vendor: 10,621 bytes, line 2
2const $w=Bw(Qw,0),Ww=Bw(qw,0),Uw=Bw((e,t)=>qw(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to);r.from>i.from&&r.from==n.to&&(r=n.to==i.to+1?i:e.doc.lineAt(n.to-1));let s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:r.to})}return t}(t)),0);function Vw(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}const Zw=50;function qw(e,t,n=t.selection.ranges){let i=n.map(e=>Vw(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>function(e,{open:t,close:n},i,r){let s,o,a=e.sliceDoc(i-Zw,i),l=e.sliceDoc(r,r+Zw),c=/\s*$/.exec(a)[0].length,d=/^\s*/.exec(l)[0].length,u=a.length-c;if(a.slice(u-t.length,u)==t&&l.slice(d,d+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+d,margin:d&&1}};r-i<=2*Zw?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+Zw),o=e.sliceDoc(r-Zw,r));let h=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,m=o.length-f-n.length;return s.slice(h,h+t.length)==t&&o.slice(m,m+n.length)==n?{open:{pos:i+h+t.length,margin:/\s/.test(s.charAt(h+t.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(m-1))?1:0}}:null}(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let e=[];for(let t,n=0;n<r.length;n++)if(t=r[n]){let r=i[n],{open:s,close:o}=t;e.push({from:s.pos-r.open.length,to:s.pos+s.margin},{from:o.pos-o.margin,to:o.pos+r.close.length})}return{changes:e}}return null}function Qw(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:e,to:s}of n){let n=i.length,o=1e9,a=Vw(t,e).line;if(a){for(let n=e;n<=s;){let l=t.doc.lineAt(n);if(l.from>r&&(e==s||s>l.from)){r=l.from;let e=/^\s*/.exec(l.text)[0].length,t=e==l.length,n=l.text.slice(e,e+a.length)==a?e:-1;e<l.text.length&&e<o&&(o=e),i.push({line:l,comment:n,token:a,indent:e,empty:t,single:!1})}n=l.to+1}if(o<1e9)for(let e=n;e<i.length;e++)i[e].indent<i[e].line.text.length&&(i[e].indent=o);i.length==n+1&&(i[n].single=!0)}}if(2!=e&&i.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:r,empty:s,single:o}of i)!o&&s||e.push({from:t.from+r,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:r}of i)if(n>=0){let i=t.from+n,s=i+r.length;" "==t.text[s-t.from]&&s++,e.push({from:i,to:s})}return{changes:e}}return null}const Xw=bm.define(),Gw=Vf.define();class Kw{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new Kw(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new Kw(e.changes&&Pf.fromJSON(e.changes),[],e.mapped&&If.fromJSON(e.mapped),e.startSelection&&$f.fromJSON(e.startSelection),e.selectionsAfter.map($f.fromJSON))}static fromTransaction(e,t){let n=tk;for(let t of e.startState.facet(Gw)){let i=t(e);i.length&&(n=n.concat(i))}return!n.length&&e.changes.empty?null:new Kw(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,tk)}static selection(e){return new Kw(void 0,tk,void 0,void 0,e)}}function Jw(e,t,n,i){let r=t+1>n+20?t-n-1:0,s=e.slice(r,t);return s.push(i),s}function ek(e,t){return e.length?t.length?e.concat(t):e:t}const tk=[],nk=200;function ik(e,t){if(e.length){let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-nk));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),Jw(e,e.length-1,1e9,n.setSelAfter(i)))}return[Kw.selection([t])]}function rk(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function sk(e,t){if(!e.length)return e;let n=e.length,i=tk;for(;n;){let r=ok(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let t=e.slice(0,n);return t[n-1]=r,t}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[Kw.selection(i)]:tk}function ok(e,t,n){let i=ek(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):tk,n);if(!e.changes)return Kw.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),o=e.mapped?e.mapped.composeDesc(s):s;return new Kw(r,km.mapEffects(e.effects,t),o,e.startSelection.map(s),i)}const ak=/^(input\.type|delete)($|\.)/;class lk{constructor(e,t,n=0,i=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new lk(this.done,this.undone):this}addChanges(e,t,n,i,r){let s=this.done,o=s[s.length-1];return s=o&&o.changes&&!o.changes.empty&&e.changes&&(!n||ak.test(n))&&(!o.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(r,function(e,t){let n=[],i=!1;return e.iterChangedRanges((e,t)=>n.push(e,t)),t.iterChangedRanges((e,t,r,s)=>{for(let e=0;e<n.length;){let t=n[e++],o=n[e++];s>=t&&r<=o&&(i=!0)}}),i}(o.changes,e.changes))||"input.type.compose"==n)?Jw(s,s.length-1,i.minDepth,new Kw(e.changes.compose(o.changes),ek(km.mapEffects(e.effects,o.changes),o.effects),o.mapped,o.startSelection,tk)):Jw(s,s.length,i.minDepth,e),new lk(s,tk,t,n)}addSelection(e,t,n,i){let r=this.done.length?this.done[this.done.length-1].selectionsAfter:tk;return r.length>0&&t-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&function(e,t){return e.ranges.length==t.ranges.length&&0===e.ranges.filter((e,n)=>e.empty!=t.ranges[n].empty).length}(r[r.length-1],e)?this:new lk(ik(this.done,e),this.undone,t,n)}addMapping(e){return new lk(sk(this.done,e),sk(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1],s=r.selectionsAfter[0]||t.selection;if(n&&r.selectionsAfter.length)return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:Xw.of({side:e,rest:rk(i),selection:s}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(r.changes){let n=1==i.length?tk:i.slice(0,i.length-1);return r.mapped&&(n=sk(n,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:Xw.of({side:e,rest:n,selection:s}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}lk.empty=new lk(tk,tk);function ck(e,t){return $f.create(e.ranges.map(t),e.mainIndex)}function dk(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function uk({state:e,dispatch:t},n){let i=ck(e.selection,n);return!i.eq(e.selection,!0)&&(t(dk(e,i)),!0)}function hk(e,t){return $f.cursor(t?e.to:e.from)}function fk(e,t){return uk(e,n=>n.empty?e.moveByChar(n,t):hk(n,t))}function mk(e){return e.textDirectionAt(e.state.selection.main.head)==og.LTR}const pk=e=>fk(e,!mk(e)),gk=e=>fk(e,mk(e));function yk(e,t){return uk(e,n=>n.empty?e.moveByGroup(n,t):hk(n,t))}"undefined"!=typeof Intl&&Intl.Segmenter;function _k(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function bk(e,t,n){let i,r,s=Sv(e).resolveInner(t.head),o=n?Ll.closedBy:Ll.openedBy;for(let i=t.head;;){let t=n?s.childAfter(i):s.childBefore(i);if(!t)break;_k(e,t,o)?s=t:i=n?t.to:t.from}return r=s.type.prop(o)&&(i=n?yw(e,s.from,1):yw(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,$f.cursor(r,n?-1:1)}function vk(e,t){return uk(e,n=>{if(!n.empty)return hk(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}const wk=e=>vk(e,!1),kk=e=>vk(e,!0);function Tk(e){let t,n=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,i=0,r=0;if(n){for(let t of e.state.facet(gb.scrollMargins)){let n=t(e);(null==n?void 0:n.top)&&(i=Math.max(null==n?void 0:n.top,i)),(null==n?void 0:n.bottom)&&(r=Math.max(null==n?void 0:n.bottom,r))}t=e.scrollDOM.clientHeight-i-r}else t=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:r,selfScroll:n,height:Math.max(e.defaultLineHeight,t-5)}}function Mk(e,t){let n,i=Tk(e),{state:r}=e,s=ck(r.selection,n=>n.empty?e.moveVertically(n,t,i.height):hk(n,t));if(s.eq(r.selection))return!1;if(i.selfScroll){let t=e.coordsAtPos(r.selection.main.head),o=e.scrollDOM.getBoundingClientRect(),a=o.top+i.marginTop,l=o.bottom-i.marginBottom;t&&t.top>a&&t.bottom<l&&(n=gb.scrollIntoView(s.main.head,{y:"start",yMargin:t.top-a}))}return e.dispatch(dk(r,s),{effects:n}),!0}const Lk=e=>Mk(e,!1),Sk=e=>Mk(e,!0);function xk(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let n=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;n&&t.head!=i.from+n&&(r=$f.cursor(i.from+n))}return r}function Ok(e,t,n){let i=!1,r=ck(e.selection,t=>{let r=yw(e,t.head,-1)||yw(e,t.head,1)||t.head>0&&yw(e,t.head-1,1)||t.head<e.doc.length&&yw(e,t.head+1,-1);if(!r||!r.end)return t;i=!0;let s=r.start.from==t.head?r.end.to:r.end.from;return n?$f.range(t.anchor,s):$f.cursor(s)});return!!i&&(t(dk(e,r)),!0)}function Dk(e,t){let n=ck(e.state.selection,e=>{let n=t(e);return $f.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return!n.eq(e.state.selection)&&(e.dispatch(dk(e.state,n)),!0)}function Yk(e,t){return Dk(e,n=>e.moveByChar(n,t))}const Ak=e=>Yk(e,!mk(e)),Ck=e=>Yk(e,mk(e));function Ek(e,t){return Dk(e,n=>e.moveByGroup(n,t))}function Ik(e,t){return Dk(e,n=>e.moveVertically(n,t))}const Pk=e=>Ik(e,!1),Nk=e=>Ik(e,!0);function Rk(e,t){return Dk(e,n=>e.moveVertically(n,t,Tk(e).height))}const zk=e=>Rk(e,!1),Hk=e=>Rk(e,!0),jk=({state:e,dispatch:t})=>(t(dk(e,{anchor:0})),!0),Fk=({state:e,dispatch:t})=>(t(dk(e,{anchor:e.doc.length})),!0),Bk=({state:e,dispatch:t})=>(t(dk(e,{anchor:e.selection.main.anchor,head:0})),!0),$k=({state:e,dispatch:t})=>(t(dk(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function Wk(e,t){let{state:n}=e,i=n.selection,r=n.selection.ranges.slice();for(let i of n.selection.ranges){let s=n.doc.lineAt(i.head);if(t?s.to<e.state.doc.length:s.from>0)for(let n=i;;){let i=e.moveVertically(n,t);if(i.head<s.from||i.head>s.to){r.some(e=>e.head==i.head)||r.push(i);break}if(i.head==n.head)break;n=i}}return r.length!=i.ranges.length&&(e.dispatch(dk(n,$f.create(r,r.length-1))),!0)}function Uk(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;
vendor: 15,239 bytes, line 2
2if(r==s){let o=t(i);o<r?(n="delete.backward",o=Vk(e,o,!1)):o>r&&(n="delete.forward",o=Vk(e,o,!0)),r=Math.min(r,o),s=Math.max(s,o)}else r=Vk(e,r,!1),s=Vk(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:$f.cursor(r,r<i.head?-1:1)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?gb.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function Vk(e,t,n){if(e instanceof gb)for(let i of e.state.facet(gb.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{e<t&&i>t&&(t=n?i:e)});return t}const Zk=(e,t,n)=>Uk(e,i=>{let r,s,o=i.from,{state:a}=e,l=a.doc.lineAt(o);if(n&&!t&&o>l.from&&o<l.from+200&&!/[^ \t]/.test(r=l.text.slice(0,o-l.from))){if("\t"==r[r.length-1])return o-1;let e=Km(r,a.tabSize)%Hv(a)||Hv(a);for(let t=0;t<e&&" "==r[r.length-1-t];t++)o--;s=o}else s=Of(l.text,o-l.from,t,t)+l.from,s==o&&l.number!=(t?a.doc.lines:1)?s+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(l.text.slice(s-l.from,o-l.from))&&(s=Of(l.text,s-l.from,!1,!1)+l.from);return s}),qk=e=>Zk(e,!1,!0),Qk=e=>Zk(e,!0,!1),Xk=(e,t)=>Uk(e,n=>{let i=n.head,{state:r}=e,s=r.doc.lineAt(i),o=r.charCategorizer(i);for(let e=null;;){if(i==(t?s.to:s.from)){i==n.head&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let a=Of(s.text,i-s.from,t)+s.from,l=s.text.slice(Math.min(i,a)-s.from,Math.max(i,a)-s.from),c=o(l);if(null!=e&&c!=e)break;" "==l&&i==n.head||(e=c),i=a}return i}),Gk=e=>Xk(e,!1);function Kk(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let e=t[t.length-1];e.to=s.to,e.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function Jk(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let t of Kk(e)){if(n?t.to==e.doc.length:0==t.from)continue;let s=e.doc.lineAt(n?t.to+1:t.from-1),o=s.length+1;if(n){i.push({from:t.to,to:s.to},{from:t.from,insert:s.text+e.lineBreak});for(let n of t.ranges)r.push($f.range(Math.min(e.doc.length,n.anchor+o),Math.min(e.doc.length,n.head+o)))}else{i.push({from:s.from,to:t.from},{from:t.to,insert:e.lineBreak+s.text});for(let e of t.ranges)r.push($f.range(e.anchor-o,e.head-o))}}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:$f.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}function eT(e,t,n){if(e.readOnly)return!1;let i=[];for(let t of Kk(e))n?i.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):i.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const tT=iT(!1),nT=iT(!0);function iT(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),o=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n,i=Sv(e).resolveInner(t),r=i.childBefore(t),s=i.childAfter(t);return r&&s&&r.to<=t&&s.from>=t&&(n=r.type.prop(Ll.closedBy))&&n.indexOf(s.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(s.from).from&&!/\S/.test(e.sliceDoc(r.to,s.from))?{from:r.to,to:s.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let a=new Bv(t,{simulateBreak:i,simulateDoubleBreak:!!o}),l=Fv(a,i);for(null==l&&(l=Km(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));r<s.to&&/\s/.test(s.text[r-s.from]);)r++;o?({from:i,to:r}=o):i>s.from&&i<s.from+100&&!/\S/.test(s.text.slice(0,i))&&(i=s.from);let c=["",jv(t,l)];return o&&c.push(jv(t,a.lineIndent(s.from,-1))),{changes:{from:i,to:r,insert:_f.of(c)},range:$f.cursor(i+1+c[1].length)}});return n(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function rT(e,t){let n=-1;return e.changeByRange(i=>{let r=[];for(let s=i.from;s<=i.to;){let o=e.doc.lineAt(s);o.number>n&&(i.empty||i.to>o.from)&&(t(o,r,i),n=o.number),s=o.to+1}let s=e.changes(r);return{changes:r,range:$f.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}})}const sT=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(rT(e,(t,n)=>{n.push({from:t.from,insert:e.facet(zv)})}),{userEvent:"input.indent"})),!0),oT=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(rT(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=Km(i,e.tabSize),s=0,o=jv(e,Math.max(0,r-Hv(e)));for(;s<i.length&&s<o.length&&i.charCodeAt(s)==o.charCodeAt(s);)s++;n.push({from:t.from+s,to:t.from+i.length,insert:o.slice(s)})}),{userEvent:"delete.dedent"})),!0),aT=[{key:"Ctrl-b",run:pk,shift:Ak,preventDefault:!0},{key:"Ctrl-f",run:gk,shift:Ck},{key:"Ctrl-p",run:wk,shift:Pk},{key:"Ctrl-n",run:kk,shift:Nk},{key:"Ctrl-a",run:e=>uk(e,t=>$f.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>Dk(e,t=>$f.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>uk(e,t=>$f.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>Dk(e,t=>$f.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:Qk},{key:"Ctrl-h",run:qk},{key:"Ctrl-k",run:e=>Uk(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:Gk},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:_f.of(["",""])},range:$f.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:Of(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:Of(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:$f.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:Sk}],lT=[{key:"ArrowLeft",run:pk,shift:Ak,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>yk(e,!mk(e)),shift:e=>Ek(e,!mk(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>uk(e,t=>xk(e,t,!mk(e))),shift:e=>Dk(e,t=>xk(e,t,!mk(e))),preventDefault:!0},{key:"ArrowRight",run:gk,shift:Ck,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>yk(e,mk(e)),shift:e=>Ek(e,mk(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>uk(e,t=>xk(e,t,mk(e))),shift:e=>Dk(e,t=>xk(e,t,mk(e))),preventDefault:!0},{key:"ArrowUp",run:wk,shift:Pk,preventDefault:!0},{mac:"Cmd-ArrowUp",run:jk,shift:Bk},{mac:"Ctrl-ArrowUp",run:Lk,shift:zk},{key:"ArrowDown",run:kk,shift:Nk,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Fk,shift:$k},{mac:"Ctrl-ArrowDown",run:Sk,shift:Hk},{key:"PageUp",run:Lk,shift:zk},{key:"PageDown",run:Sk,shift:Hk},{key:"Home",run:e=>uk(e,t=>xk(e,t,!1)),shift:e=>Dk(e,t=>xk(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:jk,shift:Bk},{key:"End",run:e=>uk(e,t=>xk(e,t,!0)),shift:e=>Dk(e,t=>xk(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:Fk,shift:$k},{key:"Enter",run:tT,shift:tT},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:qk,shift:qk,preventDefault:!0},{key:"Delete",run:Qk,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Gk,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>Xk(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>Uk(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>Uk(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),preventDefault:!0}].concat(aT.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),cT=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>uk(e,t=>bk(e.state,t,!mk(e))),shift:e=>Dk(e,t=>bk(e.state,t,!mk(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>uk(e,t=>bk(e.state,t,mk(e))),shift:e=>Dk(e,t=>bk(e.state,t,mk(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>Jk(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>eT(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>Jk(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>eT(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>Wk(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>Wk(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=$f.create([n.main]):n.main.empty||(i=$f.create([$f.cursor(n.main.head)])),!!i&&(t(dk(e,i)),!0)}},{key:"Mod-Enter",run:nT},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=Kk(e).map(({from:t,to:n})=>$f.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:$f.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=ck(e.selection,t=>{let n=Sv(e),i=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return $f.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(dk(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:oT},{key:"Mod-]",run:sT},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new Bv(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),r=rT(e,(t,r,s)=>{let o=Fv(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],l=jv(e,o);(a!=l||s.from<t.from+a.length)&&(n[t.from]=o,r.push({from:t.from,to:t.from+a.length,insert:l}))});return r.changes.empty||t(e.update(r,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(Kk(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),i=ck(t.selection,t=>{let n;if(e.lineWrapping){let i=e.lineBlockAt(t.head),r=e.coordsAtPos(t.head,t.assoc||1);r&&(n=i.bottom+e.documentTop-r.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>Ok(e,t,!1)},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),i=Vw(e.state,n.from);return i.line?$w(e):!!i.block&&Uw(e)}},{key:"Alt-A",run:Ww},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat(lT);function dT(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;t<arguments.length;t++)uT(e,arguments[t]);return e}function uT(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)uT(e,t[n])}}class hT{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class fT{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=n.facet(ST).markerFilter;i&&(e=i(e,n));let r=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new Fm,o=[],a=0,l=n.doc.iter(),c=0,d=n.doc.length;for(let e=0;;){let t,n,i=e==r.length?null:r[e];if(!i&&!o.length)break;if(o.length)t=a,n=o.reduce((e,t)=>Math.min(e,t.to),i&&i.from>t?i.from:1e8);else{if(t=i.from,t>d)break;n=i.to,o.push(i),e++}for(;e<r.length;){let i=r[e];if(i.from!=t||!(i.to>i.from||i.to==t)){n=Math.min(i.from,n);break}o.push(i),e++,n=Math.min(i.to,n)}n=Math.min(n,d);let u=!1;if(o.some(e=>e.from==t&&(e.to==n||n==d))&&(u=t==n,!u&&n-t<10)){let e=t-(c+l.value.length);e>0&&(l.next(e),c=t);for(let e=t;;){if(e>=n){u=!0;break}if(!l.lineBreak&&c+l.value.length>e)break;e=c+l.value.length,c+=l.value.length,l.next()}}let h=RT(o);if(u)s.add(t,t,Ap.widget({widget:new YT(h),diagnostics:o.slice()}));else{let e=o.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");s.add(t,n,Ap.mark({class:"cm-lintRange cm-lintRange-"+h+e,diagnostics:o.slice(),inclusiveEnd:o.some(e=>e.to>n)}))}if(a=n,a==d)break;for(let e=0;e<o.length;e++)o[e].to<=a&&o.splice(e--,1)}let u=s.finish();return new fT(u,t,mT(u))}}function mT(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!(t&&r.diagnostics.indexOf(t)<0))if(i){if(r.diagnostics.indexOf(i.diagnostic)<0)return!1;i=new hT(i.from,n,i.diagnostic)}else i=new hT(e,n,t||r.diagnostics[0])}),i}function pT(e,t){let n=t.pos,i=t.end||n,r=e.state.facet(ST).hideOn(e,n,i);if(null!=r)return r;let s=e.startState.doc.lineAt(t.pos);return!(!e.effects.some(e=>e.is(yT))&&!e.changes.touchesRange(s.from,Math.max(s.to,i)))}function gT(e,t){return e.field(vT,!1)?t:t.concat(km.appendConfig.of(zT))}const yT=km.define(),_T=km.define(),bT=km.define(),vT=Jf.define({create(){return new fT(Ap.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),i=null,r=e.panel;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=mT(n,e.selected.diagnostic,r)||mT(n,null,r)}!n.size&&r&&t.state.facet(ST).autoPanel&&(r=null),e=new fT(n,r,i)}for(let n of t.effects)if(n.is(yT)){let i=t.state.facet(ST).autoPanel?n.value.length?CT.open:null:e.panel;e=fT.init(n.value,i,t.state)}else n.is(_T)?e=new fT(e.diagnostics,n.value?CT.open:null,e.selected):n.is(bT)&&(e=new fT(e.diagnostics,e.panel,n.value));return e},provide:e=>[Kb.from(e,e=>e.panel),gb.decorations.from(e,e=>e.diagnostics)]});const wT=Ap.mark({class:"cm-lintRange cm-lintRange-active"});function kT(e,t,n){let i,{diagnostics:r}=e.state.field(vT),s=-1,o=-1;r.between(t-(n<0?1:0),t+(n>0?1:0),(e,r,{spec:a})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0)))return i=a.diagnostics,s=e,o=r,!1});let a=e.state.facet(ST).tooltipFilter;return i&&a&&(i=a(i,e.state)),i?{pos:s,end:o,above:e.state.doc.lineAt(s).to<o,create(){return{dom:TT(e,i)}}}:null}function TT(e,t){return dT("ul",{class:"cm-tooltip-lint"},t.map(t=>DT(e,t,!1)))}const MT=e=>{let t=e.state.field(vT,!1);return!(!t||!t.panel)&&(e.dispatch({effects:_T.of(!1)}),!0)},LT=Ug.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(ST);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(ST);t.length&&function(e,t,n){let i=[],r=-1;for(let s of e)s.then(n=>{i.push(n),clearTimeout(r),i.length==e.length?t(i):r=setTimeout(()=>t(i),200)},n)}(t.map(e=>Promise.resolve(e(this.view))),t=>{this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{effects:gT(e,[yT.of(t)])}}(this.view.state,t.reduce((e,t)=>e.concat(t))))},e=>{Fg(this.view.state,e)})}}update(e){let t=e.state.facet(ST);(e.docChanged||t!=e.startState.facet(ST)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});const ST=Vf.define({combine(e){return{sources:e.map(e=>e.source).filter(e=>null!=e),...Pm(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:xT,tooltipFilter:xT,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,i,r)=>
vendor: 7,570 bytes, line 2
2e(n,i,r)||t(n,i,r):e:t,autoPanel:(e,t)=>e||t})}}});function xT(e,t){return e?t?(n,i)=>t(e(n,i),i):e:t}function OT(e){let t=[];if(e)e:for(let{name:n}of e){for(let e=0;e<n.length;e++){let i=n[e];if(/[a-zA-Z]/.test(i)&&!t.some(e=>e.toLowerCase()==i.toLowerCase())){t.push(i);continue e}}t.push("")}return t}function DT(e,t,n){var i;let r=n?OT(t.actions):[];return dT("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},dT("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=!1,o=i=>{if(i.preventDefault(),s)return;s=!0;let r=mT(e.state.field(vT).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:a}=n,l=r[i]?a.indexOf(r[i]):-1,c=l<0?a:[a.slice(0,l),dT("u",a.slice(l,l+1)),a.slice(l+1)];return dT("button",{type:"button",class:"cm-diagnosticAction"+(n.markClass?" "+n.markClass:""),onclick:o,onmousedown:o,"aria-label":` Action: ${a}${l<0?"":` (access key "${r[i]})"`}.`},c)}),t.source&&dT("div",{class:"cm-diagnosticSource"},t.source))}class YT extends Dp{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return dT("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class AT{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=DT(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class CT{constructor(e){this.view=e,this.items=[];this.list=dT("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)MT(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:n}=this.items[this.selectedIndex],i=OT(n.actions);for(let r=0;r<i.length;r++)if(i[r].toUpperCase().charCodeAt(0)==t.keyCode){let t=mT(this.view.state.field(vT).diagnostics,n);t&&n.actions[r].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=dT("div",{class:"cm-panel-lint"},this.list,dT("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>MT(this.view)},"Ã")),this.update()}get selectedIndex(){let e=this.view.state.field(vT).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(vT),n=0,i=!1,r=null,s=new Set;for(e.between(0,this.view.state.doc.length,(e,o,{spec:a})=>{for(let e of a.diagnostics){if(s.has(e))continue;s.add(e);let o,a=-1;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){a=t;break}a<0?(o=new AT(this.view,e),this.items.splice(n,0,o),i=!0):(o=this.items[a],a>n&&(this.items.splice(n,a-n),i=!0)),t&&o.diagnostic==t.diagnostic?o.dom.hasAttribute("aria-selected")||(o.dom.setAttribute("aria-selected","true"),r=o):o.dom.hasAttribute("aria-selected")&&o.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();0==this.items.length&&(this.items.push(new AT(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),r?(this.list.setAttribute("aria-activedescendant",r.id),this.view.requestMeasure({key:this,read:()=>({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=mT(this.view.state.field(vT).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:bT.of(t)})}static open(e){return new CT(e)}}function ET(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}function IT(e){return ET(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const PT=gb.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:IT("#d11")},".cm-lintRange-warning":{backgroundImage:IT("orange")},".cm-lintRange-info":{backgroundImage:IT("#999")},".cm-lintRange-hint":{backgroundImage:IT("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function NT(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function RT(e){let t="hint",n=1;for(let i of e){let e=NT(i.severity);e>n&&(n=e,t=i.severity)}return t}const zT=[vT,gb.decorations.compute([vT],e=>{let{selected:t,panel:n}=e.field(vT);return t&&n&&t.from!=t.to?Ap.set([wT.range(t.from,t.to)]):Ap.none}),Vb(kT,{hideOn:pT}),PT];class HT{static create(e,t,n,i,r){return new HT(e,t,n,i+(i<<8)+e+(t<<4)|0,r,[],[])}constructor(e,t,n,i,r,s,o){this.type=e,this.value=t,this.from=n,this.hash=i,this.end=r,this.children=s,this.positions=o,this.hashProp=[[Ll.contextHash,i]]}addChild(e,t){e.prop(Ll.contextHash)!=this.hash&&(e=new El(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new El(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n
vendor: 5,800 bytes, line 2
2)=>new El(Ol.none,e,t,n,this.hashProp)})}}var jT;!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.Autolink=33]="Autolink",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel",e[e.URL=44]="URL"}(jT||(jT={}));class FT{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class BT{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return VT(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let i=t;i<e;i++)n+=9==this.text.charCodeAt(i)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function $T(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(e.type==jT.OrderedList?JT:KT)(n,t,!1);return i>0&&(e.type!=jT.BulletList||XT(n,t,!1)<0)&&n.text.charCodeAt(n.pos+i-1)==e.value}const WT={[jT.Blockquote](e,t,n){return 62==n.next&&(n.markers.push(xM(jT.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(UT(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)},[jT.ListItem](e,t,n){return!(n.indent<n.baseIndent+e.value&&n.next>-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0)},[jT.OrderedList]:$T,[jT.BulletList]:$T,[jT.Document](){return!0}};function UT(e){return 32==e||9==e||10==e||13==e}function VT(e,t=0){for(;t<e.length&&UT(e.charCodeAt(t));)t++;return t}function ZT(e,t,n){for(;t>n&&UT(e.charCodeAt(t-1));)t--;return t}function qT(e){if(96!=e.next&&126!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(96==e.next)for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function QT(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function XT(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return-1;let i=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)i++;else if(!UT(n))return-1}return n&&45==e.next&&tM(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(fM.SetextHeading)>-1||i<3?-1:1}function GT(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function KT(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!UT(e.text.charCodeAt(e.pos+1))||!(!n||GT(t,jT.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function JT(e,t,n){let i=e.pos,r=e.next;for(;r>=48&&r<=57;){if(i++,i==e.text.length)return-1;r=e.text.charCodeAt(i)}return i==e.pos||i>e.pos+9||46!=r&&41!=r||i<e.text.length-1&&!UT(e.text.charCodeAt(i+1))||n&&!GT(t,jT.OrderedList)&&(e.skipSpace(i+1)==e.text.length||i>e.pos+1||49!=e.next)?-1:i+1-e.pos}function eM(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;let n=t-e.pos;return n>6?-1:n}function tM(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&UT(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}const nM=/^[ \t]*$/,iM=/-->/,rM=/\?>/,sM=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,iM],[/^\s*<\?/,rM],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,nM],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,nM]];
vendor: 6,285 bytes, line 2
2function oM(e,t,n){if(60!=e.next)return-1;let i=e.text.slice(e.pos);for(let e=0,t=sM.length-(n?1:0);e<t;e++)if(sM[e][0].test(i))return e;return-1}function aM(e,t){let n=e.countIndent(t,e.pos,e.indent),i=e.countIndent(e.skipSpace(t),t,n);return i>=n+5?n+1:i}function lM(e,t,n){let i=e.length-1;i>=0&&e[i].to==t&&e[i].type==jT.CodeText?e[i].to=n:e.push(xM(jT.CodeText,t,n))}const cM={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let i=t.findColumn(n),r=e.lineStart+i,s=e.lineStart+t.text.length,o=[],a=[];for(lM(o,r,s);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){lM(a,e.lineStart-1,e.lineStart);for(let e of t.markers)a.push(e)}else{if(t.indent<n)break;{if(a.length){for(let e of a)e.type==jT.CodeText?lM(o,e.from,e.to):o.push(e);a=[]}lM(o,e.lineStart-1,e.lineStart);for(let e of t.markers)o.push(e);s=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<s&&lM(o,n,s)}}return a.length&&(a=a.filter(e=>e.type!=jT.CodeText),a.length&&(t.markers=a.concat(t.markers))),e.addNode(e.buffer.writeElements(o,-r).finish(jT.CodeBlock,s-r),r),!0},FencedCode(e,t){let n=qT(t);if(n<0)return!1;let i=e.lineStart+t.pos,r=t.next,s=n-t.pos,o=t.skipSpace(n),a=ZT(t.text,t.text.length,o),l=[xM(jT.CodeMark,i,i+s)];o<a&&l.push(xM(jT.CodeInfo,e.lineStart+o,e.lineStart+a));for(let n=!0;e.nextLine()&&t.depth>=e.stack.length;n=!1){let i=t.pos;if(t.indent-t.baseIndent<4)for(;i<t.text.length&&t.text.charCodeAt(i)==r;)i++;if(i-t.pos>=s&&t.skipSpace(i)==t.text.length){for(let e of t.markers)l.push(e);l.push(xM(jT.CodeMark,e.lineStart+t.pos,e.lineStart+i)),e.nextLine();break}{n||lM(l,e.lineStart-1,e.lineStart);for(let e of t.markers)l.push(e);let i=e.lineStart+t.basePos,r=e.lineStart+t.text.length;i<r&&lM(l,i,r)}}return e.addNode(e.buffer.writeElements(l,-i).finish(jT.FencedCode,e.prevLineEnd()-i),i),!0},Blockquote(e,t){let n=QT(t);return!(n<0)&&(e.startContext(jT.Blockquote,t.pos),e.addNode(jT.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(XT(t,e,!1)<0)return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(jT.HorizontalRule,n),!0},BulletList(e,t){let n=KT(t,e,!1);if(n<0)return!1;e.block.type!=jT.BulletList&&e.startContext(jT.BulletList,t.basePos,t.next);let i=aM(t,t.pos+1);return e.startContext(jT.ListItem,t.basePos,i-t.baseIndent),e.addNode(jT.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(i),null},OrderedList(e,t){let n=JT(t,e,!1);if(n<0)return!1;e.block.type!=jT.OrderedList&&e.startContext(jT.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let i=aM(t,t.pos+n);return e.startContext(jT.ListItem,t.basePos,i-t.baseIndent),e.addNode(jT.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(i),null},ATXHeading(e,t){let n=eM(t);if(n<0)return!1;let i=t.pos,r=e.lineStart+i,s=ZT(t.text,t.text.length,i),o=s;for(;o>i&&t.text.charCodeAt(o-1)==t.next;)o--;o!=s&&o!=i&&UT(t.text.charCodeAt(o-1))||(o=t.text.length);let a=e.buffer.write(jT.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(i+n+1,o),r+n+1),-r);o<t.text.length&&a.write(jT.HeaderMark,o-i,s-i);let l=a.finish(jT.ATXHeading1-1+n,t.text.length-i);return e.nextLine(),e.addNode(l,r),!0},HTMLBlock(e,t){let n=oM(t,0,!1);if(n<0)return!1;let i=e.lineStart+t.pos,r=sM[n][1],s=[],o=r!=nM;for(;!r.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){o=!1;break}for(let e of t.markers)s.push(e)}o&&e.nextLine();let a=r==iM?jT.CommentBlock:r==rM?jT.ProcessingInstructionBlock:jT.HTMLBlock,l=e.prevLineEnd();return e.addNode(e.buffer.writeElements(s,-i).finish(a,l-i),i),!0},SetextHeading:void 0};class dM{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let i=n.content+"\n"+t.scrub(),r=this.advance(i);return r>-1&&r<i.length&&this.complete(e,n,r)}finish(e,t){return(2==this.stage||3==this.stage)&&VT(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,xM(jT.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(HM(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(xM(jT.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){let t=VT(e,this.pos),n=0;if(t>this.pos){let i=zM(e,t,this.start);if(i){let t=uM(e,i.to-this.start);t>0&&(this.nextStage(i),n=t)}}return n||(n=uM(e,this.pos)),n>0&&n<e.length?n:-1}return uM(e,this.pos)}if(!this.nextStage(RM(e,VT(e,this.pos),this.start)))return-1}}}}function uM(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!UT(n))return-1}return t}class hM{nextLine(e,t,n){let i=t.depth<e.stack.length?-1:tM(t),r=t.next;if(i<0)return!1;let s=xM(jT.HeaderMark,e.lineStart+t.pos,e.lineStart+i);return e.nextLine(),e.addLeafElement(n,xM(61==r?jT.SetextHeading1:jT.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),s])),!0}finish(){return!1}}const fM={LinkReference(e,t){return 91==t.content.charCodeAt(0)?new dM(t):null},SetextHeading(){return new hM}},mM=[(e,t)=>eM(t)>=0,(e,t)=>qT(t)>=0,(e,t)=>QT(t)>=0,(e,t)=>KT(t,e,!0)>=0,(e,t)=>JT(t,e,!0)>=0,(e,t)=>XT(t,e,!0)>=0,(e,t)=>oM(t,0,!0)>=0],pM={text:"",end:0};class gM{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.line=new BT,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=i[i.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=i[0].from,this.block=HT.create(jT.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new $M(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;
vendor: 17,037 bytes, line 2
2if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(0!=n){if(1==n)return null;e.forward();continue e}}break}let t=new FT(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4)for(let n of this.parser.endLeafBlock)if(n(this,e,t))break e;for(let n of t.parsers)if(n.nextLine(this,e,t))return null;t.content+="\n"+e.scrub();for(let n of e.markers)t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=WM(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0)}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=pM;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let e=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<t.end;){n++;let i=this.ranges[n].from,r=this.lineChunkAt(i);t.end=i+r.length,t.text=t.text.slice(0,this.ranges[n-1].to-e)+r,e=t.end-t.text.length}}return t}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw new Error("Unhandled block context "+jT[t.type]);let i=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>i&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{let e=n.indexOf("\n");t=e<0?n:n.slice(0,e)}return e+t.length>this.to?t.slice(0,this.to-e):t}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=HT.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){"number"==typeof e&&(e=new El(this.parser.nodeSet.types[e],TM,TM,(null!=n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(FM(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?yM(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=FM(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(jT.Paragraph,e.content.length),e.start)}elt(e,t,n,i){return"string"==typeof e?xM(this.parser.getNodeType(e),t,n,i):new SM(e,t)}get buffer(){return new MM(this.parser.nodeSet)}}function yM(e,t,n,i,r){let s=e[t].to,o=[],a=[],l=n.from+i;function c(n,r){for(;r?n>=s:n>s;){let r=e[t+1].from-s;i+=r,n+=r,t++,s=e[t].to}}for(let d=n.firstChild;d;d=d.nextSibling){c(d.from+i,!0);let n,u=d.from+i,h=r.get(d.tree);h?n=h:d.to+i>s?(n=yM(e,t,d,i,r),c(d.to+i,!1)):n=d.toTree(),o.push(n),a.push(u-l)}return c(n.to+i,!1),new El(n.type,o,a,n.to+i-l,n.tree?n.tree.propValues:void 0)}class _M extends Kl{constructor(e,t,n,i,r,s,o,a,l){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=i,this.endLeafBlock=r,this.skipContextMarkup=s,this.inlineParsers=o,this.inlineNames=a,this.wrappers=l,this.nodeTypes=Object.create(null);for(let t of e.types)this.nodeTypes[t.name]=t.id}createParse(e,t,n){let i=new gM(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}configure(e){let t=vM(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:i}=this,r=this.blockParsers.slice(),s=this.leafBlockParsers.slice(),o=this.blockNames.slice(),a=this.inlineParsers.slice(),l=this.inlineNames.slice(),c=this.endLeafBlock.slice(),d=this.wrappers;if(bM(t.defineNodes)){i=Object.assign({},i);let e,r=n.types.slice();for(let n of t.defineNodes){let{name:t,block:s,composite:o,style:a}="string"==typeof n?{name:n}:n;if(r.some(e=>e.name==t))continue;o&&(i[r.length]=(e,t,n)=>o(t,n,e.value));let l=r.length,c=o?["Block","BlockContext"]:s?l>=jT.ATXHeading1&&l<=jT.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;r.push(Ol.define({id:l,name:t,props:c&&[[Ll.group,c]]})),a&&(e||(e={}),Array.isArray(a)||a instanceof jc?e[t]=a:Object.assign(e,a))}n=new Dl(r),e&&(n=n.extend($c(e)))}if(bM(t.props)&&(n=n.extend(...t.props)),bM(t.remove))for(let e of t.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(r[t]=s[t]=void 0),n>-1&&(a[n]=void 0)}if(bM(t.parseBlock))for(let e of t.parseBlock){let t=o.indexOf(e.name);if(t>-1)r[t]=e.parse,s[t]=e.leaf;else{let t=e.before?wM(o,e.before):e.after?wM(o,e.after)+1:o.length-1;r.splice(t,0,e.parse),s.splice(t,0,e.leaf),o.splice(t,0,e.name)}e.endLeaf&&c.push(e.endLeaf)}if(bM(t.parseInline))for(let e of t.parseInline){let t=l.indexOf(e.name);if(t>-1)a[t]=e.parse;else{let t=e.before?wM(l,e.before):e.after?wM(l,e.after)+1:l.length-1;a.splice(t,0,e.parse),l.splice(t,0,e.name)}}return t.wrap&&(d=d.concat(t.wrap)),new _M(n,r,s,o,c,i,a,l,d)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new jM(this,e,t);e:for(let e=t;e<n.end;){let t=n.char(e);for(let i of this.inlineParsers)if(i){let r=i(n,t,e);if(r>=0){e=r;continue e}}e++}return n.resolveMarkers(0)}}function bM(e){return null!=e&&e.length>0}function vM(e){if(!Array.isArray(e))return e;if(0==e.length)return null;let t=vM(e[0]);if(1==e.length)return t;let n=vM(e.slice(1));if(!n||!t)return t||n;let i=(e,t)=>(e||TM).concat(t||TM),r=t.wrap,s=n.wrap;return{props:i(t.props,n.props),defineNodes:i(t.defineNodes,n.defineNodes),parseBlock:i(t.parseBlock,n.parseBlock),parseInline:i(t.parseInline,n.parseInline),remove:i(t.remove,n.remove),wrap:r?s?(e,t,n,i)=>r(s(e,t,n,i),t,n,i):r:s}}function wM(e,t){let n=e.indexOf(t);if(n<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return n}let kM=[Ol.none];for(let e,t=1;e=jT[t];t++)kM[t]=Ol.define({id:t,name:e,props:t>=jT.Escape?[]:[[Ll.group,t in WT?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==e});const TM=[];class MM{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,i=0){return this.content.push(e,t,n,4+4*i),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return El.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class LM{constructor(e,t,n,i=TM){this.type=e,this.from=t,this.to=n,this.children=i}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new MM(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class SM{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return TM}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function xM(e,t,n,i){return new LM(e,t,n,i)}const OM={resolve:"Emphasis",mark:"EmphasisMark"},DM={resolve:"Emphasis",mark:"EmphasisMark"},YM={},AM={};class CM{constructor(e,t,n,i){this.type=e,this.from=t,this.to=n,this.side=i}}const EM="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let IM=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{IM=new RegExp("[\\p{S}|\\p{P}]","u")}catch(Ae){}const PM={Escape(e,t,n){if(92!=t||n==e.end-1)return-1;let i=e.char(n+1);for(let t=0;t<32;t++)if(EM.charCodeAt(t)==i)return e.append(xM(jT.Escape,n,n+2));return-1},Entity(e,t,n){if(38!=t)return-1;let i=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return i?e.append(xM(jT.Entity,n,n+1+i[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;let i=n+1;for(;i<e.end&&96==e.char(i);)i++;let r=i-n,s=0;for(;i<e.end;i++)if(96==e.char(i)){if(s++,s==r&&96!=e.char(i+1))return e.append(xM(jT.InlineCode,n,i+1,[xM(jT.CodeMark,n,n+r),xM(jT.CodeMark,i+1-r,i+1)]))}else s=0;return-1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return-1;let i=e.slice(n+1,e.end),r=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(i);if(r)return e.append(xM(jT.Autolink,n,n+1+r[0].length,[xM(jT.LinkMark,n,n+1),xM(jT.URL,n+1,n+r[0].length),xM(jT.LinkMark,n+r[0].length,n+1+r[0].length)]));let s=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(s)return e.append(xM(jT.Comment,n,n+1+s[0].length));let o=/^\?[^]*?\?>/.exec(i);if(o)return e.append(xM(jT.ProcessingInstruction,n,n+1+o[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return a?e.append(xM(jT.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return-1;let i=n+1;for(;e.char(i)==t;)i++;let r=e.slice(n-1,n),s=e.slice(i,i+1),o=IM.test(r),a=IM.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),d=!c&&(!a||l||o),u=!l&&(!o||c||a),h=d&&(42==t||!u||o),f=u&&(42==t||!d||a);return e.append(new CM(95==t?OM:DM,n,i,(h?1:0)|(f?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(xM(jT.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(xM(jT.HardBreak,n,t+1))}return-1},Link(e,t,n){return 91==t?e.append(new CM(YM,n,n+1,1)):-1},Image(e,t,n){return 33==t&&91==e.char(n+1)?e.append(new CM(AM,n,n+2,1)):-1},LinkEnd(e,t,n){if(93!=t)return-1;for(let t=e.parts.length-1;t>=0;t--){let i=e.parts[t];if(i instanceof CM&&(i.type==YM||i.type==AM)){if(!i.side||e.skipSpace(i.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let r=e.takeContent(t),s=e.parts[t]=NM(e,r,i.type==YM?jT.Link:jT.Image,i.from,n+1);if(i.type==YM)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof CM&&t.type==YM&&(t.side=0)}return s.to}}return-1}};function NM(e,t,n,i,r){let{text:s}=e,o=e.char(r),a=r;if(t.unshift(xM(jT.LinkMark,i,i+(n==jT.Image?2:1))),t.push(xM(jT.LinkMark,r-1,r)),40==o){let n,i=e.skipSpace(r+1),o=RM(s,i-e.offset,e.offset);o&&(i=e.skipSpace(o.to),i!=o.to&&(n=zM(s,i-e.offset,e.offset),n&&(i=e.skipSpace(n.to)))),41==e.char(i)&&(t.push(xM(jT.LinkMark,r,r+1)),a=i+1,o&&t.push(o),n&&t.push(n),t.push(xM(jT.LinkMark,i,a)))}else if(91==o){let n=HM(s,r-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return xM(n,i,a,t)}function RM(e,t,n){if(60==e.charCodeAt(t)){for(let i=t+1;i<e.length;i++){let r=e.charCodeAt(i);if(62==r)return xM(jT.URL,t+n,i+1+n);if(60==r||10==r)return!1}return null}{let i=0,r=t;for(let t=!1;r<e.length;r++){let n=e.charCodeAt(r);if(UT(n))break;if(t)t=!1;else if(40==n)i++;else if(41==n){if(!i)break;i--}else 92==n&&(t=!0)}return r>t?xM(jT.URL,t+n,r+n):r==e.length&&null}}function zM(e,t,n){let i=e.charCodeAt(t);if(39!=i&&34!=i&&40!=i)return!1;let r=40==i?41:i;for(let i=t+1,s=!1;i<e.length;i++){let o=e.charCodeAt(i);if(s)s=!1;else{if(o==r)return xM(jT.LinkTitle,t+n,i+1+n);92==o&&(s=!0)}}return null}function HM(e,t,n,i){for(let r=!1,s=t+1,o=Math.min(e.length,s+999);s<o;s++){let o=e.charCodeAt(s);if(r)r=!1;else{if(93==o)return!i&&xM(jT.LinkLabel,t+n,s+1+n);if(i&&!UT(o)&&(i=!1),91==o)return!1;92==o&&(r=!0)}}return null}class jM{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,r){return this.append(new CM(e,t,n,(i?1:0)|(r?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof CM&&(t.type==YM||t.type==AM))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof CM&&n.type.resolve&&2&n.side))continue;let i,r=n.type==OM||n.type==DM,s=n.to-n.from,o=t-1;for(;o>=e;o--){let e=this.parts[o];if(e instanceof CM&&1&e.side&&e.type==n.type&&!(r&&(1&n.side||2&e.side)&&(e.to-e.from+s)%3==0&&((e.to-e.from)%3||s%3))){i=e;break}}if(!i)continue;let a=n.type.resolve,l=[],c=i.from,d=n.to;if(r){let e=Math.min(2,i.to-i.from,s);c=i.to-e,d=n.from+e,a=1==e?"Emphasis":"StrongEmphasis"}i.type.mark&&l.push(this.elt(i.type.mark,c,i.to));for(let e=o+1;e<t;e++)this.parts[e]instanceof LM&&l.push(this.parts[e]),this.parts[e]=null;n.type.mark&&l.push(this.elt(n.type.mark,n.from,d));let u=this.elt(a,c,d,l);this.parts[o]=r&&i.from!=c?new CM(i.type,i.from,c,i.side):null,(this.parts[t]=r&&n.to!=d?new CM(n.type,d,n.to,n.side):null)?this.parts.splice(t,0,u):this.parts[t]=u}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof LM&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof CM&&n.type==e&&1&n.side)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof CM?t:null}skipSpace(e){return VT(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return"string"==typeof e?xM(this.parser.getNodeType(e),t,n,i):new SM(e,t)}}function FM(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),i=0;for(let e of t){for(;i<n.length&&n[i].to<e.to;)i++;if(i<n.length&&n[i].from<e.from){let t=n[i];t instanceof LM&&(n[i]=new LM(t.type,t.from,t.to,FM(t.children,[e])))}else n.splice(i++,0,e)}return n}jM.linkStart=YM,jM.imageStart=AM;const BM=[jT.CodeBlock,jT.ListItem,jT.OrderedList,jT.BulletList];class $M{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let i=e+this.fragment.offset;for(;n.to<=i;)if(!n.parent())return!1;for(;;){if(n.from>=i)return this.fragment.from<=t;if(!n.childAfter(i))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(Ll.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,s=r,o=e.block.children.length,a=s,l=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}let r=WM(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,r);else{let n=new El(e.parser.nodeSet.types[jT.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,r)}if(t.type.is("Block")&&(BM.indexOf(t.type.id)<0?(s=t.to-n,o=e.block.children.length):(s=a,o=l,a=t.to-n,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-r}}function WM(e,t){let n=e;for(let i=1;i<t.length;i++){let r=t[i-1].to,s=t[i].from;r<e&&(n-=s-r)}return n}const UM=$c({"Blockquote/...":dd.quote,HorizontalRule:dd.contentSeparator,"ATXHeading1/... SetextHeading1/...":dd.heading1,"ATXHeading2/... SetextHeading2/...":dd.heading2,"ATXHeading3/...":dd.heading3,"ATXHeading4/...":dd.heading4,"ATXHeading5/...":dd.heading5,"ATXHeading6/...":dd.heading6,"Comment CommentBlock":dd.comment,Escape:d
2d.escape,Entity:dd.character,"Emphasis/...":dd.emphasis,"StrongEmphasis/...":dd.strong,"Link/... Image/...":dd.link,"OrderedList/... BulletList/...":dd.list,"BlockQuote/...":dd.quote,"InlineCode CodeText":dd.monospace,"URL Autolink":dd.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":dd.processingInstruction,"CodeInfo LinkLabel":dd.labelName,LinkTitle:dd.string,Paragraph:dd.content}),VM=new _M(new Dl(kM).extend(UM),Object.keys(cM).map(e=>cM[e]),Object.keys(cM).map(e=>fM[e]),Object.keys(cM),mM,WT,Object.keys(PM).map(e=>PM[e]),Object.keys(PM),[]);const ZM={resolve:"Strikethrough",mark:"StrikethroughMark"};dd.strikethrough,dd.processingInstruction;function qM(e,t,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,d=()=>{i.push(e.elt("TableCell",r+a,r+l,e.parser.parseInline(t.slice(a,l),r+a)))};for(let s=n;s<t.length;s++){let n=t.charCodeAt(s);124!=n||c?(c||32!=n&&9!=n)&&(a<0&&s,s+1):((!o||a>-1)&&0,i&&(a>-1&&d(),i.push(e.elt("TableDelimiter",s+r,s+r+1))),-1)}return a>-1&&(i&&d()),s}function QM(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&0}return!1}const XM=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class GM{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let i;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&XM.test(t.text.slice(t.pos))){let r=[];qM(e,n.content,0,r,n.start)==qM(e,i,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,r),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];qM(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}dd.heading,dd.content,dd.processingInstruction;class KM{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}dd.list,dd.atom;function JM(e,t,n){return(i,r,s)=>{if(r!=e||i.char(s+1)==e)return-1;let o=[i.elt(n,s,s+1)];for(let r=s+1;r<i.end;r++){let a=i.char(r);if(a==e)return i.addElement(i.elt(t,s,r+1,o.concat(i.elt(n,r,r+1))));if(92==a&&o.push(i.elt("Escape",r,2+r++)),UT(a))break}return-1}}dd.special(dd.content),dd.processingInstruction,JM(94,"Superscript","SuperscriptMark"),dd.special(dd.content),dd.processingInstruction,JM(126,"Subscript","SubscriptMark"),dd.character;function eL(e){const t=[];return e.iterate({enter:e=>{const n=e.node;if(!n.type.isError)return;const i=n.parent,r=tL(n),s={from:n.from,to:n.to,severity:"error",type:"Syntax Error"};if(n.from!==n.to)s.message=`Unrecognized token in <${i.name}>`;else if(r)s.message=`Unrecognized token <${r.name}> in <${i.name}>`,s.to=r.to;else{const e=i.enterUnfinishedNodesBefore(n.to);s.message=`Incomplete <${(e||i).name}>`}t.push(s)}}),t}function tL(e){return e?e.nextSibling||tL(e.parent):null}var nL={create(e){return{enter(t){if("FilterExpression"!==t.name)return;const n=e.readContent(t.from,t.to);if(/\[\s*0\s*\]$/.test(n)){const{from:i,to:r}=t;e.report({from:i,to:r,message:"First item is accessed via [1]",severity:"warning",type:"first-item",actions:[{name:"fix",apply(t,s=i,o=r){e.updateContent(s,o,n.replace(/\[\s*0\s*\]$/,"[1]"))}}]})}}}}};const iL=[nL];function rL(e){const{readContent:t,syntaxTree:n,updateContent:i}=e,r=[],s={readContent:t,report:e=>{r.push(e)},updateContent:i},o=iL.map(e=>e.create(s));return n.iterate({enter:e=>{for(const t of o)t.enter&&t.enter(e)},leave:e=>{for(const t of o)t.leave&&t.leave(e)}}),r}function sL(e){return[...eL(e.syntaxTree),...rL(e)]}const oL=nw(Kv.define([{tag:dd.strong,fontWeight:"bold"},{tag:dd.emphasis,fontStyle:"italic"}]));var aL=[gb.theme({"& .cm-lintRange":{position:"relative"},"& .cm-lintRange::after":{content:'""',width:"100%",position:"absolute",left:"0px",bottom:"-2px",height:"3px",backgroundRepeat:"repeat-x"},"& .cm-lintRange.cm-lintRange-warning, & .cm-lintRange.cm-lintRange-error":{backgroundImage:"none"},"& .cm-lintPoint::after":{bottom:"-2px"}}),oL];const lL=e=>`%23${e.slice(1)}`,cL={black:"#1f2b36",darkGrey:"#2f3d58",grey:"#404a5c",midGrey:"#576071",lightGrey:"#c5d1e5",offWhite:"#d9e0f5",snowWhite:"#eaf1ff",white:"#ffffff",mossGreen:"#7ab6aa",iceBlue:"#6cbfd8",waterBlue:"#065aaa",brightBlue:"#0a56b9",deepBlue:"#355472",red:"#9f1c15",orangeBrown:"#b4502f",yellow:"#debd71",lila:"#9a4890",purple:"#5b2c83"}
2,dL={lightBackground:cL.white,darkBackground:cL.snowWhite,selection:cL.snowWhite,tooltipBackground:cL.offWhite,error:cL.red,warning:cL.yellow,invalid:"#b40000"};var uL=[gb.theme({"&":{color:cL.black,backgroundColor:dL.lightBackground},".cm-content":{caretColor:cL.darkGrey},".cm-cursor, .cm-dropCursor":{borderLeftColor:cL.darkGrey},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:dL.selection},".cm-panels":{backgroundColor:dL.darkBackground,color:cL.grey},".cm-panels.cm-panels-top":{borderBottom:`2px solid ${cL.black}`},".cm-panels.cm-panels-bottom":{borderTop:`2px solid ${cL.black}`},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:`1px solid ${cL.midGrey}`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:cL.offWhite},".cm-activeLine":{backgroundColor:dL.selection},".cm-selectionMatch":{backgroundColor:cL.offWhite},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{outline:`1px solid ${cL.grey}`},"&.cm-focused .cm-matchingBracket":{backgroundColor:cL.snowWhite},".cm-gutters":{backgroundColor:"#f3f7fe",color:"#52668d",border:"none",padding:"0 5px"},".cm-activeLineGutter":{backgroundColor:dL.selection},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:dL.tooltipBackground},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:dL.tooltipBackground,borderBottomColor:dL.tooltipBackground},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:dL.darkBackground,color:cL.midGrey}},"& .cm-lintRange.cm-lintRange-warning::after":{backgroundImage:`url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='3'><path d='m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0' stroke='${lL(dL.warning)}' fill='none' stroke-width='1.2'/></svg>")`},"& .cm-lintRange.cm-lintRange-error::after":{backgroundImage:`url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='3'><path d='m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0' stroke='${lL(dL.error)}' fill='none' stroke-width='1.2'/></svg>")`},"& .cm-diagnostic-warning":{border:`1px solid ${dL.warning}`,borderLeft:`5px solid ${dL.warning}
2`,background:dL.lightBackground},"& .cm-diagnostic-error":{border:`1px solid ${dL.error}`,borderLeft:`5px solid ${dL.error}`,background:dL.lightBackground},"& .cm-diagnostic":{padding:"3px 8px"}},{dark:!1}),nw(Kv.define([{tag:[dd.macroName,dd.variableName],color:cL.waterBlue},{tag:[dd.special(dd.bracket)],color:cL.waterBlue,fontWeight:"bold"},{tag:[dd.color,dd.name,dd.definition(dd.name),dd.constant(dd.name),dd.standard(dd.name),dd.propertyName],color:cL.deepBlue},{tag:[dd.definition(dd.variableName),dd.function(dd.variableName),dd.function(dd.propertyName)],color:cL.brightBlue},{tag:[dd.labelName],color:cL.orangeBrown},{tag:[dd.annotation],color:dL.invalid},{tag:[dd.number,dd.changed,dd.annotation,dd.modifier,dd.self,dd.namespace,dd.atom,dd.bool,dd.special(dd.variableName)],color:cL.red},{tag:[dd.typeName,dd.className,dd.attributeName],color:cL.lila},{tag:[dd.operator,dd.operatorKeyword,dd.tagName,dd.keyword],color:cL.purple},{tag:[dd.angleBracket,dd.squareBracket,dd.brace,dd.separator,dd.punctuation],color:cL.midGrey},{tag:[dd.regexp],color:cL.deepBlue},{tag:[dd.quote],color:cL.darkGrey},{tag:[dd.string,dd.character,dd.deleted],color:cL.orangeBrown},{tag:dd.link,color:cL.mossGreen,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[dd.url,dd.escape,dd.special(dd.string)],color:cL.red},{tag:[dd.meta],color:cL.iceBlue},{tag:[dd.comment],color:cL.midGrey,fontStyle:"italic"},{tag:dd.strong,fontWeight:"bold",color:cL.deepBlue},{tag:dd.emphasis,fontStyle:"italic",color:cL.deepBlue},{tag:dd.strikethrough,textDecoration:"line-through"},{tag:dd.heading,fontWeight:"bold",color:cL.midGray},{tag:dd.special(dd.heading1),fontWeight:"bold",color:cL.darkGrey},{tag:[dd.heading1,dd.heading2,dd.heading3,dd.heading4],fontWeight:"bold",color:cL.midGrey},{tag:[dd.heading5,dd.heading6,dd.processingInstruction,dd.inserted],color:cL.grey},{tag:[dd.contentSeparator],color:cL.yellow},{tag:dd.invalid,color:cL.midGrey,borderBottom:`1px dotted ${dL.invalid}`}]))];const hL="#f07178",fL="#fffce1",mL="#ec9e6f",pL="rgba(0, 0, 0, 0.5)",gL="#353a42",yL="#ffcc00",_L="fff890";var bL=[gb.theme({"&":{color:"#ffffff",backgroundColor:"#292d3e"},".cm-content":{caretColor:yL},"&.cm-focused .cm-cursor":{borderLeftColor:yL},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"rgba(128, 203, 196, 0.2)"},".cm-panels":{backgroundColor:"#21252b",color:"#ffffff"},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:pL},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{background:"#292d3e",color:"#676e95",border:"none",padding:"0 5px"},".cm-activeLineGutter":{backgroundColor:pL},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:gL},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:gL,borderBottomColor:gL},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:pL,color:"#abb2bf"}},"& .cm-lintRange.cm-lintRange-warning::after":{backgroundImage:`url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='3'><path d='m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0' stroke='${"%23"+_L}' fill='none' stroke-width='1.2'/></svg>")`},"& .cm-lintRange.cm-lintRange-error::after":{backgroundImage:"url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='3'><path d='m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0' stroke='red' fill='none' stroke-width='1.2'/></svg>\")"},"& .cm-diagnostic-warning":{borderLeft:`5px solid #${_L}`,background:"#281e16"},"& .cm-diagnostic-error":{borderLeft:"5px solid red",background:"#281616"},"& .cm-diagnostic":{borderRadius:"2px",padding:"3px 8px"}},{dark:!0}),nw(Kv.define([{tag:dd.heading1,color:fL},{tag:dd.heading2,color:fL},{tag:dd.heading3,color:fL},{tag:dd.heading4,color:fL},{tag:dd.heading5,color:fL},{tag:dd.heading6,color:fL},{tag:dd.special(dd.bracket),color:mL,fontWeight:"bold"}
2,{tag:dd.keyword,color:"#c792ea"},{tag:dd.operator,color:"#89ddff"},{tag:dd.special(dd.variableName),color:"#eeffff"},{tag:dd.typeName,color:"#f07178"},{tag:dd.atom,color:"#f78c6c"},{tag:dd.number,color:"#ff5370"},{tag:dd.bool,color:"#ff5370"},{tag:dd.definition(dd.variableName),color:"#82aaff"},{tag:dd.string,color:"#c3e88d"},{tag:dd.comment,color:"#7d8799"},{tag:dd.tagName,color:"#ff5370"},{tag:dd.bracket,color:"#a2a1a4"},{tag:dd.meta,color:"#ffcb6b"},{tag:dd.special(dd.string),color:hL},{tag:dd.propertyName,color:mL},{tag:dd.variableName,color:mL},{tag:dd.attributeName,color:hL},{tag:dd.className,color:hL},{tag:dd.invalid,color:"#ffffff"}]))];const vL=[...aL,...uL],wL=[...aL,...bL],kL=123,TL=125,ML=(e,t=0)=>{const n=e.peek(t)===TL,i=e.peek(t+1)===TL;return n&&i||-1===e.peek(t)},LL=new kc((e,t)=>{let n=0;for(;!ML(e,n);)n++;n>0&&(e.advance(n),e.acceptToken(2))}),SL=(e,t=0)=>{const n=e.peek(t)===kL,i=e.peek(t+1)===kL;return n&&i||-1===e.peek(t)},xL=new kc((e,t)=>{let n=0;for(;!SL(e,n);)n++;n>0&&(e.advance(n),e.acceptToken(3))}),OL=new kc((e,t)=>{let n=0;for(;-1!==e.peek(n);)n++;n>0&&(e.advance(n),e.acceptToken(1))}),DL=$c({ConditionalSpanner:dd.special(dd.bracket),ConditionalSpannerClose:dd.special(dd.bracket),ConditionalSpannerCloseNl:dd.special(dd.bracket),LoopSpanner:dd.special(dd.bracket),LoopSpannerClose:dd.special(dd.bracket),LoopSpannerCloseNl:dd.special(dd.bracket),EmptyInsert:dd.special(dd.bracket),Insert:dd.special(dd.bracket)}),YL=Nc.deserialize({version:14,states:"$bOQOaOOOfOXO'#CbOOO`'#Cm'#CmOqOWO'#CcOvOWO'#CfOOO`'#Cp'#CpOOO`'#Ci'#CiO{OaO'#ClO!jOSOOQOOOOOO!oOPO,58{O!tOXO,58|OOO`,58|,58|O!|OQO,58}O#ROQO,59QOOO`-E6g-E6gOOO`1G.g1G.gO#WOPO1G.gOOO`1G.h1G.hO#]OaO1G.iO#qOaO1G.lOOO`7+$R7+$RO$VOPO7+$TO$_OPO7+$WOOO`<<Go<<GoOOO`<<Gr<<Gr",stateData:"$g~ORUO_WObPOeROgSO^`P~OQYO_ZOc[O~OQ]O~OQ^O~ORUObPOeROgSO^`XW`XX`XZ`X[`X~OPXO~Oc`O~OQaOcbO~OfcO~OfdO~OceO~ORUObPOeROgSOW`PX`P~ORUObPOeROgSOZ`P[`P~OWhOXhO~OZiO[iO~O",goto:"!ZePPPPPfflPPlPPrPPz!TPP!TXQOVcdXTOVcdUVOcdR_VQXOQfcRgdXUOVcd",nodeNames:"â Feel FeelBlock SimpleTextBlock Feelers Insert EmptyInsert ConditionalSpanner ConditionalSpannerClose ConditionalSpannerCloseNl LoopSpanner LoopSpannerClose LoopSpannerCloseNl",maxTerm:23,propSources:[DL],skippedNodes:[0],repeatNodeCount:1,tokenData:"%X~RR!_!`[#o#pa#q#r$r~aO_~~dP#o#pg~lQb~str!P!Q!{~uQ#]#^{#`#a!^~!OP#Y#Z!R~!UPpq!X~!^Oe~~!aP#c#d!d~!gP#c#d!j~!mP#d#e!p~!sPpq!v~!{Og~~#OQ#]#^#U#`#a#u~#XP#Y#Z#[~#_P#q#r#b~#eP#q#r#h~#mPW~YZ#p~#uOX~~#xP#c#d#{~$OP#c#d$R~$UP#d#e$X~$[P#q#r$_~$bP#q#r$e~$jPZ~YZ$m~$rO[~R$uP#q#r$xR%PPcPfQYZ%SQ%XOfQ",tokenizers:[0,1,OL,LL,xL],topRules:{Feelers:[0,4]},tokenPrec:0});function AL(e,t){const n=[{children:[]}];return e.iterate({enter:(e,i,r)=>{const s={name:e.type.name,children:[]};(e=>["SimpleTextBlock","Feel","FeelBlock"].includes(e.type.name))(e)&&(s.content=t.slice(e.from,e.to)),n.push(s)},leave:(e,t,i)=>{const r=n.pop(),s=n[n.length-1];r.parent=s,s.children.push(r)}}),n[0].children[0]}const CL=e=>{const{debug:t,strict:n,buildDebugString:i,sanitizer:r}=e,s=e=>{if(t)return i(e);throw e},o=(e,t={})=>{try{return((e,t={})=>{switch(e.name){case"SimpleTextBlock":return e.content;case"Insert":{const n=e.children[0].content;try{const e=Bh(`string(${n})`,t);return r?r(e):e}catch{return s(new Error(`FEEL expression ${n} couldn't be evaluated`))}}case"EmptyInsert":return"";case"Feel":case"FeelBlock":{const n=e.content;try{const e=Bh(`string(${n})`,t);return r?r(e):e}catch(e){return s(new Error(`FEEL expression ${n} couldn't be evaluated`))}}case"Feelers":return e.children.map(e=>o(e,t)).join("");case"ConditionalSpanner":{const i=e.children[0].content;let r;try{r=Bh(i,t)}catch{return s(new Error(`FEEL expression ${i} couldn't be evaluated`))}if(n&&"boolean"!=typeof r)return s(new Error(`FEEL expression ${i} expected to evaluate to a boolean`));if(r){const n=e.children.slice(1,e.children.length-1).map(e=>o(e,t)).join(""),i=e.children[e.children.length-1].name.endsWith("Nl")&&!n.endsWith("\n");return n+(i?"\n":"")}return""}case"LoopSpanner":{const i=e.children[0].content;let r;try{r=Bh(i,t)}catch{return s(new Error(`FEEL expression ${i} couldn't be evaluated`))}if(!Array.isArray(r)){if(n)return s(new Error(`FEEL expression ${i} expected to evaluate to an array`));r=null==r?[]:[r]}const a=e.children.slice(1,e.children.length-1),l=(e,t)=>
2{const n=EL(e,t);return a.map(e=>o(e,n)).join("")},c=r.map(e=>l(e,t)).join(""),d=e.children[e.children.length-1].name.endsWith("Nl")&&!c.endsWith("\n");return c+(d?"\n":"")}}})(e,t)}catch(e){return s(e)}};return o},EL=(e,t)=>"object"==typeof e?{this:e,parent:t,...e,_this_:e,_parent_:t}:{this:e,parent:t,_this_:e,_parent_:t},IL={ConditionalSpanner:Gv,LoopSpanner:Gv};const PL=e=>new Nv(function(e=null){const t=YL.configure({wrap:(n=t=>"Feel"==t.name||"FeelBlock"==t.name?{parser:uu}:e&&"SimpleTextBlock"==t.name?{parser:e}:null,(e,t,i,r)=>new rc(e,n,t,i,r)),props:[Xv.add(IL)]});var n;return Lv.define({parser:t})}(e),[]);function NL(e){const t=[];return e.iterate({enter:e=>{"EmptyInsert"===e.type.name&&t.push({from:e.from,to:e.to,severity:"warning",message:"this insert is empty and will be ignored",type:"emptyInsert"})}}),t}var RL=function(e,t={}){return[ST.of({source:e,config:t}),LT,zT]}(function(){const e=e=>{if(0===e.state.doc.length)return[];const t=sL({syntaxTree:Sv(e.state),readContent:(t,n)=>e.state.sliceDoc(t,n),updateContent:(t,n,i)=>e.dispatch({changes:{from:t,to:n,insert:i}})});return t.map(e=>({...e,source:e.type}))};return t=>{const n=e(t);if(0===t.state.doc.length)return[];return[...n,...function(e){return[...NL(e)]}(Sv(t.state)).map(e=>({...e,source:"feelers linter"}))]}}());function zL({container:e,tooltipContainer:t,hostLanguage:n,hostLanguageParser:i,onChange:r=()=>{},onKeyDown:s=()=>{},onLint:o=()=>{},contentAttributes:a={},readOnly:l=!1,value:c="",enableGutters:d=!1,singleLine:u=!1,lineWrap:h=!1,darkMode:f=!1}){const m=gb.updateListener.of(e=>{e.docChanged&&r(e.state.doc.toString())}),p=gb.updateListener.of(e=>{const t=e.transactions.flatMap(e=>e.effects).filter(e=>e.is(yT));if(!t.length)return;const n=t.flatMap(e=>e.value);o(n)}),g=gb.contentAttributes.of(a),y=gb.domEventHandlers({keydown:s});"string"==typeof t&&(t=document.querySelector(t));const _=t?function(e={}){return Ib.of(e)}({tooltipSpace:function(){return t.getBoundingClientRect()}}):[],b=PL(i||n&&(e=>"markdown"===e?VM:null)(n)),v=[fw(),m,g,[Iw,Dw],Im.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,a=-1,l=[];for(let{head:e}of o.selection.ranges){let t=o.doc.lineAt(e);if(t.from==a)continue;a=t.from;let n=Fv(o,t.from);if(null==n)continue;let i=/^\s*/.exec(t.text)[0],r=jv(o,n);i!=r&&l.push({from:t.from,to:t.from+i.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e}),y,Mb.of([...cT]),b,RL,p,_,f?wL:vL,...d?[yv()]:[],...u?[Im.transactionFilter.of(e=>e.newDoc.lines>1?[]:e)]:[],...h?[gb.lineWrapping]:[]];return l&&v.push(gb.editable.of(!1)),u&&c&&(c=c.toString().split("\n")[0]),this._cmEditor=new gb({state:Im.create({doc:c,extensions:v}),parent:e}),this}function HL(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}zL.prototype.setValue=function(e){this._cmEditor.dispatch({changes:{from:0,to:this._cmEditor.state.doc.length,insert:e}})},zL.prototype.focus=function(e){const t=this._cmEditor;if(t.contentDOM.focus(),t.focus(),"number"==typeof e){const n=t.state.doc.length;t.dispatch({selection:{anchor:e<=n?e:n}})}},zL.prototype.getSelection=function(){return this._cmEditor.state.selection};var jL={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function FL(e){jL=e}var BL={exec:()=>null};function $L(e,t=""){let n="string"==typeof e?e:e.source,i={replace:(e,t)=>{let r="string"==typeof t?t:t.source;return r=r.replace(UL.caret,"$1"),n=n.replace(e,r),i},getRegex:()=>new RegExp(n,t)};return i}var WL=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),UL={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 4,197 bytes, line 2
2:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},VL=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ZL=/(?:[*+-]|\d{1,9}[.)])/,qL=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,QL=$L(qL).replace(/bull/g,ZL).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),XL=$L(qL).replace(/bull/g,ZL).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),GL=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,KL=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,JL=$L(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",KL).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),eS=$L(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ZL).getRegex(),tS="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",nS=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,iS=$L("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",nS).replace("tag",tS).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),rS=$L(GL).replace("hr",VL).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",tS).getRegex(),sS={blockquote:$L(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",rS).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:JL,fences:/^ {0,3}(`{3,}
vendor: 7,118 bytes, line 2
2(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:VL,html:iS,lheading:QL,list:eS,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:rS,table:BL,text:/^[^\n]+/},oS=$L("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",VL).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",tS).getRegex(),aS={...sS,lheading:XL,table:oS,paragraph:$L(GL).replace("hr",VL).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oS).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",tS).getRegex()},lS={...sS,html:$L("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",nS).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:BL,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$L(GL).replace("hr",VL).replace("heading"," *#{1,6} *[^\n]").replace("lheading",QL).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},cS=/^( {2,}|\\)\n(?!\s*$)/,dS=/[\p{P}\p{S}]/u,uS=/[\s\p{P}\p{S}]/u,hS=/[^\s\p{P}\p{S}]/u,fS=$L(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,uS).getRegex(),mS=/(?!~)[\p{P}\p{S}]/u,pS=$L(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",WL?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),gS=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,yS=$L(gS,"u").replace(/punct/g,dS).getRegex(),_S=$L(gS,"u").replace(/punct/g,mS).getRegex(),bS="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",vS=$L(bS,"gu").replace(/notPunctSpace/g,hS).replace(/punctSpace/g,uS).replace(/punct/g,dS).getRegex(),wS=$L(bS,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,mS).getRegex(),kS=$L("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,hS).replace(/punctSpace/g,uS).replace(/punct/g,dS).getRegex(),TS=$L(/\\(punct)/,"gu").replace(/punct/g,dS).getRegex(),MS=$L(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),LS=$L(nS).replace("(?:--\x3e|$)","--\x3e").getRegex(),SS=$L("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",LS).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),xS=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,OS=$L(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",xS).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),DS=$L(/^!?\[(label)\]\[(ref)\]/).replace("label",xS).replace("ref",KL).getRegex(),YS=$L(/^!?\[(ref)\](?:\[\])?/).replace("ref",KL).getRegex(),AS=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,CS={_backpedal:BL,anyPunctuation:TS,autolink:MS,blockSkip:pS,br:cS,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:BL,emStrongLDelim:yS,emStrongRDelimAst:vS,emStrongRDelimUnd:kS,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:OS,nolink:YS,punctuation:fS,reflink:DS,reflinkSearch:$L("reflink|nolink(?!\\()","g").replace("reflink",DS).replace("nolink",YS).getRegex(),tag:SS,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:BL},ES={...CS,link:$L(/^!?\[(label)\]\((.*?)\)/).replace("label",xS).getRegex(),reflink:$L(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",xS).getRegex()},IS={...CS,emStrongRDelimAst:wS,emStrongLDelim:_S,url:$L(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",AS).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:$L(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",AS).getRegex()},PS={...IS,br:$L(cS).replace("{2,}","*").getRegex(),text:$L(IS.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},NS={normal:sS,gfm:aS,pedantic:lS},RS={normal:CS,gfm:IS,breaks:PS,pedantic:ES},zS={"&":"&","<":"<",">":">",'"':""","'":"'"},HS=e=>zS[e];function jS(e,t){if(t){if(UL.escapeTest.test(e))return e.replace(UL.escapeReplace,HS)}else if(UL.escapeTestNoEncode.test(e))return e.replace(UL.escapeReplaceNoEncode,HS);return e}function FS(e){try{e=encodeURI(e).replace(UL.percentDecode,"%")}catch{return null}return e}function BS(e,t){let n=e.replace(UL.findPipe,(e,t,n)=>{let i=!1,r=t;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"}),i=n.split(UL.splitPipe),r=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;r<i.length;r++)i[r]=i[r].trim().replace(UL.slashPipe,"|");return i}function $S(e,t,n){let i=e.length;if(0===i)return"";let r=0;for(;r<i;){let s=e.charAt(i-r-1);if(s!==t||n){if(s===t||!n)break;r++}else r++}return e.slice(0,i-r)}function WS(e,t,n,i,r){let s=t.href,o=t.title||null,a=e[1].replace(r.other.outputLinkReplace,"$1");i.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:s,title:o,text:a,tokens:i.inl
vendor: 11,140 bytes, line 2
2ineTokens(a)};return i.state.inLink=!1,l}var US=class{options;rules;lexer;constructor(e){this.options=e||jL}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:$S(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let i=e.match(n.other.indentCodeCompensation);if(null===i)return t;let r=i[1];return t.split("\n").map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[i]=t;return i.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=$S(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:$S(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=$S(t[0],"\n").split("\n"),n="",i="",r=[];for(;e.length>0;){let t,s=!1,o=[];for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))o.push(e[t]),s=!0;else{if(s)break;o.push(e[t])}e=e.slice(t);let a=o.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,i=i?`${i}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=c,0===e.length)break;let d=r.at(-1);if("code"===d?.type)break;if("blockquote"===d?.type){let t=d,s=t.raw+"\n"+e.join("\n"),o=this.blockquote(s);r[r.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,i=i.substring(0,i.length-t.text.length)+o.text;break}if("list"===d?.type){let t=d,s=t.raw+"\n"+e.join("\n"),o=this.list(s);r[r.length-1]=o,n=n.substring(0,n.length-d.raw.length)+o.raw,i=i.substring(0,i.length-t.raw.length)+o.raw,e=s.substring(r.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:r,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),i=n.length>1,r={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");let s=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,i="",a="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;i=t[0],e=e.substring(i.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],d=!l.trim(),u=0;if(this.options.pedantic?(u=2,a=l.trimStart()):d?u=t[1].length+1:(u=t[2].search(this.rules.other.nonSpaceChar),u=u>4?1:u,a=l.slice(u),u+=t[1].length),d&&this.rules.other.blankLine.test(c)&&(i+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(u),n=this.rules.other.hrRegex(u),r=this.rules.other.fencesBeginRegex(u),s=this.rules.other.headingBeginRegex(u),o=this.rules.other.htmlBeginRegex(u);for(;e;){let h,f=e.split("\n",1)[0];if(c=f,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),h=c):h=c.replace(this.rules.other.tabCharGlobal," "),r.test(c)||s.test(c)||o.test(c)||t.test(c)||n.test(c))break;if(h.search(this.rules.other.nonSpaceChar)>=u||!c.trim())a+="\n"+h.slice(u);else{if(d||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||r.test(l)||s.test(l)||n.test(l))break;a+="\n"+c}!d&&!c.trim()&&(d=!0),i+=f+"\n",e=e.substring(f.length+1),l=h.slice(u)}}r.loose||(o?r.loose=!0:this.rules.other.doubleBlankLine.test(i)&&(o=!0));let h,f=null;this.options.gfm&&(f=this.rules.other.listIsTask.exec(a),f&&(h="[ ] "!==f[0],a=a.replace(this.rules.other.listReplaceTask,""))),r.items.push({type:"list_item",raw:i,task:!!f,checked:h,loose:!1,text:a,tokens:[]}),r.raw+=i}let a=r.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),r.raw=r.raw.trimEnd();for(let e=0;e<r.items.length;e++)if(this.lexer.state.top=!1,r.items[e].tokens=this.lexer.blockTokens(r.items[e].text,[]),!r.loose){let t=r.items[e].tokens.filter(e=>"space"===e.type),n=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));r.loose=n}if(r.loose)for(let e=0;e<r.items.length;e++)r.items[e].loose=!0;return r}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:i}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=BS(t[1]),i=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),r=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===i.length){for(let e of i)this.rules.other.tableAlignRight.test(e)?s.align.push("right"):this.rules.other.tableAlignCenter.test(e)?s.align.push("center"):this.rules.other.tableAlignLeft.test(e)?s.align.push("left"):s.align.push(null);for(let e=0;e<n.length;e++)s.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:s.align[e]});for(let e of r)s.rows.push(BS(e,s.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:s.align[t]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=$S(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return n>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],i=e[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),WS(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return WS(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!i[1]&&!i[2]||!n||this.rules.inline.punctuation.exec(n))){let n,r,s=[...i[0]].length-1,o=s,a=0,l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+s);null!=(i=l.exec(t));){if(n=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!n)continue;if(r=[...n].length,i[3]||i[4]){o+=r;continue}if((i[5]||i[6])&&s%3&&!((s+r)%3)){a+=r;continue}if(o-=r,o>0)continue;r=Math.min(r,r+o+a);let t=[...i[0]][0].length,l=e.slice(0,s+i.index+t+r);if(Math.min(s,r)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),i=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&i&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=t[1],n="mailto:"+e):(e=t[1],n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=t[0],n="mailto:"+e;else{let i;do{i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(i!==t[0]);e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},VS=class e{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||jL,this.options.tokenizer=this.options.tokenizer||new US,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:UL,block:NS.normal,inline:RS.normal};this.options.pedantic?(t.block=NS.pedantic,t.inline=RS.pedantic):this.options.gfm&&(t.block=NS.gfm,this.options.breaks?t.inline=RS.breaks:t.inline=RS.gfm),this.tokenizer.rules=t}static get rules(){return{block:NS,inline:RS}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(UL.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;
vendor: 4,541 bytes, line 2
2e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(UL.tabCharGlobal," ").replace(UL.spaceLine,""));e;){let i;if(this.options.extensions?.block?.some(n=>!!(i=n.call({lexer:this},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let n=t.at(-1);1===i.raw.length&&void 0!==n?n.raw+="\n":t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+i.raw,n.text+="\n"+i.text,this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let n=t.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+i.raw,n.text+="\n"+i.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},t.push(i));continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),t.push(i);continue}let r=e;if(this.options.extensions?.startBlock){let t,n=1/0,i=e.slice(1);this.options.extensions.startBlock.forEach(e=>{t=e.call({lexer:this},i),"number"==typeof t&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(r=e.substring(0,n+1))}if(this.state.top&&(i=this.tokenizer.paragraph(r))){let s=t.at(-1);n&&"paragraph"===s?.type?(s.raw+=(s.raw.endsWith("\n")?"":"\n")+i.raw,s.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(i),n=r.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let n=t.at(-1);"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,i=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(i));)e.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.anyPunctuation.exec(i));)i=i.slice(0,r.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(i));)n=r[2]?r[2].length:0,i=i.slice(0,r.index+n)+"["+"a".repeat(r[0].length-n-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);i=this.options.hooks?.emStrongMask?.call({lexer:this},i)??i;let s=!1,o="";for(;e;){let n;if(s||(o=""),s=!1,this.options.extensions?.inline?.some(i=>!!(n=i.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length);let i=t.at(-1);"text"===n.type&&"text"===i?.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,i,o)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}let r=e;if(this.options.extensions?.startInline){let t,n=1/0,i=e.slice(1);
vendor: 6,786 bytes, line 2
2this.options.extensions.startInline.forEach(e=>{t=e.call({lexer:this},i),"number"==typeof t&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(r=e.substring(0,n+1))}if(n=this.tokenizer.inlineText(r)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),s=!0;let i=t.at(-1);"text"===i?.type?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},ZS=class{options;parser;constructor(e){this.options=e||jL}space(e){return""}code({text:e,lang:t,escaped:n}){let i=(t||"").match(UL.notSpaceStart)?.[0],r=e.replace(UL.endingNewline,"")+"\n";return i?'<pre><code class="language-'+jS(i)+'">'+(n?r:jS(r,!0))+"</code></pre>\n":"<pre><code>"+(n?r:jS(r,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){let t=e.ordered,n=e.start,i="";for(let t=0;t<e.items.length;t++){let n=e.items[t];i+=this.listitem(n)}let r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+i+"</"+r+">\n"}listitem(e){let t="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===e.tokens[0]?.type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+jS(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let i="";for(let t=0;t<e.rows.length;t++){let r=e.rows[t];n="";for(let e=0;e<r.length;e++)n+=this.tablecell(r[e]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+i+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${jS(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let i=this.parser.parseInline(n),r=FS(e);if(null===r)return i;let s='<a href="'+(e=r)+'"';return t&&(s+=' title="'+jS(t)+'"'),s+=">"+i+"</a>",s}image({href:e,title:t,text:n,tokens:i}){i&&(n=this.parser.parseInline(i,this.parser.textRenderer));let r=FS(e);if(null===r)return jS(n);let s=`<img src="${e=r}" alt="${n}"`;return t&&(s+=` title="${jS(t)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:jS(e.text)}},qS=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},QS=class e{options;renderer;textRenderer;constructor(e){this.options=e||jL,this.options.renderer=this.options.renderer||new ZS,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new qS}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e,t=!0){let n="";for(let i=0;i<e.length;i++){let r=e[i];if(this.options.extensions?.renderers?.[r.type]){let e=r,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(e.type)){n+=t||"";continue}}let s=r;switch(s.type){case"space":n+=this.renderer.space(s);continue;case"hr":n+=this.renderer.hr(s);continue;case"heading":n+=this.renderer.heading(s);continue;case"code":n+=this.renderer.code(s);continue;case"table":n+=this.renderer.table(s);continue;case"blockquote":n+=this.renderer.blockquote(s);continue;case"list":n+=this.renderer.list(s);continue;case"html":n+=this.renderer.html(s);continue;case"def":n+=this.renderer.def(s);continue;case"paragraph":n+=this.renderer.paragraph(s);continue;case"text":{let r=s,o=this.renderer.text(r);for(;i+1<e.length&&"text"===e[i+1].type;)r=e[++i],o+="\n"+this.renderer.text(r);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t=this.renderer){let n="";for(let i=0;i<e.length;i++){let r=e[i];if(this.options.extensions?.renderers?.[r.type]){let e=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){n+=e||"";continue}}let s=r;switch(s.type){case"escape":case"text":n+=t.text(s);break;case"html":n+=t.html(s);break;case"link":n+=t.link(s);break;case"image":n+=t.image(s);break;case"strong":n+=t.strong(s);break;case"em":n+=t.em(s);break;case"codespan":n+=t.codespan(s);break;case"br":n+=t.br(s);break;case"del":n+=t.del(s);break;default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}},XS=class{options;block;constructor(e){this.options=e||jL}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?VS.lex:VS.lexInline}provideParser(){return this.block?QS.parse:QS.parseInline}},GS=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=QS;Renderer=ZS;TextRenderer=qS;Lexer=VS;Tokenizer=US;Hooks=XS;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{let e=i;for(let i of e.header)n=n.concat(this.walkTokens(i.tokens,t));for(let i of e.rows)for(let e of i)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{let e=i;
2n=n.concat(this.walkTokens(e.items,t));break}default:{let e=i;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(i=>{let r=e[i].flat(1/0);n=n.concat(this.walkTokens(r,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let i=e.renderer.apply(this,t);return!1===i&&(i=n.apply(this,t)),i}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new ZS(this.defaults);for(let n in e.renderer){if(!(n in t))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let i=n,r=e.renderer[i],s=t[i];t[i]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=s.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new US(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let i=n,r=e.tokenizer[i],s=t[i];t[i]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=s.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new XS;for(let n in e.hooks){if(!(n in t))throw new Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let i=n,r=e.hooks[i],s=t[i];XS.passThroughHooks.has(n)?t[i]=e=>{if(this.defaults.async&&XS.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(t,e);return s.call(t,n)})();let i=r.call(t,e);return s.call(t,i)}:t[i]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(t,e);return!1===n&&(n=await s.apply(t,e)),n})();let n=r.apply(t,e);return!1===n&&(n=s.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,i=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(i.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return VS.lex(e,t??this.defaults)}parser(e,t){return QS.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let i={...n},r={...this.defaults,...i},s=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===i.async)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(r.hooks&&(r.hooks.options=r,r.hooks.block=e),r.async)return(async()=>{let n=r.hooks?await r.hooks.preprocess(t):t,i=await(r.hooks?await r.hooks.provideLexer():e?VS.lex:VS.lexInline)(n,r),s=r.hooks?await r.hooks.processAllTokens(i):i;r.walkTokens&&await Promise.all(this.walkTokens(s,r.walkTokens));let o=await(r.hooks?await r.hooks.provideParser():e?QS.parse:QS.parseInline)(s,r);return r.hooks?await r.hooks.postprocess(o):o})().catch(s);try{r.hooks&&(t=r.hooks.preprocess(t));let n=(r.hooks?r.hooks.provideLexer():e?VS.lex:VS.lexInline)(t,r);r.hooks&&(n=r.hooks.processAllTokens(n)),r.walkTokens&&this.walkTokens(n,r.walkTokens);let i=(r.hooks?r.hooks.provideParser():e?QS.parse:QS.parseInline)(n,r);return r.hooks&&(i=r.hooks.postprocess(i)),i}catch(e){return s(e)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+jS(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function KS(e,t){return GS.parse(e,t)}KS.options=KS.setOptions=function(e){return GS.setOptions(e),KS.defaults=GS.defaults,FL(KS.defaults),KS},KS.getDefaults=HL,KS.defaults=jL,KS.use=function(...e){return GS.use(...e),KS.defaults=GS.defaults,FL(KS.defaults),KS},KS.walkTokens=function(e,t){return GS.walkTokens(e,t)},KS.parseInline=GS.parseInline,KS.Parser=QS,KS.parser=QS.parse,KS.Renderer=ZS,KS.TextRenderer=qS,KS.Lexer=VS,KS.lexer=VS.lex,KS.Tokenizer=US,KS.Hooks=XS,KS.parse=KS;KS.options,KS.setOptions,KS.use,KS.walkTokens,KS.parseInline,QS.parse,VS.lex;const JS=(e,t="expression",n={})=>{const{depth:i=0,specialDepthAccessors:r={}}=n;if(!["expression","unaryTest"].includes(t))return[];const s="expression"===t?Wu(e):Uu(e),o=function e(t){if("PathExpression"===t.name){const n=nx(t)[0];return"Context"===n.name?e(n):0===Object.keys(r).length?0===i?[ex(t,0)]:[]:Array.from(tx(t,i,r))}if(0===i&&"VariableName"===t.name)return[t.variableName];if(t.children){const n=t.children.reduce((t,n)=>t.concat(e(n)),[]);return"FilterContext"===t.name?n.filter(e=>"item"!==e):n}return[]}(ix(s,e));return[...new Set(o)]},ex=(e,t)=>nx(e)[t].variableName||null,tx=(e,t,n)=>{let i=[{previous:null,current:t-1}];const r=new Set,s=nx(e);for(let e=0;e<s.length;e++){const t=s[e].variableName;if(t in n){const e=n[t];i=e.reduce((e,t)=>
2[...e,...i.map(e=>({previous:e.current,current:e.current+t}))],[]).filter(e=>e.current>=-1)}else i=i.map(e=>({previous:e.current,current:e.current+1}));i.some(e=>-1===e.previous&&0===e.current)&&r.add(t)}return new Set(r)},nx=e=>{let t=e,n=[];for(;"PathExpression"===t.name;)n.push(t.children[1]),t=t.children[0];return n.push(t),n.reverse()},ix=(e,t)=>{const n=[{children:[]}];return e.iterate({enter:e=>{const i={name:e.type.name,children:[]};"VariableName"===e.type.name&&(i.variableName=t.slice(e.from,e.to)),n.push(i)},leave:()=>{const e=n.pop();n[n.length-1].children.push(e)}}),rx(n[0].children[0])},rx=e=>{const t={name:"Root",children:[e]},n=e=>{if(e.children)for(let i=0;i<e.children.length;i++)if("FilterExpression"===e.children[i].name){const r=e.children[i].children[0],s=e.children[i].children[2];e.children[i]=r;const o={name:"FilterContext",children:[s]};t.children.push(o),n(s)}else n(e.children[i])};return n(e),t};class sx{constructor(e){this._eventBus=e}isExpression(e){return R(e)&&e.startsWith("=")}getVariableNames(e,t={}){const{type:n="expression"}=t;if(!this.isExpression(e))return[];if(!["unaryTest","expression"].includes(n))throw new Error("Unknown expression type: "+n);return JS(e,n)}evaluate(e,t={}){if(!e)return null;if(!R(e)||!e.startsWith("="))return null;try{return function(e,t={},n){const{root:i}=Zu.evaluate(e,t,n);return i(t)}(e.slice(1),t)}catch(e){return this._eventBus.fire("error",{error:e}),null}}}sx.$inject=["eventBus"];class ox{constructor(){}isTemplate(e){return R(e)&&(e.startsWith("=")||/{{.*?}}/.test(e))}getVariableNames(e){if(!this.isTemplate(e))return[];const t=this._extractExpressionsWithDepth(e),n={parent:[-1,1],_parent_:[-1],this:[0,1],_this_:[0]};return t.reduce((e,{expression:t,depth:i})=>e.concat(JS(t,"expression",{depth:i,specialDepthAccessors:n})),[])}evaluate(e,t={},n={}){const{debug:i=!1,strict:r=!1,buildDebugString:s=e=>" {{â }} ",sanitizer:o=e=>e}=n;return((e,t={},n={})=>{const{debug:i=!1,strict:r=!1,buildDebugString:s=e=>`{{ ${e.message.toLowerCase()} }}`,sanitizer:o}=n,a=AL(YL.parse(e),e);return CL({debug:i,strict:r,buildDebugString:s,sanitizer:o})(a,EL(t,null))})(e,t,{debug:i,strict:r,buildDebugString:s,sanitizer:o})}_extractExpressionsWithDepth(e){return function e(t,n=0){if(["Feel","FeelBlock"].includes(t.name))return[{depth:n,expression:t.content}];if("LoopSpanner"===t.name){const i=t.children[0].content,r=t.children.slice(1).reduce((t,i)=>t.concat(e(i,n+1)),[]);return[{depth:n,expression:i},...r]}return t.children.reduce((t,i)=>t.concat(e(i,n)),[])}(AL(YL.parse(e),e))}}ox.$inject=[];const ax=1440,lx="date",cx="time",dx="datetime",ux="utc_offset",hx="utc_normalized",fx=["subtype"],mx=["dateLabel"];const px="sandbox",gx="allow",yx=[{attribute:px,directive:"allow-scripts",property:"allowScripts",label:"Script execution"},{attribute:px,directive:"allow-same-origin",property:"allowSameOrigin",label:"Allow same origin"},{attribute:gx,directive:"fullscreen",property:"fullscreen",label:"Open in fullscreen"},{attribute:gx,directive:"geolocation",property:"geolocation",label:"Geolocation"},{attribute:gx,directive:"camera",property:"camera",label:"Camera access"},{attribute:gx,directive:"microphone",property:"microphone",label:"Microphone access"},{attribute:px,directive:"allow-forms",property:"allowForms",label:"Forms submission"},{attribute:px,directive:"allow-modals",property:"allowModals",label:"Open modal windows"},{attribute:px,directive:"allow-popups",property:"allowPopups",label:"Open popups"},{attribute:px,directive:"allow-top-navigation",property:"allowTopNavigation",label:"Top level navigation"},{attribute:px,directive:"allow-storage-access-by-user-activation",property:"allowStorageAccessByUserActivation",label:"Storage access by user"}];function _x(e,{errors:t=[],disabled:n=!1,readonly:i=!1}={}){if(!e)throw new Error("type required");return Me()("fjs-form-field",`fjs-form-field-${e}`,{"fjs-has-errors":t.length>0,"fjs-disabled":n,"fjs-readonly":i})}function bx(e){const{layout:t={}}=e,{columns:n}=t;return Me()("fjs-layout-column","cds--col"+(n?"-lg-"+n:""),"cds--col-sm-16","cds--col-md-16")}function vx(e,t,n){let i="fjs-form";return t&&(i+=`-${t}`),i+=`-${e}`,Object.values(n||{}
2).forEach(e=>{i+=`_${e}`}),i}const wx=nt({Empty:e=>null,Hidden:e=>null,Children:e=>rt("div",{class:e.class,style:e.style,children:e.children}),Element:e=>rt("div",{class:e.class,style:e.style,children:e.children}),Row:e=>rt("div",{class:e.class,style:e.style,children:e.children}),Column:e=>"default"===e.field.type?e.children:rt("div",{class:e.class,style:e.style,children:e.children}),hoverInfo:{cleanup:()=>{}}}),kx=nt({data:null,this:null,parent:null,i:null});const Tx=nt({getService:function(e,t){},formId:null});function Mx(e,t){const{getService:n}=St(Tx);return n(e,t)}function Lx(e,t){return JSON.parse(JSON.stringify(e,t))}function Sx(e){const t={};for(const[n,i]of Object.entries(e))t[`_${n}_`]=i;return t}function xx(e){const{data:t,...n}=e;return{...n,...t,...Sx(n)}}function Ox(e,t,n){return e&&e.isExpression(t)?e.evaluate(t,xx(n)):t}function Dx(e,t){const{valuesExpression:n,valuesKey:i,values:r}=e;return n?null:i?X(t,[i]):r}function Yx(e){return e.filter(Ix).map(Cx).filter(e=>!C(e))}function Ax(e={}){const t={};return e.valuesKey||e.valuesExpression||(t.values=[{label:"Value",value:"value"}]),{...t,...e}}function Cx(e){if(Ex(e))return{value:e,label:`${e}`};if(I(e)){const n=(t=e.label)&&R(t);
2if(!n&&Ex(e.value))return{value:e.value,label:`${e.value}`};if(n&&Ix(e.value))return e}var t;return null}function Ex(e){return["number","string","boolean"].includes(typeof e)&&(e||0===e||!1===e)}function Ix(e){return I(e)?Object.keys(e).length>0:Ex(e)}function Px(e){const t=Mx("expressionLanguage"),n=St(kx);return Mt(()=>Ox(t,e,n),[t,n,e])}function Nx(e){const t=Tt();return Pt()(e,t.current)||(t.current=e),t.current}const Rx="loaded",zx="error";function Hx(e){const{valuesExpression:t,valuesKey:n,values:i}=e,r=Mx("form")._getState().initialData,s=Nx(Px(t)||[]);return Mt(()=>{let e=[];if(void 0!==n){const t=(r||{})[n];t&&Array.isArray(t)&&(e=t)}else if(void 0!==i)e=Array.isArray(i)?i:[];else{if(!(t&&s&&Array.isArray(s)))return jx("No options source defined in the form definition");e=s}return Fx(Yx(e))},[n,i,r,t,s])}const jx=e=>({options:[],error:e,loadState:zx}),Fx=e=>({options:e,error:void 0,loadState:Rx}),Bx=e=>{const{html:t,transform:n=e=>e,sanitize:i=!0,sanitizeStyleTags:r=!0}=e,s=Mt(()=>i?ul.sanitize(t,$x(r)):t,[t,i,r]);return{__html:Mt(()=>n(s),[s,n])}},$x=e=>({FORCE_BODY:!0,FORBID_TAGS:e?["style"]:[]});function Wx(e){const t=Mt(()=>Object.assign({},...e.map(e=>({[Ux(e.value)]:e.label}))),[e]);return Lt(e=>t[Ux(e)],[t])}const Ux=e=>I(e)?JSON.stringify(e):e;function Vx(e){const t=window.getComputedStyle(e),n=t.overflowY||t.overflow;return("auto"===n||"scroll"===n)&&e.scrollHeight>e.clientHeight}const Zx={},qx=[];function Qx(e,t,n,i){const r=n||Zx,s=i||qx;wt(()=>{if(F(s,e=>!e.current)||!e.current)return;for(let e=0;e<s.length;e++)s[e].current=!1;const t=e.current,n=function(e){for(;e&&e!==document.body&&e!==document.documentElement;){if(Vx(e))return e;e=e.parentElement}return Vx(document.body)?document.body:Vx(document.documentElement)?document.documentElement:null}(t);if(!n)return;const i=t.getBoundingClientRect(),o=n.getBoundingClientRect(),{align:a="center",offset:l=0,behavior:c="auto",scrollIfVisible:d=!1}=r;if(!(d||!(i.top>=o.top&&i.bottom<=o.bottom)))return;const u=function(e,t,n){const i=e.getBoundingClientRect(),r=t.getBoundingClientRect();if("top"===n.align)return i.top-r.top+t.scrollTop-n.offset;if("bottom"===n.align)return i.bottom-r.top-t.clientHeight+t.scrollTop+n.offset;if("center"===n.align)return i.top-r.top-t.clientHeight/2+t.scrollTop+i.height/2+n.offset;return 0}(t,n,{align:a,offset:l});n.scroll({top:u,behavior:c})},t)}function Xx(e,t,n=window){function i({key:n}){n===e&&t()}wt(()=>(n.addEventListener("keydown",i),()=>{n.removeEventListener("keydown",i)}))}function Gx(e,t=null){const n=Tt(t);return wt(()=>n.current=e,[e]),n.current}function Kx(e){const t=Tt(null),n=Tt(null),i=Mx("config",!1),r=i&&i.debounce,s=!1!==r&&0!==r,o="number"==typeof r?r:300;return[Lt((...i)=>{s?(n.current=i,t.current&&clearTimeout(t.current),t.current=setTimeout(()=>{e(...n.current),n.current=null},o)):e(...i)},[e,o,s]),Lt(()=>{t.current&&(clearTimeout(t.current),null!==n.current&&(e(...n.current),n.current=null),t.current=null)},[e])]}function Jx(e,t={}){const n=Mx("templating"),i=St(kx);return Mt(()=>n&&n.isTemplate(e)?n.evaluate(e,xx(i),t):e,[n,e,i,t])}function eO(e,t={}){const n=Jx(e,t);return Mt(()=>n&&n.split("\n")[0],[n])}const tO=new KeyboardEvent("keydown",{code:"Enter",key:"Enter",charCode:13,keyCode:13,bubbles:!0});function nO(e){if(!e)return;!e.isOpen&&e.open();const t=e.calendarContainer,n=t.querySelector(".flatpickr-day.selected")||t.querySelector(".flatpickr-day.today")||t.querySelector(".flatpickr-day");n&&n.focus()}function iO(e,t){if(null===t)return null;const n=t%1440,i=t%60;let r=Math.floor(n/60);if(e)return hO(r)+":"+hO(i);r=r%12||12;const s=n>=720;return hO(r)+":"+hO(i)+" "+(s?"PM":"AM")}function rO(e){let t=e.toLowerCase();if(t.includes("am")||t.includes("pm")){const e=t.includes("pm"),n=t.match(/\d+/g),i=parseInt(n&&n[0]),r=parseInt(n&&n[1])||0;if(!(P(i)&&i>=1&&i<=12)||!(r>=0&&r<=59))return null;return 60*(i%12+(e?12:0))+r}{const e=t.match(/\d+/g),n=parseInt(e&&e[0]),i=parseInt(e&&e[1]),r=P(n)&&n>=0&&n<=23,s=P(i)&&i>=0&&i<=59;return r&&s?60*n+i:null}}function sO(e,t,n){if(n===hx){const n=(e+t+ax)%ax;return hO(Math.floor(n/60))+":"+hO(n%60)+"Z"}return hO(Math.floor(e/60))+":"+hO(e%60)+(n===ux?function(e){return function(e){return e>0?"-"+hO(Math.floor(e/60)):"+"+hO(Math.floor((0-e)/60))}(e)+":"+hO(Math.abs(e%60))}(t):"")}function oO(e){if(!e)return null;const t=e=>{const t=e.split(":"),n=parseInt(t[0]),i=t.length>1?parseInt(t[1]):0;return isNaN(n)||n<0||n>24||isNaN(i)||i<0||i>60?null:60*n+i},n=(new Date).getTimezoneOffset();if(e.includes("Z")){const i=t(e=e.replace("Z",""));return null===i?null:(i-n+ax)%ax}if(e.includes("+")){const[i,r]=e.split("+"),s=t(i);let o=t(r);return null===s||null===o?null:(o=-o,(s+o-n+ax)%ax)}if(e.includes("-")){const[i,r]=e.split("-"),s=t(i);let o=t(r);return null===s||null===o?null:(s+o-n+ax)%ax}return t(e)}function aO(e){return Ks.fromJSDate(e).toISODate()}function lO(e){return isNaN(new Date(Date.parse(e)).getTime())}function cO(){return{date:new Date(Date.parse(null)),time:null}}function dO(e){return e&&!isNaN(e.getTime())}function uO(e){return!isNaN(parseInt(e))}function hO(e){return e.toString().padStart(2,"0")}const fO=/^(https?|data):.*/i,mO=/^(https):\/\/*/i;function pO(e,t){return!!Array.isArray(t)&&t.some(t=>Pt()(e,t))}function gO(e){const{formField:t,data:n,value:i}=e,{valuesExpression:r}=t;try{if(r)return i;const e=Yx(Dx(t,n)).map(e=>e.value);return pO(i,e)?i:null}catch(e){return null}}function yO(e){const{formField:t,data:n,value:i}=e,{valuesExpression:r}=t;try{if(r)return i;const e=Yx(Dx(t,n)).map(e=>e.value);return i.filter(t=>pO(t,e))}catch(e){return[]}}function _O(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'","{":"{","}":"}",":":":",";":";"};return e.replace(/[&<>"'{};:]/g,e=>t[e])}function bO(e){const{field:t,options:n,loadState:i,onChange:r,value:s}=e;wt(()=>{if(i!==Rx)return;const e=n.map(e=>e.value);s&&!pO(s,e)&&r({field:t,value:null})},[t,n,r,s,i])}function vO(e){const{field:t,options:n,loadState:i,onChange:r,values:s}=e,o=Nx(s||[]);wt(()=>{if(i!==Rx)return;const e=n.map(e=>e.value),s=o.some(t=>!pO(t,e));s&&r({field:t,value:o.filter(t=>pO(t,e))})},[t,n,r,o,i])}const wO="button";function kO(e){const{disabled:t,onFocus:n,onBlur:i,field:r}=e,{action:s="submit"}=r,o=eO(r.label||"",{debug:!0});return rt("div",{class:_x(wO),children:rt("button",{class:"fjs-button",type:s,disabled:t,onFocus:()=>n&&n(),onBlur:()=>i&&i(),children:o})})}
2function TO(e){const{description:t,id:n}=e,i=eO(t||"",{debug:!0});return i?rt("div",{id:n,class:"fjs-form-field-description",children:i}):null}function MO(e){const{errors:t,id:n}=e;return t.length?rt("div",{class:"fjs-form-field-error","aria-live":"polite",id:n,children:rt("ul",{children:t.map((e,t)=>rt("li",{children:e},t))})}):null}function LO(e){const{id:t,htmlFor:n,label:i,collapseOnEmpty:r=!0,required:s=!1}=e,o=eO(i||"",{debug:!0});return rt("label",{id:t,htmlFor:n,class:Me()("fjs-form-field-label",{"fjs-incollapsible-label":!r},e.class),children:[e.children,o,s&&rt("span",{class:"fjs-asterix","aria-hidden":!0,children:"*"})]})}kO.config={type:wO,keyed:!1,name:"Button",group:"action",create:(e={})=>({label:"Button",action:"submit",...e})};const SO="checkbox";function xO(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l=!1}=e,{description:c,label:d,validate:u={}}=o,{required:h}=u,f=`${i}-description`,m=`${i}-error-message`;return rt("div",{class:Me()(_x(SO,{errors:n,disabled:t,readonly:a}),{"fjs-checked":l}),children:[rt("div",{class:"fjs-inline-label",children:[rt("input",{checked:l,class:"fjs-input",disabled:t,readOnly:a,id:i,type:"checkbox",onChange:({target:t})=>{e.onChange({value:t.checked})},onBlur:()=>r&&r(),onFocus:()=>s&&s(),required:h,"aria-invalid":n.length>0,"aria-describedby":[f,m].join(" ")}),rt(LO,{htmlFor:i,label:d,required:h})]}),rt(TO,{id:f,description:c}),rt(MO,{id:m,errors:n})]})}xO.config={type:SO,keyed:!0,name:"Checkbox",group:"selection",emptyValue:!1,sanitizeValue:({value:e})=>!0===e,create:(e={})=>({label:"Checkbox",...e})};const OO="checklist";function DO(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l=[]}=e,{description:c,label:d,validate:u={}}=o,h=Tt(),{required:f}=u,m=e=>{h.current.contains(e.relatedTarget)||r&&r()},p=e=>{h.current.contains(e.relatedTarget)||s&&s()},{loadState:g,options:y}=Hx(o);vO({field:o,loadState:g,options:y,values:l,onChange:e.onChange});const _=`${i}-description`,b=`${i}-error-message`;return rt("div",{class:Me()(_x(OO,{errors:n,disabled:t,readonly:a})),ref:h,children:[rt(LO,{label:d,required:f}),g==Rx&&y.map((r,s)=>{const o=`${i}-${s}`,c=pO(r.value,l);return rt("div",{className:Me()("fjs-inline-label",{"fjs-checked":c}),children:[rt("input",{checked:c,class:"fjs-input",disabled:t,readOnly:a,id:o,type:"checkbox",onClick:()=>(t=>{const n=pO(t,l)?l.filter(e=>!Pt()(e,t)):[...l,t];e.onChange({value:n})})(r.value),onBlur:m,onFocus:p,required:f,"aria-invalid":n.length>0,"aria-describedby":[_,b].join(" ")}),rt(LO,{htmlFor:o,label:r.label,required:!1})]},r.value)}),rt(TO,{id:_,description:c}),rt(MO,{id:b,errors:n})]})}DO.config={type:OO,keyed:!0,name:"Checkbox group",group:"selection",emptyValue:[],sanitizeValue:yO,create:(e={})=>({label:"Checkbox group",...Ax(e)})};const YO=()=>!1,AO=new x([32,36,1]);function CO(e){const t=Tt(AO.next()),{field:n,indexes:i,onChange:r}=e,s=Mx("formFields"),o=Mx("viewerCommands",!1),a=Mx("formFieldInstanceRegistry",!1),l=Mx("pathRegistry"),c=Mx("eventBus"),d=Mx("form"),{initialData:u,data:h,errors:f,properties:m}=d._getState(),{Element:p,Hidden:g,Column:y}=St(wx),{formId:_}=St(Tx),[b,v]=bt(!!o),w=s.get(n.type);if(!w)throw new Error(`cannot render field <${n.type}>`);const k=w.config,T=St(kx),M=Mt(()=>l.getValuePath(n,{indexes:i}),[n,i,l]),L=Mt(()=>X(u,M),[u,M]),S=function(e,t={}){const n=Mx("expressionLanguage"),i=Mx("conditionChecker",!1),r=St(kx),{readonly:s}=e;return!!t.readOnly||(n&&n.isExpression(s)?!!i&&i.check(s,xx(r)):s||!1)}(n,m),x=X(h,M),O=!m.readOnly&&(m.disabled||n.disabled||!1),D=function(e){const t=Mx("conditionChecker",!1),n=St(kx);return Mt(()=>t?t.check(e,xx(n)):null,[t,e,n])}(n.conditional&&n.conditional.hide||null),Y=Mt(()=>a?a.syncInstance(t.current,{id:n.id,expressionContextInfo:T,valuePath:M,value:x,indexes:i,hidden:D}):null,[a,n.id,T,M,x,i,D]),A=Y?a.get(Y):null;wt(()=>{const e=t.current;if(a)return()=>a.cleanupInstance(e)},[a]),wt(()=>{if(!o)return;const e=()=>{v(!0)};return c.on("import.done",e),c.on("reset",e),()=>{c.off("import.done",e),c.off("reset",e)}},[c,o]),wt(()=>{const e=L&&!Pt()(L,[]);b&&e&&A&&(v(!1),o.updateFieldInstanceValidation(A,L))},[A,b,L,o]);const C=Lt(()=>{const e=X(h,M);b&&(v(!1),o.updateFieldInstanceValidation(A,e)),c.fire("formField.blur",{formField:n})},[h,c,n,A,b,M,o]),E=Lt(()=>{c.fire("formField.focus",{formField:n})},[c,n]),I=Lt(e=>{v(!1),r({field:n,indexes:i,fieldInstance:A,...e})},[r,n,A,i]);if(D)return rt(g,{field:n});const P=`${vx(n.id,_,i)}`,N=X(f,[n.id,...Object.values(i||{})])||[],R=rt(w,{...e,disabled:O,errors:N,domId:P,onChange:O||S?YO:I,onBlur:O||S?YO:C,onFocus:O||S?YO:E,readonly:S,value:x,fieldInstance:A});return k.escapeGridRender?R:rt(y,{field:n,class:bx(n),children:rt(p,{class:"fjs-element",field:n,children:R})})}function EO(e){const{Children:t}=St(wx),{field:n,Empty:i}=e,{id:r}=n,s=Mx("repeatRenderManager",!1),o=s&&s.isFieldRepeating(r),a=s.Repeater,l=s.RepeatFooter;return o?rt(PO,{...e,ChildrenRoot:t,Empty:i,Repeater:a,RepeatFooter:l,repeatRenderManager:s}):rt(IO,{...e,ChildrenRoot:t,Empty:i})}function IO(e){const{ChildrenRoot:t,Empty:n,field:i}=e,{components:r=[]}=i,s=!r.length;return rt(t,{class:"fjs-vertical-layout fjs-children cds--grid cds--grid--condensed",field:i,children:[rt(NO,{...e}),s?rt(n,{field:i}):null]})}function PO(e){const{ChildrenRoot:t,repeatRenderManager:n,Empty:i,field:r,...s}=e,{components:o=[]}=r,a=bt({isCollapsed:!0}),l=n.Repeater,c=n.RepeatFooter;return rt(Ee,{children:[rt(t,{class:"fjs-vertical-layout fjs-children cds--grid cds--grid--condensed",field:r,children:[l?rt(l,{...s,use
2SharedState:a,field:r,RowsRenderer:NO}):rt(NO,{...s,field:r}),o.length?null:rt(i,{field:r})]}),c?rt(c,{...s,useSharedState:a,field:r}):null]})}function NO(e){const{field:t,indexes:n}=e,{id:i,verticalAlignment:r="start"}=t,s=Mx("formLayouter"),o=Mx("formFieldRegistry"),a=s.getRows(i),{Row:l}=St(wx);return rt(Ee,{children:[" ",a.map(t=>{const{components:i=[]}=t;return i.length?rt(l,{row:t,class:"fjs-layout-row cds--row",style:{alignItems:r},children:i.map(t=>{const i=o.get(t);return i?Ae(CO,{...e,key:t,field:i,indexes:n}):null})},t.id):null})," "]})}function RO(e){const{Empty:t}=St(wx);return rt(EO,{...{...e,Empty:t}})}var zO;function HO(){return HO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},HO.apply(null,arguments)}RO.config={type:"default",keyed:!1,label:null,group:null,create:(e={})=>({components:[],...e}),getSubheading:e=>e.id};var jO,FO,BO=function(e){return Ae("svg",HO({xmlns:"http://www.w3.org/2000/svg",width:14,height:15,fill:"none",viewBox:"0 0 28 30"},e),zO||(zO=Ae("path",{fill:"currentColor",fillRule:"evenodd",d:"M19 2H9V0H7v2H2a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-5V0h-2zM7 7V4H2v5h24V4h-5v3h-2V4H9v3zm-5 4v17h24V11z",clipRule:"evenodd"})))};function $O(e="default"){return new Intl.DateTimeFormat(e).formatToParts(new Date(Date.UTC(2020,5,5))).map(e=>{const t=e.value.length;switch(e.type){case"day":return"d".repeat(t);case"month":return"M".repeat(t);case"year":return"y".repeat(t);default:return e.value}}).join("")}function WO(e){let t=$O(e).toLowerCase();return t.includes("mm")||(t=t.replace("m","mm")),t.includes("dd")||(t=t.replace("d","dd")),t}function UO(e){const{pre:t,post:n,rootRef:i,inputRef:r,children:s,disabled:o,readonly:a,hasErrors:l}=e,c=()=>r&&r.current&&r.current.focus();return rt("div",{class:Me()("fjs-input-group",{"fjs-disabled":o,"fjs-readonly":a},{hasErrors:l}),ref:i,children:[t&&rt("span",{class:"fjs-input-adornment border-right border-radius-left",onClick:c,children:[" ",R(t)?rt("span",{class:"fjs-input-adornment-text",children:t}):t," "]}),s,n&&rt("span",{class:"fjs-input-adornment border-left border-radius-right",onClick:c,children:[" ",R(n)?rt("span",{class:"fjs-input-adornment-text",children:n}):n," "]})]})}function VO(e){const{label:t,domId:n,collapseLabelOnEmpty:i,onDateTimeBlur:r,onDateTimeFocus:s,required:o,disabled:a,disallowPassedDates:l,date:c,readonly:d,setDate:u}=e,h=Tt(),f=Tt(),[m,p]=bt(null),[g,y]=bt(!1),[_,b]=bt(!1),v=Nx(c);wt(()=>{m&&m.config&&(m.setDate(v,!0),y(!1))},[m,v]),wt(()=>{_&&(nO(m),b(!1))},[m,_]),wt(()=>{let e={allowInput:!0,dateFormat:function(e){const t={day:e.includes("dd"),month:e.includes("MM"),year:e.includes("yyyy")};return e=t.day?e.replace("dd","d"):e.replace("d","j"),e=t.month?e.replace("MM","m"):e.replace("M","n"),e=t.year?e.replace("yyyy","Y"):e.replace("yy","y")}($O(t)),static:!0,clickOpens:!1,minDate:l?"today":"01/01/1900",errorHandler:()=>{}};var t;const n=Ao(h.current,e);p(n);const i=e=>{n.calendarContainer.contains(e.relatedTarget)||e.relatedTarget==h.current||n.close()},r=e=>{e.target.classList.contains("flatpickr-day")&&y(!1)};n.config.onOpen=[()=>n.calendarContainer.addEventListener("focusout",i),()=>n.calendarContainer.addEventListener("mousedown",r)],n.config.onClose=[()=>n.calendarContainer.removeEventListener("focusout",i),()=>n.calendarContainer.removeEventListener("mousedown",r)]},[l]),wt(()=>{m&&m.config&&(m.config.onChange=[e=>u(new Date(e)),()=>y(!1)])},[m,u]);const w=Lt(e=>{m&&("Escape"===e.code&&m.close(),"ArrowDown"===e.code&&(g?(h.current.dispatchEvent(tO),y(!1),b(!0)):nO(m),e.preventDefault()),"Enter"===e.code&&y(!1))},[m,g]),k=Lt(e=>{!m||f.current.contains(e.relatedTarget)||d||(m.open(),s(e))},[m,d,s]),T=Lt(e=>{e.relatedTarget&&e.relatedTarget.classList.contains("flatpickr-day")||(g&&(h.current.dispatchEvent(tO),y(!1)),r(e))},[g,r]);return rt("div",{class:"fjs-datetime-subsection",children:[rt(LO,{htmlFor:n,label:t,collapseOnEmpty:i,required:o}),rt(UO,{pre:rt(BO,{}),disabled:a,readonly:d,rootRef:f,inputRef:h,children:rt("div",{class:"fjs-datepicker",style:{width:"100%"},children:rt("input",{ref:h,type:"text",id:n,class:"fjs-input",disabled:a,readOnly:d,placeholder:WO(),autoComplete:"off",onFocus:k,onBlur:T,onKeyDown:w,onMouseDown:()=>!m.isOpen&&!d&&m.open(),onInput:()=>y(!0),"data-input":!0,"aria-describedby":e["aria-describedby"]})})})]})}function ZO(){return ZO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ZO.apply(null,arguments)}var qO=function(e){return Ae("svg",ZO({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 28 29"},e),jO||(jO=Ae("path",{fill:"currentColor",d:"M13 14.41 18.59 20 20 18.59l-5-5.01V5h-2z"})),FO||(FO=Ae("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.222 25.64A14 14 0 1 0 21.778 2.36 14 14 0 0 0 6.222 25.64M7.333 4.023a12 12 0 1 1 13.334 19.955A12 12 0 0 1 7.333 4.022Z",clipRule:"evenodd"})))};const QO=e=>e,XO=()=>{};function GO(e){const{listenerElement:t=window,values:n=[],getLabel:i=QO,onValueSelected:r=XO,height:s=235,emptyListMessage:o="No results",initialFocusIndex:a=0}=e,[l,c]=bt(!1),[d,u]=bt(a),[h,f]=bt(!1),m=Tt(),p=Tt(),g=Mt(()=>n.length?n[d]:null,[d,n]),y=Lt(e=>{u(t=>Math.min(Math.max(0,t+e),n.length-1))},[n.length]);wt(()=>{0!==d&&(d&&n.length?d>=n.length&&u(n.length-1):u(0))},[d,n.length]),Xx("ArrowUp",()=>{n.length&&(y(-1),c(!1))},t),Xx("ArrowDown",()=>{n.length&&(y(1),c(!1))},t),Xx("Enter",()=>{g&&r(g)},t),wt(()=>{const e=m.current.children;if(e.length&&!l){const t=e[d];t&&t.scrollIntoView({block:"nearest",inline:"nearest"})}},[d,l]),wt(()=>{f(!0)},[]);
2return rt("div",{ref:m,tabIndex:-1,class:"fjs-dropdownlist",onMouseDown:e=>e.preventDefault(),style:{maxHeight:s,scrollBehavior:h?"smooth":"auto"},children:[n.length>0&&n.map((e,t)=>rt("div",{class:Me()("fjs-dropdownlist-item",{focused:d===t}),onMouseMove:l?void 0:e=>((e,t)=>{(!p.current||p.current.x!==e.screenX&&p.current.y!==e.screenY)&&(p.current={x:e.screenX,y:e.screenY},c(!0),u(t))})(e,t),onMouseEnter:l?()=>u(t):void 0,onMouseDown:t=>r(e),children:i(e)},e.value)),!n.length&&rt("div",{class:"fjs-dropdownlist-empty",children:o})]})}function KO(e){const{label:t,collapseLabelOnEmpty:n,onDateTimeBlur:i,onDateTimeFocus:r,domId:s,required:o,disabled:a,readonly:l,use24h:c=!1,timeInterval:d,time:u,setTime:h}=e,f=Mt(()=>[1,5,10,15,30,60].includes(d)?d:15,[d]),m=Tt(),[p,g]=bt(!1),y=Mt(()=>1!==f,[f]),[_,b]=bt("");wt(()=>{if(null===u)return void b("");const e=u-u%f;b(iO(c,e)),e!=u&&h(e)},[u,h,c,f]);const v=Lt(e=>{const t=e||_;if(!t)return void h(null);const n=rO(t);if(!P(n))return b(""),void h(null);const i=n-n%f;b(iO(c,i)),h(i)},[_,f,c,h]),w=Mt(()=>{const e=Math.floor(1440/f);return[...Array(e).keys()].map(e=>iO(c,e*f))},[f,c]),k=Mt(()=>{if(!w||!f)return null;if(u)return u/f;const e=rO(_);if(e){return(e-e%f)/f}return Math.floor(w.length/2)},[_,u,f,w]);return rt("div",{class:"fjs-datetime-subsection",children:[rt(LO,{htmlFor:s,label:t,collapseOnEmpty:n,required:o}),rt(UO,{pre:rt(qO,{}),inputRef:m,disabled:a,readonly:l,children:rt("div",{class:"fjs-timepicker fjs-timepicker-anchor",children:[rt("input",{ref:m,type:"text",id:s,class:"fjs-input",value:_,disabled:a,readOnly:l,placeholder:c?"hh:mm":"hh:mm --",autoComplete:"off",onInput:e=>{b(e.target.value),y&&g(!1)},onBlur:e=>{g(!1),v(),i(e)},onFocus:e=>{r(e),!l&&y&&g(!0)},onClick:()=>!l&&y&&g(!0),onKeyDown:e=>{switch(e.key){case"ArrowUp":e.preventDefault();break;case"ArrowDown":y&&g(!0),e.preventDefault();break;case"Escape":y&&g(!1);break;case"Enter":!p&&v()}},"data-input":!0,"aria-describedby":e["aria-describedby"]}),p&&rt(GO,{values:w,height:150,onValueSelected:e=>{g(!1),v(e)},listenerElement:m.current,initialFocusIndex:k})]})})]})}const JO="datetime";function eD(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,onChange:a,readonly:l,value:c=""}=e,{description:d,id:u,dateLabel:h,timeLabel:f,validate:m={},subtype:p,use24h:g,disallowPassedDates:y,timeInterval:_,timeSerializingFormat:b}=o,{required:v}=m,{formId:w}=St(Tx),k=Tt(),[T,M]=bt(cO()),[L,S]=bt(null),x=Mt(()=>p===lx||p===dx,[p]),O=Mt(()=>p===cx||p===dx,[p]),D=Lt(e=>{e.relatedTarget&&k.current.contains(e.relatedTarget)||r&&r()},[r]),Y=Lt(e=>{e.relatedTarget&&k.current.contains(e.relatedTarget)||s&&s()},[s]);wt(()=>{let{date:e,time:t}=cO();switch(p){case lx:e="string"==typeof c?Ks.fromISO(c).toJSDate():new Date(NaN);break;case cx:t=oO(c);break;case dx:e=new Date(Date.parse(c)),t=dO(e)?60*e.getHours()+e.getMinutes():null}M({date:e,time:t})},[p,c]);const A=Lt(({date:e,time:t})=>{let n=null;p===lx&&dO(e)?n=aO(e):p===cx&&uO(t)?n=sO(t,(new Date).getTimezoneOffset(),b):p===dx&&dO(e)&&uO(t)&&(n=function(e,t,n){const i=new Date;if(i.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(Math.floor(t/60),t%60,0,0),n===hx){const e=i.getTimezoneOffset(),n=t+e<0?-1:t+e>ax?1:0;i.setHours(i.getHours()+24*n)}return aO(i)+"T"+sO(t,i.getTimezoneOffset(),n)}(e,t,b)),c!==n&&a({value:n,field:o})},[c,o,a,p,b]);wt(()=>{if(L){if(L.refreshOnly)A(T);else{const e={...T,...L};M(e),A(e)}S(null)}},[A,T,L]),wt(()=>{S({refreshOnly:!0})},[b]);const C=Mt(()=>{if(v||p!==dx)return n;return dO(T.date)&&!uO(T.time)||!dO(T.date)&&uO(T.time)?["Date and time must both be entered.",...n]:n},[v,p,T,n]),E=Lt(e=>{S(t=>t?{...t,date:e}:{date:e})},[]),I=Lt(e=>{S(t=>t?{...t,time:e}:{time:e})},[]),P=0===C.length?void 0:`${vx(u,w)}-error-message`,N=`${vx(u,w)}-description`,R={label:h,collapseLabelOnEmpty:!f,onDateTimeBlur:D,onDateTimeFocus:Y,domId:`${i}-date`,required:v,disabled:t,disallowPassedDates:y,date:T.date,readonly:l,setDate:E,"aria-describedby":[N,P].join(" ")},z={label:f,collapseLabelOnEmpty:!h,onDateTimeBlur:D,onDateTimeFocus:Y,domId:`${i}-time`,required:v,disabled:t,readonly:l,use24h:g,timeInterval:_,time:T.time,setTime:I,"aria-describedby":[N,P].join(" ")};return rt("div",{class:_x(JO,{errors:C,disabled:t,readonly:l}),children:[rt("div",{class:Me()("fjs-vertical-group"),ref:k,children:[x&&rt(VO,{...R}),O&&x&&rt("div",{class:"fjs-datetime-separator"}),O&&rt(KO,{...z})]}),rt(TO,{id:N,description:d}),rt(MO,{errors:C,id:P})]})}function tD(e){const{field:t,domId:n}=e,{label:i,type:r,showOutline:s}=t,{Empty:o}
2=St(wx),a={...e,Empty:o};return rt("div",{className:Me()(_x(r),"fjs-form-field-grouplike",{"fjs-outlined":s}),role:"group","aria-labelledby":n,children:[rt(LO,{id:n,label:i}),rt(EO,{...a})]})}eD.config={type:JO,keyed:!0,name:"Date time",group:"basic-input",emptyValue:null,sanitizeValue:function(e){const{formField:t,value:n}=e,{subtype:i}=t;return"string"!=typeof n?null:i!==lx||!lO(n)&&function(e){return!(!e||"string"!=typeof e)&&(!e.includes("T")&&3==e.split("-").length)}(n)?i===cx&&null===oO(n)?null:i!==dx||!lO(n)&&function(e){if(!e||"string"!=typeof e)return!1;const t=e.split("T");return 2==t.length&&3==t[0].split("-").length}(n)?n:null:null},create:(e={},t)=>{const n={};return Q(n,fx,lx),t&&Q(n,mx,"Date"),{...n,...e}},getSubheading:e=>e.dateLabel||e.timeLabel},tD.config={type:"group",pathed:!0,name:"Group",group:"container",create:(e={})=>({label:"Group",components:[],showOutline:!0,...e})};const nD="iframe",iD=300;function rD(e){const{field:t,disabled:n,readonly:i,domId:r}=e,{height:s=iD,label:o,url:a,security:l={}}=t,c=eO(a,{debug:!0}),d=Mt(()=>{return e=c,mO.test(e)?e:"";var e},[c]),u=eO(o,{debug:!0}),[h,f]=function(e){const t=Nx(e);return[Mt(()=>yx.filter(({attribute:e})=>e===px).filter(({property:e})=>X(t,[e],!1)).map(({directive:e})=>e).join(" "),[t]),Mt(()=>yx.filter(({attribute:e})=>e!==px).filter(({property:e})=>X(t,[e],!1)).map(({directive:e})=>e).join("; "),[t])]}(l),[m,p]=bt(0);return wt(()=>{p(e=>e+1)},[h,f]),rt("div",{class:_x(nD,{disabled:n,readonly:i}),children:[rt(LO,{htmlFor:r,label:u}),!c&&rt(sD,{text:"No content to show."}),c&&d&&rt("iframe",{src:d,title:u,height:s,class:"fjs-iframe",id:r,sandbox:h,allow:f},"iframe-"+m),c&&!d&&rt(sD,{text:"External content couldn't be loaded."})]})}function sD(e){const{text:t="iFrame"}=e;return rt("div",{class:"fjs-iframe-placeholder",children:rt("p",{class:"fjs-iframe-placeholder-text",children:t})})}var oD;function aD(){return aD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},aD.apply(null,arguments)}rD.config={type:nD,keyed:!1,name:"iFrame",group:"container",create:(e={})=>({label:"iFrame",security:{allowScripts:!0},...e})};var lD,cD=function(e){return Ae("svg",aD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),oD||(oD=Ae("path",{fillRule:"evenodd",d:"M45 17a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V20a3 3 0 0 1 3-3zm-9 8.889H18v2.222h18z"})))};function dD(){return dD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},dD.apply(null,arguments)}var uD,hD=function(e){return Ae("svg",dD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),lD||(lD=Ae("path",{d:"M34 18H20a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V20a2 2 0 0 0-2-2m-9 14-5-5 1.41-1.41L25 29.17l7.59-7.59L34 23z"})))};function fD(){return fD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fD.apply(null,arguments)}var mD,pD,gD,yD=function(e){return Ae("svg",fD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),uD||(uD=Ae("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.35 24.75H19v4.65h-4.65zm-1.414-1.414a2 2 0 0 1 1.414-.586H19a2 2 0 0 1 2 2v4.65a2 2 0 0 1-2 2h-4.65a2 2 0 0 1-2-2v-4.65a2 2 0 0 1 .586-1.414M14.35 37.05H19v4.65h-4.65zm-1.414-1.414a2 2 0 0 1 1.414-.586H19a2 2 0 0 1 2 2v4.65a2 2 0 0 1-2 2h-4.65a2 2 0 0 1-2-2v-4.65a2 2 0 0 1 .586-1.414M14.35 12.45H19v4.65h-4.65zm-1.414-1.414a2 2 0 0 1 1.414-.586H19a2 2 0 0 1 2 2v4.65a2 2 0 0 1-2 2h-4.65a2 2 0 0 1-2-2v-4.65a2 2 0 0 1 .586-1.414m12.007 14.977a1 1 0 0 0-.293.707v.65a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-.65a1 1 0 0 0-1-1h-15a1 1 0 0 0-.707.293m0 12.3a1 1 0 0 0-.293.707v.65a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-.65a1 1 0 0 0-1-1h-15a1 1 0 0 0-.707.293m0-24.6a1 1 0 0 0-.293.707v.65a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-.65a1 1 0 0 0-1-1h-15a1 1 0 0 0-.707.293",clipRule:"evenodd"})))};function _D(){return _D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_D.apply(null,arguments)}var bD,vD,wD=function(e){return Ae("svg",_D({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),mD||(mD=Ae("path",{fillRule:"evenodd",d:"M37.908 13.418h-5.004v-2.354h-1.766v2.354H21.13v-2.354h-1.766v2.354H14.36a2.07 2.07 0 0 0-2.06 2.06v23.549a2.07 2.07 0 0 0 2.06 2.06h6.77v-1.766h-6.358a.707.707 0 0 1-.706-.706V15.89c0-.39.316-.707.706-.707h4.592v2.355h1.766v-2.355h10.008v2.355h1.766v-2.355h4.592a.71.71 0 0 1 .707.707v6.358h1.765v-6.77c0-1.133-.927-2.06-2.06-2.06"})),pD||(pD=Ae("path",{d:"m35.13 37.603 1.237-1.237-3.468-3.475v-5.926h-1.754v6.654l3.984 3.984Z"})),gD||(gD=Ae("path",{fillRule:"evenodd",d:"M23.08 36.962a9.678 9.678 0 1 0 17.883-7.408 9.678 9.678 0 0 0-17.882 7.408Zm4.54-10.292a7.924 7.924 0 1 1 8.805 13.177A7.924 7.924 0 0 1 27.62 26.67"})))};function kD(){return kD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kD.apply(null,arguments)}var TD,MD,LD,SD=function(e){return Ae("svg",kD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),bD||(bD=Ae("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1"})),vD||(vD=Ae("path",{d:"M11 22a1 1 0 0 1 1-1h19a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H12a1 1 0 0 1-1-1z"})))};function xD(){return xD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xD.apply(null,arguments)}var OD,DD=function(e){return Ae("svg",xD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54},e),TD||(TD=Ae("rect",{width:24,height:4,x:15,y:17,rx:1})),MD||(MD=Ae("rect",{width:24,height:4,x:15,y:25,rx:1})),LD||(LD=Ae("rect",{width:13,height:4,x:15,y:33,rx:1})))};function YD(){return YD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},YD.apply(null,arguments)}var AD,CD=function(e){return Ae("svg",YD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),OD||(OD=Ae("path",{fill:"#000",fillRule:"evenodd",d:"M4.05 42.132v1.164c0 .693.604 1.254 1.35 1.254h1.35v-2.507h-2.7v.09Zm0-2.328h2.7v-2.328h-2.7zm0-4.656h2.7V32.82h-2.7zm0-4.656h2.7v-2.328h-2.7zm0-4.656h2.7v-2.328h-2.7zm0-4.656h2.7v-2.328h-2.7zm0-4.656h2.7v-2.328h-2.7zm0-4.656v.09h2.7V9.45H5.4c-.746 0-1.35.561-1.35 1.254zm5.4-2.418v2.507h2.7V9.45zm5.4 0v2.507h2.7V9.45zm5.4 0v2.507h2.7V9.45zm5.4 0v2.507h2.7V9.45zm5.4 0v2.507h2.7V9.45zm5.4 0v2.507h2.7V9.45zm5.4 0v2.507h2.7V9.45zm5.4 0v2.507h2.7v-1.253c0-.693-.604-1.254-1.35-1.254zm2.7 4.746h-2.7v2.328h2.7zm0 4.656h-2.7v2.328h2.7zm0 4.656h-2.7v2.328h2.7zm0 4.656h-2.7v2.328h2.7zm0 4.656h-2.7v2.328h2.7zm0 4.656h-2.7v2.328h2.7zm0 4.656v-.09h-2.7v2.508h1.35c.746 0 1.35-.561 1.35-1.254zm-5.4 2.418v-2.507h-2.7v2.507zm-5.4 0v-2.507h-2.7v2.507zm-5.4 0v-2.507h-2.7v2.507zm-5.4 0v-2.507h-2.7v2.507zm-5.4 0v-2.507h-2.7v2.507zm-5.4 0v-2.507h-2.7v2.507zm-5.4 0v-2.507h-2.7v2.507z",clipRule:"evenodd"})))};function ED(){return ED=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ED.apply(null,arguments)}var ID,PD=function(e){return Ae("svg",ED({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),AD||(AD=Ae("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1M35 28.444h7l-3.5 4zM35 26h7l-3.5-4z"})))};function ND(){return ND=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ND.apply(null,arguments)}var RD,zD=function(e){return Ae("svg",ND({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),ID||(ID=Ae("path",{d:"M27 22c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0-5c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10m0 18a8 8 0 1 1 0-16 8 8 0 1 1 0 16"}
2)))};function HD(){return HD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},HD.apply(null,arguments)}var jD,FD=function(e){return Ae("svg",HD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),RD||(RD=Ae("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1m-12 7h9l-4.5 6z"})))};function BD(){return BD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BD.apply(null,arguments)}var $D,WD=function(e){return Ae("svg",BD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),jD||(jD=Ae("path",{fill:"currentColor",d:"M26.293 16.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L27 18.414l-3.293 3.293a1 1 0 0 1-1.414-1.414zM9 26h36v2H9zm13.293 7.707 4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L27 35.586l-3.293-3.293a1 1 0 0 0-1.414 1.414"})))};function UD(){return UD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},UD.apply(null,arguments)}var VD,ZD=function(e){return Ae("svg",UD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),$D||($D=Ae("path",{fill:"currentColor",d:"M9 15v2h36v-2zm0 22v2h36v-2zm17.293-17.707a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L27 21.414l-3.293 3.293a1 1 0 0 1-1.414-1.414zm-4 11.414 4 4a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L27 32.586l-3.293-3.293a1 1 0 0 0-1.414 1.414"})))};function qD(){return qD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qD.apply(null,arguments)}var QD,XD=function(e){return Ae("svg",qD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),VD||(VD=Ae("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.7 43.296v1.254c0 .746.604 1.35 1.35 1.35h1.275v-1.795q.074.211.075.445v-1.254h-.075V43.2H4.05c.177 0 .347.034.502.096zm2.7-2.507v-2.507H2.7v2.507zm0-5.014v-2.507H2.7v2.507zm0-5.014v-2.507H2.7v2.507zm0-5.015V23.24H2.7v2.507h2.7Zm0-5.014v-2.507H2.7v2.507zm0-5.014V13.21H2.7v2.507zm-2.7-5.014h1.852a1.4 1.4 0 0 1-.502.096h1.275v-.096H5.4V9.45q0 .235-.075.445V8.1H4.05A1.35 1.35 0 0 0 2.7 9.45zm5.175.096h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1 0h2.55V8.1h-2.55zm5.1-2.7v1.795a1.4 1.4 0 0 1-.075-.445v1.254h.075v.096h1.275a1.4 1.4 0 0 1-.502-.096H51.3V9.45a1.35 1.35 0 0 0-1.35-1.35zm-.075 5.11v2.508h2.7V13.21zm0 5.015v2.507h2.7v-2.507zm0 5.014v2.507h2.7V23.24zm0 5.015v2.507h2.7v-2.507zm0 5.014v2.507h2.7v-2.507zm0 5.014v2.507h2.7v-2.507zm2.7 5.014h-1.852a1.4 1.4 0 0 1 .502-.096h-1.275v.096H48.6v1.254q0-.235.075-.445V45.9h1.275a1.35 1.35 0 0 0 1.35-1.35zm-5.175-.096h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zm-5.1 0h-2.55v2.7h2.55zM16.2 17.55a4.05 4.05 0 0 1 4.05 4.05v1.35A4.05 4.05 0 0 1 16.2 27h-1.35a4.05 4.05 0 0 1-4.05-4.05V21.6a4.05 4.05 0 0 1 4.05-4.05zm0 2.7h-1.35a1.35 1.35 0 0 0-1.35 1.35v1.35c0 .746.604 1.35 1.35 1.35h1.35a1.35 1.35 0 0 0 1.35-1.35V21.6a1.35 1.35 0 0 0-1.35-1.35m27 1.35a4.05 4.05 0 0 0-4.05-4.05H29.7a4.05 4.05 0 0 0-4.05 4.05v1.35A4.05 4.05 0 0 0 29.7 27h9.45a4.05 4.05 0 0 0 4.05-4.05zm-13.5-1.35h9.45c.746 0 1.35.604 1.35 1.35v1.35a1.35 1.35 0 0 1-1.35 1.35H29.7a1.35 1.35 0 0 1-1.35-1.35V21.6c0-.746.604-1.35 1.35-1.35M43.2 37.8a4.05 4.05 0 0 0-4.05-4.05H29.7a4.05 4.05 0 0 0-4.05 4.05v1.35h2.7V37.8c0-.746.604-1.35 1.35-1.35h9.45c.746 0 1.35.604 1.35 1.35v1.35h2.7zm-27-4.05a4.05 4.05 0 0 1 4.05 4.05v1.35h-2.7V37.8a1.35 1.35 0 0 0-1.35-1.35h-1.35a1.35 1.35 0 0 0-1.35 1.35v1.35h-2.7V37.8a4.05 4.05 0 0 1 4.05-4.05z",clipRule:"evenodd"})))};function GD(){return GD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},GD.apply(null,arguments)}var KD,JD=function(e){return Ae("svg",GD({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),QD||(QD=Ae("path",{d:"M20.58 33.77h-3l-1.18-3.08H11l-1.1 3.08H7l5.27-13.54h2.89zm-5-5.36-1.86-5-1.83 5zM22 20.23h5.41a15.5 15.5 0 0 1 2.4.14 3.4 3.4 0 0 1 1.41.55 3.5 3.5 0 0 1 1 1.14 3 3 0 0 1 .42 1.58 3.26 3.26 0 0 1-1.91 2.94 3.63 3.63 0 0 1 1.91 1.22 3.28 3.28 0 0 1 .66 2 4 4 0 0 1-.43 1.8 3.6 3.6 0 0 1-1.09 1.4 3.9 3.9 0 0 1-1.83.65q-.69.07-3.3.09H22zm2.73 2.25v3.13h3.8a1.8 1.8 0 0 0 1.1-.49 1.4 1.4 0 0 0 .41-1 1.5 1.5 0 0 0-.35-1 1.54 1.54 0 0 0-1-.48c-.27 0-1.05-.05-2.34-.05zm0 5.39v3.62h2.57a11.5 11.5 0 0 0 1.88-.09 1.65 1.65 0 0 0 1-.54 1.6 1.6 0 0 0 .38-1.14 1.75 1.75 0 0 0-.29-1 1.7 1.7 0 0 0-.86-.62 9.3 9.3 0 0 0-2.41-.23zm19.62.92 2.65.84a5.94 5.94 0 0 1-2 3.29A5.74 5.74 0 0 1 41.38 34a5.87 5.87 0 0 1-4.44-1.84 7.1 7.1 0 0 1-1.73-5A7.43 7.43 0 0 1 37 21.87 6 6 0 0 1 41.54 20a5.64 5.64 0 0 1 4 1.47A5.33 5.33 0 0 1 47 24l-2.7.65a2.8 2.8 0 0 0-2.86-2.27A3.09 3.09 0 0 0 39 23.42a5.3 5.3 0 0 0-.93 3.5 5.62 5.62 0 0 0 .93 3.65 3 3 0 0 0 2.4 1.09 2.72 2.72 0 0 0 1.82-.66 4 4 0 0 0 1.13-2.21"})))};function eY(){return eY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eY.apply(null,arguments)}var tY,nY=function(e){return Ae("svg",eY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),KD||(KD=Ae("path",{fill:"currentColor",fillRule:"evenodd",d:"M47.008 12.15c1.625 0 2.942 1.36 2.942 3.039v23.622c0 1.678-1.317 3.039-2.942 3.039H6.992c-1.625 0-2.942-1.36-2.942-3.039V15.189c0-1.
2678 1.317-3.039 2.942-3.039zm0 2.026H6.992c-.542 0-.98.454-.98 1.013V16.2h-.004v2.7h.003v19.911c0 .56.44 1.013.98 1.013h40.017c.542 0 .98-.453.98-1.013V18.9h.005v-2.7h-.004v-1.011c0-.56-.44-1.013-.98-1.013M14.934 26.055v-3.78h2.194v9.45h-2.194v-3.78h-3.29v3.78H9.45v-9.45h2.194v3.78zm4.388-1.89h2.194v7.56h2.193v-7.56h2.194v-1.89h-6.581zm14.26-1.89h2.193v9.45h-2.194V25.11l-1.645 3.78-1.645-3.78v6.615h-2.194v-9.45h2.194l1.645 3.78zm4.387 0h2.194v7.56h4.387v1.89h-6.581z",clipRule:"evenodd"})))};function iY(){return iY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},iY.apply(null,arguments)}var rY,sY=function(e){return Ae("svg",iY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),tY||(tY=Ae("path",{fill:"currentcolor",fillRule:"evenodd",d:"M12.78 16.2v6.75c0 1.619-.635 3.059-1.618 4.05.983.991 1.618 2.431 1.618 4.05v6.75h3.51v2.7h-3.51c-1.289 0-2.34-1.213-2.34-2.7v-6.75c0-1.487-1.051-2.7-2.34-2.7v-2.7c1.289 0 2.34-1.213 2.34-2.7V16.2c0-1.487 1.051-2.7 2.34-2.7h3.51v2.7zm30.78 0v6.75c0 1.487 1.051 2.7 2.34 2.7v2.7c-1.289 0-2.34 1.213-2.34 2.7v6.75c0 1.487-1.051 2.7-2.34 2.7h-3.51v-2.7h3.51v-6.75c0-1.619.635-3.059 1.618-4.05-.983-.991-1.618-2.431-1.618-4.05V16.2h-3.51v-2.7h3.51c1.289 0 2.34 1.213 2.34 2.7M21.8 34.531q.7-.569.959-1.758l1.788-8.34h1.585l.387-1.828h-1.585l.405-1.878h1.585l.387-1.827H25.69q-1.271 0-1.972.569-.681.569-.94 1.758l-.294 1.378H21.34l-.387 1.827h1.142l-1.898 8.841h-1.585l-.387 1.827h1.622q1.272 0 1.953-.569m7.248-7.686-3.797 4.808h2.599l2.12-3.016h.22l.885 3.016h2.599l-1.677-4.36 3.778-4.688h-2.599l-2.12 2.947h-.22l-.885-2.947h-2.599z",clipRule:"evenodd"})))};function oY(){return oY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},oY.apply(null,arguments)}var aY,lY=function(e){return Ae("svg",oY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),rY||(rY=Ae("path",{fillRule:"evenodd",d:"M45 16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V19a3 3 0 0 1 3-3zm0 2H9a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1m-32 4v10h-2V22z"})))};function cY(){return cY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cY.apply(null,arguments)}var dY,uY=function(e){return Ae("svg",cY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),aY||(aY=Ae("path",{fillRule:"evenodd",d:"M45 13a3 3 0 0 1 3 3v22a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V16a3 3 0 0 1 3-3zm0 2H9a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h36a1 1 0 0 0 1-1V16a1 1 0 0 0-1-1m-1.136 15.5.849.849-6.364 6.364-.849-.849zm.264 3.5.849.849-2.828 2.828-.849-.849zM13 19v10h-2V19z"})))};function hY(){return hY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hY.apply(null,arguments)}var fY,mY,pY=function(e){return Ae("svg",hY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),dY||(dY=Ae("path",{fill:"currentColor",fillRule:"evenodd",d:"M45.658 9.45c1.625 0 2.942 1.36 2.942 3.039V22.95h-1.961v-4.383H7.36V41.51c0 .56.44 1.013.98 1.013H27v2.026H8.342c-1.625 0-2.942-1.36-2.942-3.039V12.489c0-1.678 1.317-3.039 2.942-3.039zm0 2.026H8.342c-.542 0-.98.454-.98 1.013v4.052h39.277v-4.052c0-.56-.44-1.013-.98-1.013ZM31.05 35.775A8.77 8.77 0 0 1 39.825 27a8.77 8.77 0 0 1 8.775 8.775 8.77 8.77 0 0 1-8.775 8.775 8.77 8.77 0 0 1-8.775-8.775m12.388-.516h3.097c-.206-2.581-1.858-4.646-4.026-5.678.62 1.548.93 3.613.93 5.678Zm-5.162 2.065c.207 3.303 1.136 4.955 1.549 5.161.413-.206 1.239-1.858 1.445-5.161zm1.446-8.26c-.31.207-1.342 2.272-1.446 6.195h2.994c-.103-3.923-1.135-5.988-1.548-6.194Zm-3.51 6.195c.103-2.065.31-4.13.929-5.678-2.168 1.032-3.82 3.097-4.026 5.678zm0 2.065h-2.89c.515 2.064 1.96 3.82 3.819 4.645-.516-1.342-.826-2.994-.93-4.645Zm7.226 0q-.155 2.632-.929 4.645c1.858-.826 3.304-2.58 3.923-4.645z",clipRule:"evenodd"})))};function gY(){return gY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gY.apply(null,arguments)}var yY,_Y=function(e){return Ae("svg",gY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"currentcolor"},e),fY||(fY=Ae("path",{fillRule:"evenodd",d:"M34.636 21.91A3.818 3.818 0 1 1 27 21.908a3.818 3.818 0 0 1 7.636 0Zm-2 0A1.818 1.818 0 1 1 29 21.908a1.818 1.818 0 0 1 3.636 0Z",clipRule:"evenodd"})),mY||(mY=Ae("path",{fillRule:"evenodd",d:"M15 13a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V15a2 2 0 0 0-2-2zm24 2H15v12.45l4.71-4.709a1.91 1.91 0 0 1 2.702 0l6.695 6.695 2.656-1.77a1.91 1.91 0 0 1 2.411.239L39 32.73zM1
25 39v-8.754a1 1 0 0 0 .168-.135l5.893-5.893 6.684 6.685a1.91 1.91 0 0 0 2.41.238l2.657-1.77 6.02 6.02q.078.077.168.135V39z",clipRule:"evenodd"})))};function bY(){return bY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bY.apply(null,arguments)}var vY,wY=function(e){return Ae("svg",bY({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 54 54"},e),yY||(yY=Ae("path",{fill:"currentcolor",fillRule:"evenodd",d:"M42.545 12.273A2.455 2.455 0 0 1 45 14.727v24.546a2.455 2.455 0 0 1-2.455 2.454h-31.09A2.455 2.455 0 0 1 9 39.273V14.727a2.455 2.455 0 0 1 2.455-2.454zM27.818 40.09h14.727a.82.82 0 0 0 .819-.818v-4.91H27.818Zm-1.636-5.727v5.727H11.455a.82.82 0 0 1-.819-.818v-4.91zm1.636-1.637h15.546V27H27.818ZM26.182 27v5.727H10.636V27zm1.636-1.636h15.546v-5.728H27.818Zm-1.636-5.728v5.728H10.636v-5.728z",clipRule:"evenodd"})))};function kY(){return kY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kY.apply(null,arguments)}var TY,MY=function(e){return Ae("svg",kY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),vY||(vY=Ae("path",{fill:"currentcolor",fillRule:"evenodd",d:"M17.55 41.175H27v2.362h-9.45a2.37 2.37 0 0 1-2.363-2.362v-28.35a2.37 2.37 0 0 1 2.363-2.363h11.813a1.07 1.07 0 0 1 .826.355l8.27 8.269a1.07 1.07 0 0 1 .353.826v5.907H36.45v-3.544h-7.088A2.37 2.37 0 0 1 27 19.912v-7.087h-9.45zm18.427-21.263-6.614-6.615v6.615zm4.253 18.664 3.308 3.308-1.654 1.653-3.308-3.307a6.35 6.35 0 0 1-3.307.945c-3.308 0-5.906-2.599-5.906-5.906 0-3.308 2.598-5.907 5.906-5.907s5.906 2.6 5.906 5.907a6.35 6.35 0 0 1-.945 3.307m-4.961-6.851c-2.008 0-3.544 1.536-3.544 3.544s1.536 3.543 3.544 3.543 3.544-1.535 3.544-3.543-1.536-3.544-3.544-3.544",clipRule:"evenodd"})))};function LY(){return LY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},LY.apply(null,arguments)}var SY=function(e){return Ae("svg",LY({xmlns:"http://www.w3.org/2000/svg",width:54,height:54,fill:"none"},e),TY||(TY=Ae("path",{fill:"currentcolor",fillRule:"evenodd",d:"M17.55 41.175h6.75v2.363h-6.75a2.37 2.37 0 0 1-2.363-2.363v-28.35a2.37 2.37 0 0 1 2.363-2.362h11.813a1.07 1.07 0 0 1 .826.354l8.27 8.269a1.07 1.07 0 0 1 .353.827v7.256H36.45v-4.894h-7.088A2.37 2.37 0 0 1 27 19.913v-7.088h-9.45zm18.427-21.262-6.614-6.616v6.616zm-2.212 10.564-.015-.001h-.015a8.86 8.86 0 0 0-7.926 5.656l-.003.008a.9.9 0 0 0 0 .62l.003.008a8.85 8.85 0 0 0 7.926 5.655l.015.001h.015a8.86 8.86 0 0 0 7.926-5.656l.003-.008a.9.9 0 0 0 0-.62l-.003-.008a8.85 8.85 0 0 0-7.926-5.655M33.75 40.6c-2.456 0-5.088-1.802-6.107-4.151 1.019-2.349 3.651-4.151 6.107-4.151s5.088 1.802 6.107 4.151c-1.019 2.349-3.65 4.151-6.107 4.151m0-7.593a3.443 3.443 0 1 0 0 6.885 3.443 3.443 0 0 0 0-6.886Zm-.316 1.853a1.62 1.62 0 1 1 .632 3.178 1.62 1.62 0 0 1-.632-3.178",clipRule:"evenodd"})))};const xY="image";function OY(e){const{field:t}=e,{alt:n,id:i,source:r}=t,s=(e=>({button:cD,checkbox:hD,checklist:yD,columns:CD,datetime:wD,group:CD,iframe:pY,image:_Y,number:PD,expression:sY,radio:zD,select:FD,separator:WD,spacer:ZD,dynamiclist:XD,taglist:SD,text:JD,html:nY,textfield:lY,textarea:uY,table:wY,filepicker:MY,documentPreview:SY,default:DD}[e]))(t.type),o=eO(r,{debug:!0}),a=Mt(()=>{return e=o,fO.test(e)?e:"";var e},[o]),l=eO(n,{debug:!0}),{formId:c}=St(Tx);return rt("div",{class:_x(xY),children:[a&&rt("div",{class:"fjs-image-container",children:rt("img",{alt:l,src:a,class:"fjs-image",id:vx(i,c)})}),!a&&rt("div",{class:"fjs-image-placeholder",children:rt("span",{class:"fjs-image-placeholder-inner",children:rt(s,{alt:"This is an image placeholder",width:"32",height:"32",viewBox:"0 0 56 56"})})})]})}function DY(e){const{pre:t,post:n}=e,i=eO(t,{debug:!0}),r=eO(n,{debug:!0});return rt(UO,{...e,pre:i,post:r})}var YY;function AY(){return AY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AY.apply(null,arguments)}OY.config={type:xY,keyed:!1,name:"Image view",group:"presentation",create:(e={})=>e,getSubheading:e=>e.alt};var CY,EY=function(e){return Ae("svg",AY({xmlns:"http://www.w3.org/2000/svg",width:8,height:8},e),YY||(YY=Ae("path",{fill:"currentColor",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M7.75 1.336 4 6.125.258 1.335 0 1.54l4 5.125L8 1.54Zm0 0",clipRule:"evenodd"})))};function IY(){return IY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IY.apply(null,arguments)}var PY=function(e){return Ae("svg",IY({xmlns:"http://www.w3.org/2000/svg",width:8,height:8},e),CY||(CY=Ae("path",{fill:"currentColor",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M7.75 6.664 4 1.875.258 6.665 0 6.46l4-5.125L8 6.46Zm0 0",clipRule:"evenodd"})))};function NY(e){return("number"==typeof e||"string"==typeof e)&&""!==e&&!isNaN(Number(e))}function RY(e){return null==e||""===e}const zY="number";function HY(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,value:a,readonly:l}=e,{description:c,label:d,appearance:u={},validate:h={},decimalDigits:f,increment:m}=o,{prefixAdorner:p,suffixAdorner:g}=u,{required:y}=h,_=Tt(),[b,v]=bt(a),[w,k]=bt(a),T=Lt(e=>
2HY.config.sanitizeValue({value:e,formField:o}),[o]),[M,L]=Kx(e.onChange);Gx(a)!==b&&M({field:o,value:b});const S=Lt(e=>{if(RY(e))return k(""),void v(null);if("-"!==(e=e.replaceAll(",","."))){if(isNaN(Number(e)))return k("NaN"),void v(null);k(e),v(T(e))}else k("-")},[T]),x=Gx(a)!=a,O=T(a)===T(b);x&&!O&&S(a&&a.toString()||"");const D=Mt(()=>ke(m||(f?`1e-${f}`:"1")),[f,m]),Y=()=>{if(l)return;const e=NY(b)?ke(b):ke(0),t=e.minus(e.mod(D));S(t.plus(D).toFixed())},A=()=>{if(l)return;const e=NY(b)?ke(b):ke(0);if(0===e.mod(D).cmp(0))S(e.minus(D).toFixed());else{const t=e.minus(e.mod(D));S(t.toFixed())}},C=`${i}-description`,E=`${i}-error-message`;return rt("div",{class:_x(zY,{errors:n,disabled:t,readonly:l}),children:[rt(LO,{htmlFor:i,label:d,required:y}),rt(DY,{disabled:t,readonly:l,pre:p,post:g,children:rt("div",{class:Me()("fjs-vertical-group",{"fjs-disabled":t,"fjs-readonly":l},{hasErrors:n.length}),children:[rt("input",{ref:_,class:"fjs-input",disabled:t,readOnly:l,id:i,onKeyDown:e=>"NaN"!==w||"Backspace"!==e.code&&"Delete"!==e.code?"ArrowUp"===e.code?(Y(),void e.preventDefault()):"ArrowDown"===e.code?(A(),void e.preventDefault()):void("Enter"===e.code&&L&&L()):(S(""),void e.preventDefault()),onKeyPress:e=>{const t=_.current.selectionStart,n=_.current.selectionStart-_.current.selectionEnd,i=_.current.value;(function(e,t,n,i,r){if("NaN"===t)return!1;const s=!(t=t.replace(",",".")).includes(".")&&("."===e||","===e),o=!t.includes("-")&&"-"===e&&0===n,a=/^[0-9]$/i.test(e),l=void 0===t?-1:t.indexOf("."),c="number"==typeof r&&0===i&&-1!==l&&t.includes(".")&&t.split(".")[1].length>=r&&n>l;return(a||0!==r&&s||o)&&!c})(e.key,i,t,n,f)||e.preventDefault()},onBlur:()=>{L&&L(),r&&r()},onFocus:()=>{s&&s()},onInput:e=>S(e.target.value,!0),onPaste:e=>"NaN"===w&&e.preventDefault(),type:"text",autoComplete:"off",step:D,value:w,"aria-describedby":[C,E].join(" "),required:y,"aria-invalid":n.length>0}),rt("div",{class:Me()("fjs-number-arrow-container",{"fjs-disabled":t,"fjs-readonly":l}),children:[rt("button",{type:"button",class:"fjs-number-arrow-up","aria-label":"Increment",onClick:()=>Y(),tabIndex:-1,children:rt(PY,{})}),rt("div",{class:"fjs-number-arrow-separator"}),rt("button",{type:"button",class:"fjs-number-arrow-down","aria-label":"Decrement",onClick:()=>A(),tabIndex:-1,children:rt(EY,{})})]})]})}),rt(TO,{id:C,description:c}),rt(MO,{id:E,errors:n})]})}HY.config={type:zY,keyed:!0,name:"Number",group:"basic-input",emptyValue:null,sanitizeValue:({value:e,formField:t})=>RY(e)||!NY(e)?null:t.serializeToString?e.toString():Number(e),create:(e={})=>({label:"Number",...e})};const jY="radio";function FY(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l}=e,{description:c,label:d,validate:u={}}=o,h=Tt(),{required:f}=u,m=e=>{h.current.contains(e.relatedTarget)||r&&r()},p=e=>{h.current.contains(e.relatedTarget)||s&&s()},{loadState:g,options:y}=Hx(o);bO({field:o,loadState:g,options:y,value:l,onChange:e.onChange});const _=`${i}-description`,b=`${i}-error-message`;return rt("div",{class:_x(jY,{errors:n,disabled:t,readonly:a}),ref:h,children:[rt(LO,{label:d,required:f}),g==Rx&&y.map((r,s)=>{const o=`${i}-${s}`,c=Pt()(r.value,l);return rt("div",{className:Me()("fjs-inline-label",{"fjs-checked":c}),children:[rt("input",{checked:c,class:"fjs-input",disabled:t,readOnly:a,name:i,id:o,type:"radio",onClick:()=>(t=>{e.onChange({value:t})})(r.value),onBlur:m,onFocus:p,"aria-describedby":[_,b].join(" "),required:f,"aria-invalid":n.length>0}),rt(LO,{htmlFor:o,label:r.label,class:Me()({"fjs-checked":c}),required:!1})]},r.value)}),rt(TO,{id:_,description:c}),rt(MO,{id:b,errors:n})]})}var BY;function $Y(){return $Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$Y.apply(null,arguments)}FY.config={type:jY,keyed:!0,name:"Radio group",group:"selection",emptyValue:null,sanitizeValue:gO,create:(e={})=>({label:"Radio group",...Ax(e)})};var WY=function(e){return Ae("svg",$Y({xmlns:"http://www.w3.org/2000/svg",width:8,height:8},e),BY||(BY=Ae("path",{fill:"currentColor",fillRule:"evenodd",stroke:"currentColor",strokeWidth:.5,d:"M4 3.766 7.43.336l.234.234L4.234 4l3.43 3.43-.234.234L4 4.234.57 7.664.336 7.43 3.766 4 .336.57.57.336Zm0 0",clipRule:"evenodd"})))};function UY(e){const{domId:t,disabled:n,errors:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l}=e,[c,d]=bt(""),[u,h]=bt(!1),[f,m]=bt(!0),[p,g]=bt(!1),y=Tt(),_=Mx("eventBus"),{loadState:b,options:v}=Hx(o);
2bO({field:o,loadState:b,options:v,value:l,onChange:e.onChange});const w=Wx(v),k=Mt(()=>l&&w(l),[l,w]);wt(()=>{d(k||"")},[k]);const T=Mt(()=>b!==Rx?[]:c&&f?v.filter(e=>e.label&&e.value&&e.label.toLowerCase().includes(c.toLowerCase())):v,[c,b,v,f]),M=Lt(t=>{d(t&&t.label||""),e.onChange({value:t&&t.value||null})},[e]),L=Mt(()=>{const e={};return e.componentReady=!n&&!a&&b===Rx,e.displayCross=e.componentReady&&null!=l,e.displayDropdown=!n&&!a&&u&&!p,e},[n,u,p,b,a,l]),S=Lt(e=>{g(!1),h(!u);const t=y.current;u?t.blur():t.focus(),e.preventDefault()},[u]),x=Lt(e=>{switch(e.key){case"ArrowUp":e.preventDefault();break;case"ArrowDown":u||(h(!0),m(!1)),e.preventDefault();break;case"Escape":g(!0);break;case"Enter":p&&g(!1)}},[u,p]),O=Lt(()=>{g(!1),h(!0),m(!1)},[]),D=Lt(()=>{g(!1),h(!0),s&&s()},[s]),Y=Lt(()=>{h(!1),d(k||""),r&&r()},[r,k]);return rt(Ee,{children:[rt("div",{class:Me()("fjs-input-group",{disabled:n,readonly:a},{hasErrors:i.length}),children:[rt("input",{disabled:n,readOnly:a,class:"fjs-input",ref:y,id:t,onChange:({target:e})=>{g(!1),h(!0),m(!0),d(e.value||""),_.fire("formField.search",{formField:o,value:e.value||""})},type:"text",value:c,placeholder:"Search",autoComplete:"off",onKeyDown:x,onMouseDown:O,onFocus:D,onBlur:Y,"aria-describedby":e["aria-describedby"]}),L.displayCross&&rt("span",{class:"fjs-select-cross",onMouseDown:e=>{M(null),e.preventDefault()},children:[rt(WY,{})," "]}),rt("span",{class:"fjs-select-arrow",onMouseDown:e=>S(e),children:L.displayDropdown?rt(PY,{}):rt(EY,{})})]}),rt("div",{class:"fjs-select-anchor",children:L.displayDropdown&&rt(GO,{values:T,getLabel:e=>e.label,onValueSelected:e=>{M(e),h(!1)},listenerElement:y.current})})]})}function VY(e){const{domId:t,disabled:n,errors:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l}=e,[c,d]=bt(!1),u=Tt(),h=Tt(),{loadState:f,options:m}=Hx(o);bO({field:o,loadState:f,options:m,value:l,onChange:e.onChange});const p=Wx(m),g=Mt(()=>l&&p(l),[l,p]),y=Lt(t=>{e.onChange({value:t&&t.value||null})},[e]),_=Mt(()=>{const e={};return e.componentReady=!n&&!a&&f===Rx,e.displayCross=e.componentReady&&null!=l,e.displayDropdown=!n&&!a&&c,e},[n,c,f,a,l]),b=Lt(e=>{const t=h.current;!n&&t&&(d(!c),c?t.blur():t.focus(),e.preventDefault())},[n,c]),v=Mt(()=>l&&function(e,t){const n=V(t);let i=E(e)?-1:void 0;return H(e,function(e,t){if(n(e,t))return i=t,!1}),i}(m,e=>e.value===l)||0,[m,l]),w=Lt(()=>{a||(d(!0),s&&s())},[s,a]),k=Lt(()=>{a||(d(!1),r&&r())},[r,a]);return rt(Ee,{children:[rt("div",{ref:u,class:Me()("fjs-input-group",{disabled:n,readonly:a},{hasErrors:i.length}),onFocus:w,onBlur:k,onMouseDown:b,children:[rt("div",{class:Me()("fjs-select-display",{"fjs-select-placeholder":!l}),id:`${t}-display`,children:g||"Select"}),!n&&rt("input",{ref:h,id:t,class:"fjs-select-hidden-input",value:g,onFocus:w,onBlur:k,"aria-describedby":e["aria-describedby"]}),_.displayCross&&rt("span",{class:"fjs-select-cross",onMouseDown:e=>{y(null),e.stopPropagation()},children:rt(WY,{})}),rt("span",{class:"fjs-select-arrow",children:_.displayDropdown?rt(PY,{}):rt(EY,{})})]}),rt("div",{class:"fjs-select-anchor",children:_.displayDropdown&&rt(GO,{values:m,getLabel:e=>e.label,initialFocusIndex:v,onValueSelected:e=>{y(e),d(!1)},listenerElement:u.current})})]})}const ZY="select";function qY(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,onChange:a,readonly:l,value:c}=e,{description:d,label:u,searchable:h=!1,validate:f={}}=o,{required:m}=f,p=`${i}-description`,g=`${i}-error-message`,y={domId:i,disabled:t,errors:n,onBlur:r,onFocus:s,field:o,value:c,onChange:a,readonly:l,required:m,"aria-invalid":n.length>0,"aria-describedby":[p,g].join(" ")};return rt("div",{class:_x(ZY,{errors:n,disabled:t,readonly:l}),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())},children:[rt(LO,{htmlFor:i,label:u,required:m}),rt(h?UY:VY,{...y}),rt(TO,{id:p,description:d}),rt(MO,{id:g,errors:n})]})}qY.config={type:ZY,keyed:!0,name:"Select",group:"selection",emptyValue:null,sanitizeValue:gO,create:(e={})=>({label:"Select",...Ax(e)})};const QY="separator";function XY(){return rt("div",{class:_x(QY),children:rt("hr",{})})}XY.config={type:QY,keyed:!1,name:"Separator",group:"presentation",create:(e={})=>({...e})};const GY="spacer";function KY(e){const{field:t}=e,{height:n=60}=t;return rt("div",{class:_x(GY),style:{height:n}})}function JY(e){const{field:t,domId:n,readonly:i}=e,{label:r,type:s,showOutline:o}=t,{Empty:a}=St(wx),l={...e,Empty:a};return rt("div",{className:Me()(_x(s,{readonly:i}),"fjs-form-field-grouplike",{"fjs-outlined":o}),role:"group","aria-labelledby":n,children:[rt(LO,{id:n,label:r}),rt(EO,{...l})]})}function eA(e){const{className:t,label:n,onSkip:i}=e,r=Lt(e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),i())},[i]);return rt("a",{href:"#",class:Me()("fjs-skip-link",t),onKeyDown:r,children:n})}KY.config={type:GY,keyed:!1,name:"Spacer",group:"presentation",create:(e={})=>({height:60,...e})},JY.config={type:"dynamiclist",pathed:!0,repeatable:!0,name:"Dynamic list",group:"container",create:(e={})=>({label:"Dynamic list",components:[],showOutline:!0,isRepeating:!0,allowAddRemove:!0,defaultRepetitions:1,...e})};const tA="taglist";function nA(e){const{disabled:t,errors:n=[],onFocus:i,domId:r,onBlur:s,field:o,readonly:a,value:l}=e,{description:c,label:d,validate:u={}}=o,{required:h}=u,[f,m]=bt(""),[p,g]=bt(!1),[y,_]=bt(!1),b=Tt(),v=Tt(),w=Mx("eventBus"),{loadState:k,options:T}=Hx(o),M=Nx(l||[]);vO({field:o,loadState:k,options:T,values:M,onChange:e.onChange});const L=Wx(T),S=Mt(()=>T.length>M.length,[T.length,M.length]),x=Mt(()=>{if(k!==Rx)return[];return T.filter(e=>e.label.toLowerCase().includes(f.toLowerCase())&&!pO(e.value,M))},[f,T,M,k]),O=t=>{const n=M.filter(e=>!Pt()(e,t));e.onChange({value:n})},D=e=>{b.current.contains(e.relatedTarget)||s&&s()},Y=e=>{b.current.contains(e.relatedTarget)||i&&i()},A=Mt(()=>!t&&k===Rx&&p&&!y,[t,p,y,k]),C=`${r}-description`,E=`${r}-error-message`;return rt("div",{ref:b,class:_x(tA,{errors:n,disabled:t,readonly:a}),onKeyDown:e=>{"Enter"===e.key&&(e.stopPropagation(),e.preventDefault())},children:[rt(LO,{label:d,required:h,htmlFor:r}
2),!t&&!a&&!!M.length&&rt(eA,{className:"fjs-taglist-skip-link",label:"Skip to search",onSkip:()=>{v.current.focus()}}),rt("div",{class:Me()("fjs-taglist",{"fjs-disabled":t,"fjs-readonly":a}),children:[k===Rx&&rt("div",{class:"fjs-taglist-tags",children:M.map(e=>rt("div",{class:Me()("fjs-taglist-tag",{"fjs-disabled":t,"fjs-readonly":a}),onMouseDown:e=>e.preventDefault(),children:[rt("span",{class:"fjs-taglist-tag-label",children:L(e)}),!t&&!a&&rt("button",{type:"button",title:"Remove tag",class:"fjs-taglist-tag-remove",onFocus:Y,onBlur:D,onClick:t=>((e,t)=>{const{target:n}=e;O(t),n.closest(".fjs-taglist-tag").nextSibling||v.current.focus()})(t,e),children:rt(WY,{})})]},e))}),rt("input",{disabled:t,readOnly:a,class:"fjs-taglist-input",ref:v,id:r,onChange:({target:e})=>{_(!1),m(e.value||""),w.fire("formField.search",{formField:o,value:e.value||""})},type:"text",value:f,placeholder:t||a?void 0:"Search",autoComplete:"off",onKeyDown:e=>{switch(e.key){case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Backspace":!f&&M.length&&O(M[M.length-1]);break;case"Escape":_(!0);break;case"Enter":y&&_(!1)}},onMouseDown:()=>_(!1),onFocus:e=>{a||g(!0),Y(e)},onBlur:e=>{a||(g(!1),m("")),D(e)},"aria-describedby":[C,E].join(" "),required:h,"aria-invalid":n.length>0})]}),rt("div",{class:"fjs-taglist-anchor",children:A&&rt(GO,{values:x,getLabel:e=>e.label,onValueSelected:t=>(t=>{m(""),M.at(-1)!==t&&e.onChange({value:[...M,t]})})(t.value),emptyListMessage:S?"No results":"All values selected",listenerElement:v.current})}),rt(TO,{id:C,description:c}),rt(MO,{id:E,errors:n})]})}nA.config={type:tA,keyed:!0,name:"Tag list",group:"selection",emptyValue:[],sanitizeValue:yO,create:(e={})=>({label:"Tag list",...Ax(e)})};const iA=["h1","h2","h3","h4","h5","h6","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong","table","thead","tbody","tr","th","td"],rA=["align","alt","class","href","id","name","rel","target","src"],sA=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,oA=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,aA=document.createElement("form");function lA(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(cA(n),n.innerHTML):""}function cA(e){if(3===e.nodeType)return;if(1!==e.nodeType)return e.remove();const t=e.tagName.toLowerCase();if(!iA.includes(t))return e.remove();const n=e.attributes;for(let i=n.length;i--;){const r=n[i],s=r.name,o=s.toLowerCase(),a=r.value.trim();e.removeAttribute(s);dA(t,o,a)&&e.setAttribute(s,a)}"a"===t&&"_blank"===e.getAttribute("target")&&"noopener"!==e.getAttribute("rel")&&e.setAttribute("rel","noopener");for(let t=e.childNodes.length;t--;)cA(e.childNodes[t])}function dA(e,t,n){return!!rA.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in aA))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!sA.test(n.replace(oA,"")))))}const uA="text";function hA(e){const t=Mx("form"),{textLinkTarget:n}=t._getState().properties,{field:i,disableLinks:r}=e,{text:s="",strict:o=!1}=i,a=Mx("markdownRenderer"),l=Jx(s,{debug:!0,strict:o}),c=Mt(()=>a.render(l),[a,l]),d=Lt(e=>{const t=lA(e),i=document.createElement("div");i.innerHTML=t;return i.querySelectorAll("a").forEach(e=>{r&&(e.setAttribute("class","fjs-disabled-link"),e.setAttribute("tabIndex","-1")),n&&e.setAttribute("target",n)}),i.innerHTML},[r,n]),u=Bx({html:c,transform:d,sanitize:!1,sanitizeStyleTags:!1});return rt("div",{class:_x(uA),dangerouslySetInnerHTML:u})}hA.config={type:uA,keyed:!1,name:"Text view",group:"presentation",create:(e={})=>({text:"# Text",...e}),getSubheading:e=>{!function(e){if("string"!=typeof e)return null;for(const t of e.split("\n")){const e=t.trim();if(""!==e)return e}}(e.text)}};const fA="html";function mA(e){const t=Mx("form"),{textLinkTarget:n}=t._getState().properties,{field:i,disableLinks:r,domId:s}=e,{content:o="",strict:a=!1}=i,l=`${s}-style-scope`,c=Jx(o,{debug:!0,strict:a,sanitizer:_O}),d=Lt(e=>{const t=document.createElement("div");t.innerHTML=e;var i;
2return t.querySelectorAll("a").forEach(e=>{r&&(e.setAttribute("class","fjs-disabled-link"),e.setAttribute("tabIndex","-1")),n&&e.setAttribute("target",n)}),i=`.${l}`,t.querySelectorAll("style").forEach(e=>{const t=function(e){let t=0,n=0,i=0;const r=[];for(;t<e.length;)"{"===e[t]&&i++,"}"===e[t]&&(i--,0===i&&(r.push(e.substring(n,t+1)),n=t+1)),t++;return r.map(e=>e.trim())}(e.textContent),n=t.map(e=>{const{selector:t,styles:n}=function(e){const t=e.indexOf("{");return{selector:e.substring(0,t),styles:e.substring(t)}}(e),r=function(e,t){return e.split(",").map(e=>`${t} ${e.trim()}`).join(", ")}(t,i);return`${r} ${n}`}).join(" ");e.textContent=n}),t.innerHTML},[r,l,n]),u=Bx({html:c,transform:d,sanitize:!0,sanitizeStyleTags:!1});return rt("div",{class:Me()(_x(fA),l),dangerouslySetInnerHTML:u})}mA.config={type:fA,keyed:!1,name:"HTML view",group:"presentation",create:(e={})=>({content:"",...e})};function pA(e){const{field:t,onChange:n,value:i}=e,{computeOn:r,expression:s}=t,o=Nx(Px(s)),a=Mx("eventBus"),l=Mx("expressionLoopPreventer"),c=Lt(()=>{n&&n({field:t,value:o,shouldNotRecompute:!0})},[t,o,n]);return wt(()=>{"change"===r&&!Pt()(o,i)&&l.registerExpressionExecution(this)&&c()}),wt(()=>{if("presubmit"===r)return a.on("presubmit",c),()=>a.off("presubmit",c)}
2,[r,c,a]),null}pA.config={type:"expression",name:"Expression",group:"basic-input",keyed:!0,emptyValue:null,escapeGridRender:!0,create:(e={})=>({computeOn:"change",...e})};const gA="textfield";function yA(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l=""}=e,{description:c,label:d,appearance:u={},validate:h={}}=o,{prefixAdorner:f,suffixAdorner:m}=u,{required:p}=h,[g,y]=Kx(({target:t})=>{e.onChange({value:t.value})}),_=`${i}-description`,b=`${i}-error-message`;return rt("div",{class:_x(gA,{errors:n,disabled:t,readonly:a}),children:[rt(LO,{htmlFor:i,label:d,required:p}),rt(DY,{disabled:t,readonly:a,pre:f,post:m,children:rt("input",{class:"fjs-input",disabled:t,readOnly:a,id:i,onInput:e=>{g({target:e.target})},onBlur:()=>{y&&y(),r&&r()},onFocus:()=>{s&&s()},onKeyDown:e=>{"Enter"===e.code&&y&&y()},type:"text",value:l,"aria-describedby":[_,b].join(" "),required:p,"aria-invalid":n.length>0})}),rt(TO,{id:_,description:c}),rt(MO,{id:b,errors:n})]})}yA.config={type:gA,keyed:!0,name:"Text field",group:"basic-input",emptyValue:"",sanitizeValue:({value:e})=>E(e)||I(e)||C(e)?"":"string"==typeof e?e.replace(/[\r\n\t]/g," "):String(e),create:(e={})=>({label:"Text field",...e})};const _A="textarea";function bA(e){const{disabled:t,errors:n=[],domId:i,onBlur:r,onFocus:s,field:o,readonly:a,value:l=""}=e,{description:c,label:d,validate:u={}}=o,{required:h}=u,f=Tt(),[m,p]=Kx(({target:t})=>{e.onChange({value:t.value})});kt(()=>{vA(f.current)},[l]),wt(()=>{vA(f.current)},[]);const g=`${i}-description`,y=`${i}-error-message`;return rt("div",{class:_x(_A,{errors:n,disabled:t,readonly:a}),children:[rt(LO,{htmlFor:i,label:d,required:h}),rt("textarea",{class:"fjs-textarea",disabled:t,readOnly:a,id:i,onInput:e=>{m({target:e.target}),vA(f.current)},onBlur:()=>{p&&p(),r&&r()},onFocus:()=>{s&&s()},value:l,ref:f,"aria-describedby":[g,y].join(" "),required:h,"aria-invalid":n.length>0}),rt(TO,{id:g,description:c}),rt(MO,{id:y,errors:n})]})}bA.config={type:_A,keyed:!0,name:"Text area",group:"basic-input",emptyValue:"",sanitizeValue:({value:e})=>E(e)||I(e)||C(e)?"":String(e),create:(e={})=>({label:"Text area",...e})};const vA=e=>{e.style.height="0px";const t=window.getComputedStyle(e),n=parseInt(t.getPropertyValue("border-top-width"))+parseInt(t.getPropertyValue("padding-top"))+(e.scrollHeight||(()=>{const n=parseInt(t.getPropertyValue("line-height").replace("px",""))||0;return(e.value?e.value.toString().split("\n").length:0)*n})())+parseInt(t.getPropertyValue("padding-bottom"))+parseInt(t.getPropertyValue("border-bottom-width")),i=Math.max(Math.min(n||0,350),75);e.style.height=`${i}px`,e.style.overflow=n>350?"visible":"hidden"};var wA;function kA(){return kA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kA.apply(null,arguments)}var TA,MA=function(e){return Ae("svg",kA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),wA||(wA=Ae("path",{fill:"currentcolor",d:"M24.59 16.59 17 24.17V4h-2v20.17l-7.59-7.58L6 18l10 10 10-10z"})))};function LA(){return LA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},LA.apply(null,arguments)}var SA,xA=function(e){return Ae("svg",LA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},e),TA||(TA=Ae("path",{fill:"currentcolor",d:"M16 4 6 14l1.41 1.41L15 7.83V28h2V7.83l7.59 7.58L26 14z"})))};function OA(){return OA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},OA.apply(null,arguments)}var DA,YA=function(e){return Ae("svg",OA({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 32 32"},e),SA||(SA=Ae("path",{fill:"currentcolor",d:"m20 24-10-8 10-8z"})))};function AA(){return AA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AA.apply(null,arguments)}var CA=function(e){return Ae("svg",AA({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 32 32"},e),DA||(DA=Ae("path",{fill:"currentcolor",d:"m12 8 10 8-10 8z"})))};const EA="table";function IA(e){const{field:t}=e,{columns:n=[],columnsExpression:i,dataSource:r="",rowCount:s,id:o,label:a}=t,[l,c]=bt(null),d=function(e,t){const n=Px(e||"");return Array.isArray(n)&&n.every(PA)?n:t}(i||"",n),u=d.map(({key:e})=>e),h=Px(r),f=Array.isArray(h)?h.filter(e=>!C(e)||"object"!=typeof e):[],m=null===l?f:(p=f,g=l.key,y=l.direction,[...p].sort((e,t)=>
2I(e)&&I(t)?"asc"===y?e[g]>t[g]?1:-1:e[g]<t[g]?1:-1:0));var p,g,y;const _=P(s)?function(e,t){return e.reduce((e,n,i)=>(i%t===0?e.push([n]):e[e.length-1].push(n),e),[])}(m,s):[m],[b,v]=bt(0),w=_[b]||[];function k(e){c(t=>null===t||t.key!==e?{key:e,direction:"asc"}:"desc"===t.direction?null:{key:e,direction:"desc"})}return wt(()=>{v(0)},[s,l]),rt("div",{class:_x(EA),children:[rt(LO,{htmlFor:vx(o),label:a}),rt("div",{class:Me()("fjs-table-middle-container",{"fjs-table-empty":0===d.length}),children:[0===d.length?"Nothing to show.":rt("div",{class:"fjs-table-inner-container",children:rt("table",{class:"fjs-table",id:vx(o),children:[rt("thead",{class:"fjs-table-head",children:rt("tr",{class:"fjs-table-tr",children:d.map(({key:e,label:t})=>{const n=t||e;return rt("th",{tabIndex:0,class:"fjs-table-th",onClick:()=>{k(e)},onKeyDown:t=>{["Enter","Space"].includes(t.code)&&k(e)},"aria-label":NA(l,e,n),children:rt("span",{class:"fjs-table-th-label",children:[n,null!==l&&l.key===e?rt(Ee,{children:"asc"===l.direction?rt(xA,{class:"fjs-table-sort-icon-asc"}):rt(MA,{class:"fjs-table-sort-icon-desc"})}):null]})},e)})})}),0===w.length?rt("tbody",{class:"fjs-table-body",children:rt("tr",{class:"fjs-table-tr",children:rt("td",{class:"fjs-table-td",colSpan:d.length,children:"Nothing to show."})})}):rt("tbody",{class:"fjs-table-body",children:w.map((e,t)=>rt("tr",{class:"fjs-table-tr",children:u.map(t=>rt("td",{class:"fjs-table-td",children:RA(e[t])},t))},t))})]})}),P(s)&&_.length>1&&d.length>0?rt("nav",{class:"fjs-table-nav",children:[rt("span",{class:"fjs-table-nav-label",children:[b+1," of ",_.length]}),rt("button",{type:"button",class:"fjs-table-nav-button",onClick:()=>{v(e=>Math.max(e-1,0))},disabled:0===b,"aria-label":"Previous page",children:rt(YA,{})}),rt("button",{type:"button",class:"fjs-table-nav-button",onClick:()=>{v(e=>Math.min(e+1,_.length-1))},disabled:b>=_.length-1,"aria-label":"Next page",children:rt(CA,{})})]}):null]})]})}function PA(e){return I(e)&&R(e.label)&&R(e.key)}function NA(e,t,n){return null===e||e.key!==t?`Click to sort by ${n} descending`:"asc"===e.direction?"Click to remove sorting":`Click to sort by ${n} ascending`}function RA(e){return null!==e&&"object"==typeof e?JSON.stringify(e):null==e?"":`${e}`}IA.config={type:EA,keyed:!1,name:"Table",group:"presentation",create:(e={})=>{const{id:t,columnsExpression:n,columns:i,rowCount:r,...s}=e;return A(t)&&P(r)&&(s.rowCount=r),R(n)?{...s,id:t,columnsExpression:n}:Array.isArray(i)&&i.every(PA)?{...s,id:t,columns:i}:{...s,label:"Table",rowCount:10,columns:[{label:"ID",key:"id"},{label:"Name",key:"name"},{label:"Date",key:"date"}]}},generateInitialDemoData:e=>{const t=[{id:1,name:"John Doe",date:"31.01.2023"},{id:2,name:"Erika Muller",date:"20.02.2023"},{id:3,name:"Dominic Leaf",date:"11.03.2023"}],n=Object.keys(t[0]),{columns:i,id:r,dataSource:s}=e;if(Array.isArray(i)&&0!==i.length&&s===`=${r}`&&i.map(({key:e})=>e).every(e=>n.includes(e)))return t}};const zA="files::",HA=new x,jA=[];function FA(e){const t=Tt(null),n=Mx("fileRegistry",!1),{field:i,onChange:r,domId:s,errors:o=[],disabled:a,readonly:l,value:c=""}=e,{label:d,multiple:u=!1,accept:h="",validate:f={}}=i,m=eO(h,{debug:!0}),p=function(e){const t=Mx("expressionLanguage"),n=St(kx);return Mt(()=>{const i=Ox(t,e,n);return"boolean"==typeof i&&i},[t,n,e])}(u),g=`${s}-error-message`,y=null===n?jA:n.getFiles(c);wt(()=>{c&&null!==n&&!n.hasKey(c)&&r({value:null})},[n,c,r,y.length]),wt(()=>{const e=new DataTransfer;y.forEach(t=>e.items.add(t)),t.current.files=e.files},[y]);const _=a||l||null===n;return rt("div",{className:_x("filepicker",{errors:o,disabled:a,readonly:l}),children:[rt(LO,{htmlFor:s,label:d,required:f.required}),rt("input",{type:"file",className:"fjs-hidden",ref:t,id:s,name:s,disabled:_,multiple:p||void 0,accept:m||void 0,onChange:e=>{const t=e.target;if((null===t.files||0===t.files.length)&&""!==c)return n.deleteFiles(c),void r({value:null});const i=Array.from(t.files),s=c||HA.nextPrefixed(zA);n.setFiles(s,i),r({value:s})},required:f.required}),rt("div",{className:"fjs-filepicker-container",children:[rt("button",{type:"button",disabled:_,readOnly:l,className:"fjs-button fjs-filepicker-button",onClick:()=>{t.current.click()},children:"Browse"}),rt("span",{className:"fjs-form-field-label",children:BA(y)})]}),rt(MO,{id:g,errors:o})]})}function BA(e){return 0===e.length?"No files selected":1===e.length?e[0].name:`${e.length} files selected`}var $A;function WA(){return WA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WA.apply(null,arguments)}FA.config={type:"filepicker",keyed:!0,label:"File picker",group:"basic-input",emptyValue:null,create:(e={})=>({...e})};var UA=function(e){return Ae("svg",WA({xmlns:"http://www.w3.org/2000/svg",width:16,height:16},e),$A||($A=Ae("path",{fill:"currentColor",d:"M13 12v2H3v-2H2v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2zm0-5-.705-.705-3.795 3.79V1h-1v9.085l-3.795-3.79L3 7l5 5z"})),Ae("path",{d:"M0 0h16v16H0z",style:{fill:"none"}}))};const VA="documentPreview";function ZA(e){const t=Mx("documentEndpointBuilder",!1),{field:n,domId:i}=e,{dataSource:r,maxHeight:s,label:o}=n,a=`${i}-error-message`,l=function(e){const t=Px(e);if(!Array.isArray(t))return[];return t.filter(QA)}(r||""),c=eO(o,{debug:!0});return rt("div",{class:_x(VA),children:[rt(LO,{htmlFor:i,label:c}),rt("div",{class:`fjs-${VA}-document-container`,id:i,children:l.map((e,n)=>{const r=JA(()=>t?.buildUrl(e))??e.endpoint;return"string"==typeof(o=r)&&URL.canParse(o)?rt(GA,{documentMetadata:e,endpoint:r,maxHeight:s,domId:`${i}-${n}`},e.documentId):null;var o})}),rt(MO,{id:a,errors:qA({dataSource:r})})]})}function qA(e){const{dataSource:t}=e;let n=[];return(!R(t)||t.length<1)&&n.push("Document reference is not defined."),n}function QA(e){return"object"==typeof e&&null!==e&&"documentId"in e&&"metadata"in e&&"object"==typeof e.metadata&&"fileName"in e.metadata}function XA(e){const{url:t,onError:n,errorMessageId:i}=e,[r,s]=bt(null),[o,a]=bt(!1);return wt(()=>{let e=null;return(async()=>{try{const i=await fetch(t);if(!i.ok)return a(!0),void n();const r=await i.blob();e=URL.createObjectURL(r),s(e)}catch{a(!0),n()}})(),()=>{e&&URL.revokeObjectURL(e)}},[t,n]),rt(Ee,{children:[null!==r?rt("embed",{src:r,type:"application/pdf",class:`fjs-${VA}-pdf-viewer`}):null,o?rt(MO,{id:i,errors:["Unable to download document"]}):null]})}function GA(e){const{documentMetadata:t,endpoint:n,maxHeight:i,domId:r}=e,{metadata:s}=t,[o,a]=bt(!1),l=Tt(null),c=function(e){const[t,n]=bt(!1);return wt(()=>{const t=e.current;if(!t)return;const i=new IntersectionObserver(([e])=>{e.isIntersecting&&n(!0)},{threshold:0});return i.observe(t),()=>{t&&i.unobserve(t)}},[e]),t}(l),d=`fjs-${VA}-single-document-container`,u=`${r}-error-message`,h="Unable to download document",f="string"==typeof s.contentType;return f&&s.contentType.toLowerCase().startsWith("image/")&&c?rt("div",{class:d,style:{maxHeight:i},"aria-describedby":o?u:void 0,children:[rt("img",{src:n,alt:s.fileName,class:`fjs-${VA}-image`}),rt(KA,{endpoint:n,fileName:s.fileName,onDownloadError:()=>{a(!0)}}),o?rt(MO,{id:u,errors:[h]}):null]}):f&&"application/pdf"===s.contentType.toLowerCase()&&c?rt("div",{class:d,style:{maxHeight:i},"aria-describedby":o?u:void 0,children:rt(XA,{url:n,fileName:s.fileName,onError:()=>a(!0),errorMessageId:u})}):rt("div",{class:Me()(`fjs-${VA}-non-preview-item`,`fjs-${VA}-single-document-container`),ref:l,"aria-describedby":o?u:void 0,children:[rt("div",{children:[rt("div",{class:"fjs-document-preview-title",children:s.fileName}),o?rt(MO,{id:u,errors:[h]}):null]}),rt(KA,{endpoint:n,fileName:s.fileName,onDownloadError:()=>{a(!0)}})]})}function KA(e){const{endpoint:t,fileName:n,onDownloadError:i}=e;return rt("button",{type:"button",onClick:async()=>{try{const e=await fetch(t);if(!e.ok)return void i();const r=await e.blob(),s=window.URL.createObjectURL(r),o=document.createElement("a");o.href=s,o.download=n,o.click(),window.URL.revokeObjectURL(s)}catch{i()}},class:Me()(`fjs-${VA}-download-button`),"aria-label":`Download ${n}`,children:rt(UA,{})})}ZA.config={type:VA,keyed:!1,group:"presentation",name:"Document preview",create:(e={})=>({label:"Document preview",...e})};const JA=e=>{try{return e()}catch(e){return console.error(e),null}};function eC(){return rt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14.02 5.57",width:"53",height:"21",style:"vertical-align:middle",children:[rt("path",{fill:"currentColor",d:"M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32
2-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"}),rt("path",{fill:"currentColor",d:"M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"})]})}function tC(e){const{open:t}=e;return t?rt("div",{class:"fjs-powered-by-lightbox",style:"z-index: 100; position: fixed; top: 0; left: 0;right: 0; bottom: 0",children:[rt("div",{class:"backdrop",style:"width: 100%; height: 100%; background: rgba(40 40 40 / 20%)",onClick:e.onBackdropClick}),rt("div",{class:"notice",style:"position: absolute; left: 50%; top: 40%; transform: translate(-50%); width: 260px; padding: 10px; background: white; box-shadow: 0 1px 4px rgba(0 0 0 / 30%); font-family: Helvetica, Arial, sans-serif; font-size: 14px; display: flex; line-height: 1.3",children:[rt("a",{href:"https://bpmn.io",target:"_blank",rel:"noopener noreferrer",style:"margin: 15px 20px 15px 10px; align-self: center; color: var(--cds-icon-primary, #404040)",children:rt(eC,{})}),rt("span",{children:["Web-based tooling for BPMN, DMN, and forms powered by"," ",rt("a",{href:"https://bpmn.io",target:"_blank",rel:"noopener noreferrer",children:"bpmn.io"}),"."]})]})]}):null}function nC(e){return rt("div",{class:"fjs-powered-by fjs-form-field",style:"text-align: right",children:rt("a",{href:"https://bpmn.io",target:"_blank",rel:"noopener noreferrer",class:"fjs-powered-by-link",title:"Powered by bpmn.io",style:"color: var(--cds-text-primary, #404040)",onClick:e.onClick,children:rt(eC,{})})})}function iC(e){const[t,n]=bt(!1);function i(e){return t=>{t.preventDefault(),n(e)}}return rt(Ee,{children:[Vo(rt(tC,{open:t,onBackdropClick:i(!1)}),document.body),rt(nC,{onClick:i(!0)})]})}const rC=()=>{};function sC(e){const t=Mx("form"),{schema:n,properties:i}=t._getState(),{ariaLabel:r}=i,{onSubmit:s=rC,onReset:o=rC,onChange:a=rC}=e,l=function(){const{initialData:e,data:t}=Mx("form")._getState(),n=Mx("conditionChecker",!1);return Mt(()=>{const i=n?n.applyConditions(t,t):t;return{...e,...i}},[n,t,e])}(),c=Mt(()=>({data:l,parent:null,this:l,i:[]}),[l]);return rt("form",{class:"fjs-form",onSubmit:e=>{e.preventDefault(),s()},onReset:e=>{e.preventDefault(),o()},"aria-label":r,noValidate:!0,children:[rt(kx.Provider,{value:c,children:rt(CO,{field:n,onChange:a})}),rt(iC,{})]})}const oC=[yA,bA,HY,eD,pA,FA,xO,DO,FY,qY,nA,hA,OY,IA,mA,ZA,KY,XY,tD,JY,rD,kO,RO];class aC{constructor(){this._formFields={},oC.forEach(e=>{this.register(e.config.type,e)})}register(e,t){this._formFields[e]=t}get(e){return this._formFields[e]}}const lC=(e,t)=>{const n=[];let i=t.get(e);for(;i;)n.push(i.id),i=t.get(i._parent);return n};class cC{constructor(e,t,n){this._formFieldRegistry=e,this._pathRegistry=t,this._eventBus=n}applyConditions(e,t={},n={}){const i=Lx(e),{getFilterPath:r=(e,t)=>this._pathRegistry.getValuePath(e,{indexes:t})}=n,s=(e,n,o=!1)=>{const{indexes:a={},expressionIndexes:l=[],scopeData:c=t,parentScopeData:d=null}=n;this._pathRegistry.executeRecursivelyOnFields(e,({field:e,isClosed:n,isRepeatable:u,context:h})=>{const{conditional:f,components:m,id:p}=e,g=xx({this:c,data:t,i:l,parent:d});if(h.isHidden=o||h.isHidden||f&&this._checkHideCondition(f,g),u&&!h.isHidden){h.preventRecursion=!0;const n=this._pathRegistry.getValuePath(e,{indexes:a}),i=X(t,n);if(!(Array.isArray(i)&&i.length&&Array.isArray(m)&&m.length))return;for(let e=0;e<i.length;e++){const t={indexes:{...a,[p]:e},expressionIndexes:[...l,e+1],scopeData:i[e],parentScopeData:c};m.forEach(e=>{s(e,t,h.isHidden)})}}h.isHidden&&u&&(h.preventRecursion=!0,this._eventBus.fire("conditionChecker.remove",{item:{[e.key]:X(i,r(e,a))}}),this._cleanlyClearDataAtPath(r(e,a),i)),h.isHidden&&n&&(this._eventBus.fire("conditionChecker.remove",{item:{[e.key]:X(i,r(e,a))}}),this._cleanlyClearDataAtPath(r(e,a),i))})},o=this._formFieldRegistry.getForm();if(!o)throw new Error("form field registry has no form");return s(o,{scopeData:t}),i}check(e,t={}){if(!e)return null;if(!R(e)||!e.startsWith("="))return null;try{return function(e,t={},n){const i=void 0!==t["?"]?t["?"]:null,{root:r}=Zu.unaryTest(e,t,n);return r(t)(i)}(e.slice(1),t)}catch(e){return this._eventBus.fire("error",{error:e}),null}}_checkHideCondition(e,t){if(!e.hide)return!1;return!0===this.check(e.hide,t)}_cleanlyClearDataAtPath(e,t){const n=[...e];let i=!1;do{Q(t,n,void 0),n.pop();const e=X(t,n);i=!!n.length&&(this._isEmptyObject(e)||this._isEmptyArray(e))}while(i)}_isEmptyObject(e){return I(e)&&!(t=e,B(t,e=>e)).length;var t}_isEmptyArray(e){return Array.isArray(e)&&(!e.length||e.every(e=>void 0===e))}}cC.$inject=["formFieldRegistry","pathRegistry","eventBus"];const dC={__init__:["expressionLanguage","templating","conditionChecker"],expressionLanguage:["type",sx],templating:["type",ox],conditionChecker:["type",cC]};class uC{constructor(e){this._computedExpressions=[],e.on("field.updated",({shouldNotRecompute:e})=>{e||this.reset()}),e.on("import.done",this.reset.bind(this)),e.on("reset",this.reset.bind(this))}registerExpressionExecution(e){return!this._computedExpressions.includes(e)&&(this._computedExpressions.push(e),!0)}reset(){this._computedExpressions=[]}}uC.$inject=["eventBus"];const hC={__init__:["expressionLoopPreventer"],expressionLoopPreventer:["type",uC]};class fC{render(e){return KS.parse(e,{gfm:!0,breaks:!0})}}fC.$inject=[];const mC={__init__:["markdownRenderer"],markdownRenderer:["type",fC]};function pC(e,t){this._handlerMap={},this._stack=[],this._stackIdx=-1,this._currentExecution={actions:[],dirty:[],trigger:null},this._injector=t,this._eventBus=e,this._uid=1,e.on(["diagram.destroy","diagram.clear"],function(){this.clear(!1)},this)}pC.$inject=["eventBus","injector"],pC.prototype.execute=function(e,t){if(!e)throw new Error("command required");this._currentExecution.trigger="execute";
vendor: 4,138 bytes, line 2
2const n={command:e,context:t};this._pushAction(n),this._internalExecute(n),this._popAction()},pC.prototype.canExecute=function(e,t){const n={command:e,context:t},i=this._getHandler(e);let r=this._fire(e,"canExecute",n);if(void 0===r){if(!i)return!1;i.canExecute&&(r=i.canExecute(t))}return r},pC.prototype.clear=function(e){this._stack.length=0,this._stackIdx=-1,!1!==e&&this._fire("changed",{trigger:"clear"})},pC.prototype.undo=function(){let e,t=this._getUndoAction();if(t){for(this._currentExecution.trigger="undo",this._pushAction(t);t&&(this._internalUndo(t),e=this._getUndoAction(),e&&e.id===t.id);)t=e;this._popAction()}},pC.prototype.redo=function(){let e,t=this._getRedoAction();if(t){for(this._currentExecution.trigger="redo",this._pushAction(t);t&&(this._internalExecute(t,!0),e=this._getRedoAction(),e&&e.id===t.id);)t=e;this._popAction()}},pC.prototype.register=function(e,t){this._setHandler(e,t)},pC.prototype.registerHandler=function(e,t){if(!e||!t)throw new Error("command and handlerCls must be defined");const n=this._injector.instantiate(t);this.register(e,n)},pC.prototype.canUndo=function(){return!!this._getUndoAction()},pC.prototype.canRedo=function(){return!!this._getRedoAction()},pC.prototype._getRedoAction=function(){return this._stack[this._stackIdx+1]},pC.prototype._getUndoAction=function(){return this._stack[this._stackIdx]},pC.prototype._internalUndo=function(e){const t=e.command,n=e.context,i=this._getHandler(t);this._atomicDo(()=>{this._fire(t,"revert",e),i.revert&&this._markDirty(i.revert(n)),this._revertedAction(e),this._fire(t,"reverted",e)})},pC.prototype._fire=function(e,t,n){arguments.length<3&&(n=t,t=null);const i=t?[e+"."+t,t]:[e];let r;n=this._eventBus.createEvent(n);for(const e of i)if(r=this._eventBus.fire("commandStack."+e,n),n.cancelBubble)break;return r},pC.prototype._createId=function(){return this._uid++},pC.prototype._atomicDo=function(e){const t=this._currentExecution;t.atomic=!0;try{e()}finally{t.atomic=!1}},pC.prototype._internalExecute=function(e,t){const n=e.command,i=e.context,r=this._getHandler(n);if(!r)throw new Error("no command handler registered for <"+n+">");this._pushAction(e),t||(this._fire(n,"preExecute",e),r.preExecute&&r.preExecute(i),this._fire(n,"preExecuted",e)),this._atomicDo(()=>{this._fire(n,"execute",e),r.execute&&this._markDirty(r.execute(i)),this._executedAction(e,t),this._fire(n,"executed",e)}),t||(this._fire(n,"postExecute",e),r.postExecute&&r.postExecute(i),this._fire(n,"postExecuted",e)),this._popAction()},pC.prototype._pushAction=function(e){const t=this._currentExecution,n=t.actions,i=n[0];if(t.atomic)throw new Error("illegal invocation in <execute> or <revert> phase (action: "+e.command+")");e.id||(e.id=i&&i.id||this._createId()),n.push(e)},pC.prototype._popAction=function(){const e=this._currentExecution,t=e.trigger,n=e.actions,i=e.dirty;n.pop(),n.length||(this._eventBus.fire("elements.changed",{elements:W("id",i.reverse())}),i.length=0,this._fire("changed",{trigger:t}),e.trigger=null)},pC.prototype._markDirty=function(e){const t=this._currentExecution;e&&(e=E(e)?e:[e],t.dirty=t.dirty.concat(e))},pC.prototype._executedAction=function(e,t){const n=++this._stackIdx;t||this._stack.splice(n,this._stack.length,e)},pC.prototype._revertedAction=function(e){this._stackIdx--},pC.prototype._getHandler=function(e){return this._handlerMap[e]},pC.prototype._setHandler=function(e,t){if(!e||!t)throw new Error("command and handler required");if(this._handlerMap[e])throw new Error("overriding handler for command <"+e+">");this._handlerMap[e]=t};var gC={commandStack:["type",pC]};class yC{constructor(e,t){this._form=e,this._validator=t}execute(e){const{field:t,value:n,indexes:i}=e,{errors:r}=this._form._getState();e.oldErrors=Lx(r);const s=this._validator.validateField(t,n),o=Q(r,[t.id,...Object.values(i||{})],s.length?s:void 0);this._form._setState({errors:o})}revert(e){this._form._setState({errors:e.oldErrors})}}yC.$inject=["form","validator"];class _C{constructor(e,t){this._form=e,this._validator=t}execute(e){const{fieldInstance:t,value:n}=e,{id:i,indexes:r}=t,{errors:s}=this._form._getState();e.oldErrors=Lx(s);
2const o=this._validator.validateFieldInstance(t,n),a=Q(s,[i,...Object.values(r||{})],o.length?o:void 0);this._form._setState({errors:a})}revert(e){this._form._setState({errors:e.oldErrors})}}_C.$inject=["form","validator"];class bC{constructor(e,t){this._commandStack=e,t.on("form.init",()=>{this.registerHandlers()})}registerHandlers(){Object.entries(this.getHandlers()).forEach(([e,t])=>{this._commandStack.registerHandler(e,t)})}getHandlers(){return{"formField.validation.update":yC,"formFieldInstance.validation.update":_C}}updateFieldValidation(e,t,n){const i={field:e,value:t,indexes:n};this._commandStack.execute("formField.validation.update",i)}updateFieldInstanceValidation(e,t){const n={fieldInstance:e,value:t};this._commandStack.execute("formFieldInstance.validation.update",n)}}bC.$inject=["commandStack","eventBus"];const vC={__depends__:[gC],__init__:["viewerCommands"],viewerCommands:["type",bC]};var wC;function kC(){return kC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kC.apply(null,arguments)}var TC,MC=function(e){return Ae("svg",kC({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),wC||(wC=Ae("path",{fill:"currentColor",d:"M2 9h5.5v3.086l-1.293-1.293-.707.707L8 14l2.5-2.5-.707-.707L8.5 12.086V9H14V8H2zm11-7H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1m0 3H3V3h10z"})))};function LC(){return LC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},LC.apply(null,arguments)}var SC,xC,OC=function(e){return Ae("svg",LC({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),TC||(TC=Ae("path",{fill:"currentColor",d:"M13 10H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1m0 3H3v-2h10zM8.5 3.914l1.293 1.293.707-.707L8 2 5.5 4.5l.707.707L7.5 3.914V7H2v1h12V7H8.5z"})))};function DC(){return DC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DC.apply(null,arguments)}var YC,AC=function(e){return Ae("svg",DC({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),SC||(SC=Ae("path",{fill:"currentColor",d:"M8 2c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6m0-1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7"})),xC||(xC=Ae("path",{fill:"currentColor",d:"M12 7.5H8.5V4h-1v3.5H4v1h3.5V12h1V8.5H12z"})))};function CC(){return CC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},CC.apply(null,arguments)}var EC=function(e){return Ae("svg",CC({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),YC||(YC=Ae("path",{fill:"currentColor",d:"m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"})))};class IC{constructor(e,t,n,i,r){this._form=e,this._formFields=t,this._formFieldRegistry=n,this._pathRegistry=i,this._eventBus=r,this.Repeater=this.Repeater.bind(this),this.RepeatFooter=this.RepeatFooter.bind(this)}isFieldRepeating(e){if(!e)return!1;const t=this._formFieldRegistry.get(e);return this._formFields.get(t.type).config.repeatable&&t.isRepeating}Repeater(e){const{RowsRenderer:t,indexes:n,useSharedState:i,...r}=e,[s]=i,{data:o}=this._form._getState(),a=e.field,l=this._pathRegistry.getValuePath(a,{indexes:n}),c=X(o,l)||[],d=this._getNonCollapsedItems(a),u=!a.disableCollapse&&c.length>d&&s.isCollapsed,h=a.components&&a.components.length>0,f=a.allowAddRemove&&h,m=t=>{const i=c.slice(),r=i.splice(t,1)[0];this._eventBus.fire("repeatRenderManager.remove",{dataPath:l,index:t,item:r}),e.onChange({field:a,value:i,indexes:n})},p=St(kx);return rt(Ee,{children:c.map((e,i)=>rt("div",{class:Me()({"fjs-repeat-row-collapsed":!!u&&i>=d}),children:rt(PC,{itemIndex:i,itemValue:e,parentExpressionContextInfo:p,repeaterField:a,RowsRenderer:t,indexes:n,onDeleteItem:m,showRemove:f,...r})},i))})}RepeatFooter(e){const t=Tt(null),{useSharedState:n,indexes:i,field:r,readonly:s,disabled:o}=e,[a,l]=n,{data:c}=this._form._getState(),d=this._pathRegistry.getValuePath(r,{indexes:i}
2),u=X(c,d)||[],h=this._getNonCollapsedItems(r),f=!r.disableCollapse&&u.length>h,m=f&&a.isCollapsed,p=r.components&&r.components.length>0,g=r.allowAddRemove&&p,y=Tt(!1);return Qx(t,[u.length],{align:"bottom",behavior:"auto",offset:20},[y]),rt("div",{className:Me()("fjs-repeat-render-footer",{"fjs-remove-allowed":r.allowAddRemove}),children:[g?rt("button",{type:"button",readOnly:s,disabled:o||s,class:"fjs-repeat-render-add",ref:t,onClick:()=>{const t=u.slice(),n=this._form._getInitializedFieldData(this._form._getState().data,{container:r,indexes:{...i,[r.id]:t.length}});t.push(n),y.current=!0,this._eventBus.fire("repeatRenderManager.add",{dataPath:d,index:t.length-1,item:n}),e.onChange({value:t}),l(e=>({...e,isCollapsed:!1}))},children:rt(Ee,{children:[rt(AC,{})," ","Add new"]})}):null,f?rt("button",{type:"button",class:"fjs-repeat-render-collapse",onClick:()=>{l(e=>({...e,isCollapsed:!m}))},children:rt(Ee,m?{children:[rt(MC,{})," ",`Expand all (${u.length-1})`]}:{children:[rt(OC,{})," ","Collapse"]})}):null]})}_getNonCollapsedItems(e){const{nonCollapsedItems:t}=e;return t||5}}const PC=e=>{const{itemIndex:t,itemValue:n,parentExpressionContextInfo:i,repeaterField:r,RowsRenderer:s,indexes:o,onDeleteItem:a,showRemove:l,...c}=e,d=Mt(()=>({...c,indexes:{...o||{},[r.id]:t}}),[t,o,r.id,c]),u=Mt(()=>({data:i.data,this:n,parent:xx({...i,data:i.this}),i:[...i.i,t+1]}),[t,i,n]);return l?rt("div",{class:"fjs-repeat-row-container",children:[rt("div",{class:"fjs-repeat-row-rows",children:rt(kx.Provider,{value:u,children:rt(s,{...d})})}),rt("button",{type:"button",class:"fjs-repeat-row-remove","aria-label":`Remove list item ${t+1}`,onClick:()=>a(t),children:rt("div",{class:"fjs-repeat-row-remove-icon-container",children:rt(EC,{})})})]}):rt(kx.Provider,{value:u,children:rt(s,{...d})})};IC.$inject=["form","formFields","formFieldRegistry","pathRegistry","eventBus"];const NC={__init__:["repeatRenderManager"],repeatRenderManager:["type",IC]};var RC="__fn",zC=Array.prototype.slice;function HC(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}function jC(){}HC.prototype.on=function(e,t,n,i){if(e=E(e)?e:[e],N(t)&&(i=n,n=t,t=1e3),!P(t))throw new Error("priority must be a number");var r=n;i&&(r=function(e,t){return e.bind(t)}(n,i),r[RC]=n[RC]||n);var s=this;e.forEach(function(e){s._addListener(e,{priority:t,callback:r,next:null})})},HC.prototype.once=function(e,t,n,i){var r=this;if(N(t)&&(i=n,n=t,t=1e3),!P(t))throw new Error("priority must be a number");function s(){s.__isTomb=!0;var t=n.apply(i,arguments);return r.off(e,s),t}s[RC]=n,this.on(e,t,s)},HC.prototype.off=function(e,t){e=E(e)?e:[e];var n=this;e.forEach(function(e){n._removeListener(e,t)})},HC.prototype.createEvent=function(e){var t=new jC;return t.init(e),t},HC.prototype.fire=function(e,t){var n,i,r,s;if(s=zC.call(arguments),"object"==typeof e&&(e=(t=e).type),!e)throw new Error("no event type specified");if(i=this._listeners[e]){n=t instanceof jC?t:this.createEvent(t),s[0]=n;var o=n.type;e!==o&&(n.type=e);try{r=this._invokeListeners(n,s,i)}finally{e!==o&&(n.type=o)}return void 0===r&&n.defaultPrevented&&(r=!1),r}},HC.prototype.handleError=function(e){return!1===this.fire("error",{error:e})},HC.prototype._destroy=function(){this._listeners={}},HC.prototype._invokeListeners=function(e,t,n){for(var i;n&&!e.cancelBubble;)i=this._invokeListener(e,t,n),n=n.next;return i},HC.prototype._invokeListener=function(e,t,n){var i;if(n.callback.__isTomb)return i;try{i=function(e,t){return e.apply(null,t)}(n.callback,t),void 0!==i&&(e.returnValue=i,e.stopPropagation()),!1===i&&e.preventDefault()}catch(e){if(!this.handleError(e))throw console.error("unhandled error in event listener",e),e}return i},HC.prototype._addListener=function(e,t){var n,i=this._getListeners(e);if(i){for(;i;){if(i.priority<t.priority)return t.next=i,void(n?n.next=t:this._setListeners(e,t));n=i,i=i.next}n.next=t}else this._setListeners(e,t)},HC.prototype._getListeners=function(e){return this._listeners[e]},HC.prototype._setListeners=function(e,t){this._listeners[e]=t},HC.prototype._removeListener=function(e,t){var n,i,r,s=this._getListeners(e);if(t)for(;s;)n=s.next,(r=s.callback)!==t&&r[RC]!==t||(i?i.next=n:this._setListeners(e,n)),i=s,s=n;else this._setListeners(e,null)},jC.prototype.stopPropagation=function(){this.cancelBubble=!0},jC.prototype.preventDefault=function(){this.defaultPrevented=!0},jC.prototype.init=function(e){!function(e,...t){Object.assign(e,...t)}(this,e||{})};const FC=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,BC=/(\+|00)(297|93|244|1264|358|355|376|971|54|374|1684|1268|61|43|994|257|32|229|226|880|359|973|1242|387|590|375|501|1441|591|55|1246|673|975|267|236|1|61|41|56|86|225|237|243|242|682|57|269|238|506|53|5999|61|1345|357|420|49|253|1767|45|1809|1829|1849|213|593|20|291|212|34|372|251|358|679|500|33|298|691|241|44|995|44|233|350|224|590|220|245|240|30|1473|299|502|594|1671|592|852|504|385|509|36|62|44|91|246|353|98|964|354|972|39|1876|44|962|81|76|77|254|996|855|686|1869|82|383|965|856|961|231|218|1758|423|94|266|370|352|371|853|590|212|377|373|261|960|52|692|389|223|356|95|382|976|1670|258|222|1664|596|230|265|60|262|264|687|227|672|234|505|683|31|47|977|674|64|9
268|92|507|64|51|63|680|675|48|1787|1939|850|351|595|970|689|974|262|40|7|250|966|249|221|65|500|4779|677|232|503|378|252|508|381|211|239|597|421|386|46|268|1721|248|963|1649|235|228|66|992|690|993|670|676|1868|216|90|688|886|255|256|380|598|1|998|3906698|379|1784|58|1284|1340|84|678|681|685|967|27|260|263)(9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)\d{4,20}$/,$C=["min","max","minLength","maxLength"];class WC{constructor(e,t,n,i){this._expressionLanguage=e,this._conditionChecker=t,this._form=n,this._formFieldRegistry=i}validateField(e,t){const{type:n,validate:i}=e;let r=[];if("number"===n&&(r=[...r,...UC(e,t)]),!i)return r;const s=function(e,t,n,i){const r={...e};return $C.forEach(e=>{const s=e.split("."),o=X(r,s);if(!t||!t.isExpression(o))return o;const{initialData:a,data:l}=i._getState(),c={...a,...n?n.applyConditions(l,l):l},d=t.evaluate(o,c);d&&Q(r,s,d)}),r}(i,this._expressionLanguage,this._conditionChecker,this._form);return r=[...r,...VC(e,s,t)],r}validateFieldInstance(e,t){const{id:n,expressionContextInfo:i}=e,r=this._formFieldRegistry.get(n);if(!r)return[];const{type:s,validate:o}=r;let a=[];if("number"===s&&(a=[...a,...UC(r,t)]),!o)return a;const l=function(e,t,n){const i={...e};return $C.forEach(e=>{const r=e.split("."),s=X(i,r),o=Ox(t,s,n);Q(i,r,null===o?void 0:o)}),i}(o,this._expressionLanguage,i);return a=[...a,...VC(r,l,t)],a}}function UC(e,t){const{decimalDigits:n,increment:i}=e,r=[];if("NaN"===t)r.push("Value is not a number.");else if(t&&(n>=0&&function(e){const t=ke(e);return t.toString()===t.toFixed(0)?0:t.toFixed().split(".")[1].length||0}(t)>n&&r.push("Value is expected to "+(0===n?"be an integer":`have at most ${n} decimal digit${n>1?"s":""}`)+"."),i)){const e=ke(t),n=ke(i),s=e.mod(n);if(0!==s.cmp(0)){const t=e.minus(s),i=t.plus(n);r.push(`Please select a valid value, the two nearest valid values are ${t} and ${i}.`)}}return r}function VC(e,t,n){const i=[];if(t.pattern&&n&&!new RegExp(t.pattern).test(n)&&i.push(t.patternErrorMessage||`Field must match pattern ${t.pattern}.`),t.required){const t="checkbox"===e.type&&!1===n,r=C(n)||""===n,s=Array.isArray(n)&&0===n.length;(t||r||s)&&i.push("Field is required.")}return"min"in t&&(n||0===n)&&n<t.min&&i.push(`Field must have minimum value of ${t.min}.`),"max"in t&&(n||0===n)&&n>t.max&&i.push(`Field must have maximum value of ${t.max}.`),"minLength"in t&&n&&n.trim().length<t.minLength&&i.push(`Field must have minimum length of ${t.minLength}.`),"maxLength"in t&&n&&n.trim().length>t.maxLength&&i.push(`Field must have maximum length of ${t.maxLength}.`),"validationType"in t&&n&&"phone"===t.validationType&&!BC.test(n)&&i.push("Field must be a valid international phone number. (e.g. +4930664040900)"),"validationType"in t&&n&&"email"===t.validationType&&!FC.test(n)&&i.push("Field must be a valid email."),i}WC.$inject=["expressionLanguage","conditionChecker","form","formFieldRegistry"];class ZC{constructor(e,t,n,i){this._formFieldRegistry=e,this._pathRegistry=t,this._fieldFactory=n,this._formLayouter=i}importSchema(e){const t=[];try{this._cleanup();const n=this.importFormField(Lx(e));return this._formLayouter.calculateLayout(Lx(n)),{schema:n,warnings:t}}catch(e){throw this._cleanup(),e.warnings=t,e}}_cleanup(){this._formLayouter.clear(),this._formFieldRegistry.clear(),this._pathRegistry.clear()}importFormField(e,t,n){const{components:i}=e;let r,s;t&&(r=this._formFieldRegistry.get(t)),s=r?[...r._path,"components",n]:[];const o=this._fieldFactory.create({...e,_path:s,_parent:t},!1);return this._formFieldRegistry.add(o),i&&(o.components=this.importFormFields(i,o.id)),o}importFormFields(e,t){return e.map((e,n)=>this.importFormField(e,t,n))}}ZC.$inject=["formFieldRegistry","pathRegistry","fieldFactory","formLayouter"];class qC{constructor(e,t,n){this._formFieldRegistry=e,this._pathRegistry=t,this._formFields=n}create(e,t=!0){const{id:n,type:i,key:r,path:s,_parent:o}=e,a=this._formFields.get(i);if(!a)throw new Error(`form field of type <${i}> not supported`);const{config:l}=a;if(!l)throw new Error(`form field of type <${i}> has no config`);if(n&&this._formFieldRegistry._ids.assigned(n))throw new Error(`form field with id <${n}> already exists`);const c=o&&this._formFieldRegistry.get(o),d=c&&this._pathRegistry.getValuePath(c)||[],u=lC(o,this._formFieldRegistry);if(l.keyed&&r&&!this._pathRegistry.canClaimPath([...d,...r.split(".")],{isClosed:!0,knownAncestorIds:u}))throw new Error(`binding path '${[...d,r].join(".")}' is already claimed`);
2if(l.pathed&&s&&!this._pathRegistry.canClaimPath([...d,...s.split(".")],{isRepeatable:l.repeatable,knownAncestorIds:u}))throw new Error(`binding path '${[...d,...s.split(".")].join(".")}' is already claimed`);const h=l.create({...l.label?{label:l.label}:{},...e},t);return this._ensureId(h),l.keyed&&(this._ensureKey(h),this._pathRegistry.claimPath(this._pathRegistry.getValuePath(h),{isClosed:!0,claimerId:h.id,knownAncestorIds:lC(o,this._formFieldRegistry)})),l.pathed&&(l.repeatable&&this._enforceDefaultPath(h),this._pathRegistry.claimPath(this._pathRegistry.getValuePath(h),{isRepeatable:l.repeatable,claimerId:h.id,knownAncestorIds:lC(o,this._formFieldRegistry)})),h}_ensureId(e){if(e.id)return void this._formFieldRegistry._ids.claim(e.id,e);let t="Field";"default"===e.type&&(t="Form"),e.id=this._formFieldRegistry._ids.nextPrefixed(`${t}_`,e)}_ensureKey(e){e.key||(e.key=this._getUniqueKeyPath(e))}_enforceDefaultPath(e){e.path||(e.path=this._getUniqueKeyPath(e))}_getUniqueKeyPath(e){let t;const n=this._formFieldRegistry.get(e._parent);do{t=Math.random().toString(36).substring(7)}while(n&&n.components.some(e=>e.key===t));return`${e.type}_${t}`}}qC.$inject=["formFieldRegistry","pathRegistry","formFields"];class QC{constructor(e,t,n){this._formFieldRegistry=e,this._formFields=t,this._injector=n,this._dataPaths=[]}canClaimPath(e,t={}){const{isClosed:n=!1,isRepeatable:i=!1,skipAncestryCheck:r=!1,claimerId:s=null,knownAncestorIds:o=[]}=t;let a={children:this._dataPaths};for(const t of e){if(a=XC(a,t),!a)return!0;if(a.isRepeatable&&!r){if(!s&&!o.length)throw new Error("cannot claim a path that contains a repeater without specifying a claimerId or knownAncestorIds");if(!(o.includes(a.repeaterId)||s&&lC(s,this._formFieldRegistry).includes(a.repeaterId)))return!1}if(null===a.children)return!1}return!(n||i)}claimPath(e,t={}){const{isClosed:n=!1,isRepeatable:i=!1,claimerId:r=null,knownAncestorIds:s=[]}=t;if(!this.canClaimPath(e,{isClosed:n,isRepeatable:i,claimerId:r,knownAncestorIds:s}))throw new Error(`cannot claim path '${e.join(".")}'`);let o={children:this._dataPaths};for(const t of e){let e=XC(o,t);e?e.claimCount++:(e={segment:t,claimCount:1,children:[]},o.children.push(e)),o=e}n&&(o.children=null),i&&(o.isRepeatable=!0,o.repeaterId=r)}unclaimPath(e){let t={children:this._dataPaths};for(const n of e){const i=XC(t,n);if(!i)throw new Error(`no open path found for '${e.join(".")}'`);t=i}t={children:this._dataPaths};for(const n of e){const e=XC(t,n);if(e.claimCount--,0===e.claimCount){t.children.splice(t.children.indexOf(e),1);break}t=e}}executeRecursivelyOnFields(e,t,n={}){let i=!0;const r=this._formFields.get(e.type).config;if(r.keyed){const r=t({field:e,isClosed:!0,isRepeatable:!1,context:n});return i&&r}if(r.pathed){const s=t({field:e,isClosed:!1,isRepeatable:r.repeatable,context:n});i=i&&s}if(!1===i||n.preventRecursion)return i;if(Array.isArray(e.components))for(const r of e.components){const e=this.executeRecursivelyOnFields(r,t,Lx(n));if(i=i&&e,!1===i)return i}return i}getValuePath(e,t={}){const{replacements:n={},indexes:i=null,cutoffNode:r=null}=t;let s=[];const o=Object.prototype.hasOwnProperty.call(n,e.id),a=this._formFields.get(e.type).config;if(o){const t=n[e.id];if(null==t||""===t)s=[];else if("string"==typeof t)s=t.split(".");else{if(!Array.isArray(t))throw new Error(`replacements for field ${e.id} must be a string, array or null/undefined`);s=t}}else a.keyed?s=e.key.split("."):a.pathed&&e.path&&(s=e.path.split("."));if(i&&(s=this._addIndexes(s,e,i)),e._parent&&e._parent!==r){const n=this._formFieldRegistry.get(e._parent);return[...this.getValuePath(n,t)||[],...s]}return s}clear(){this._dataPaths=[]}_addIndexes(e,t,n){const i=this._injector.get("repeatRenderManager",!1);return i&&i.isFieldRepeating(t._parent)?[n[t._parent],...e]:e}}const XC=(e,t)=>E(e.children)&&e.children.find(e=>e.segment===t)||null;QC.$inject=["formFieldRegistry","formFields","injector"];class GC{constructor(e){this._rows=[],this._ids=new x([32,36,1]),this._eventBus=e}addRow(e,t){let n=this._rows.find(t=>t.formFieldId===e);n||(n={formFieldId:e,rows:[]},this._rows.push(n)),n.rows.push(t)}getRow(e){return KC(this._rows).find(t=>
2t.id===e)}getRowForField(e){return KC(this._rows).find(t=>{const{components:n}=t;return n.includes(e.id)})}getRows(e){const t=this._rows.find(t=>e===t.formFieldId);return t?t.rows:[]}nextRowId(){return this._ids.nextPrefixed("Row_")}calculateLayout(e){const{type:t,components:n}=e;if(!["default","group","dynamiclist"].includes(t)||!n)return;const i=function(e,t){return $(e,e=>{const{layout:n}=e;return n&&n.row?n.row:t.nextPrefixed("Row_")})}(n,this._ids);Object.entries(i).forEach(([t,n])=>{this.addRow(e.id,{id:t,components:n.map(e=>e.id)})}),n.forEach(e=>this.calculateLayout(e)),this._eventBus.fire("form.layoutCalculated",{rows:this._rows})}clear(){this._rows=[],this._ids.clear(),this._eventBus.fire("form.layoutCleared")}}function KC(e){return e.map(e=>e.rows).flat()}GC.$inject=["eventBus"];class JC{constructor(e){this._eventBus=e,this._formFields={},e.on("form.clear",()=>this.clear()),this._ids=new x([32,36,1])}add(e){const{id:t}=e;if(this._formFields[t])throw new Error(`form field with ID ${t} already exists`);this._eventBus.fire("formField.add",{formField:e}),this._formFields[t]=e}remove(e){const{id:t}=e;this._formFields[t]&&(this._eventBus.fire("formField.remove",{formField:e}),delete this._formFields[t])}get(e){return this._formFields[e]}getAll(){return Object.values(this._formFields)}getForm(){return this.getAll().find(e=>"default"===e.type)}forEach(e){this.getAll().forEach(t=>e(t))}clear(){this._formFields={},this._ids.clear()}}JC.$inject=["eventBus"];class eE{constructor(e,t,n){this._eventBus=e,this._formFieldRegistry=t,this._formFields=n,this._formFieldInstances={},e.on("form.clear",()=>this.clear())}syncInstance(e,t){const{hidden:n,...i}=t,r=!n,s=this._formFieldInstances[e];if(r&&!s)this._formFieldInstances[e]={instanceId:e,...i},this._eventBus.fire("formFieldInstance.added",{instanceId:e});else if(!r&&s)delete this._formFieldInstances[e],this._eventBus.fire("formFieldInstance.removed",{instanceId:e});else if(r&&s){Object.keys(i).some(t=>this._formFieldInstances[e][t]!==i[t])&&(this._formFieldInstances[e]={instanceId:e,...i},this._eventBus.fire("formFieldInstance.changed",{instanceId:e}))}return e}cleanupInstance(e){this._formFieldInstances[e]&&(delete this._formFieldInstances[e],this._eventBus.fire("formFieldInstance.removed",{instanceId:e}))}get(e){return this._formFieldInstances[e]}getAll(){return Object.values(this._formFieldInstances)}getAllKeyed(){return this.getAll().filter(({id:e})=>{const t=this._formFieldRegistry.get(e);if(!t)return!1;const{type:n}=t,{config:i}=this._formFields.get(n);return i.keyed})}clear(){this._formFieldInstances={}}}function tE(e,t,n,i){const r=()=>{const[e,r]=bt(n._getState()),s={getService(e,t=!0){return i.get(e,t)},formId:n._id};t.on("changed",e=>{r(e)});const o=Lt(e=>n._update(e),[]),{properties:a}=e,{readOnly:l}=a,c=Lt(()=>{l||n.submit()},[l]),d=Lt(()=>n.reset(),[]),{schema:u}=e;return u?rt(Tx.Provider,{value:s,children:rt(sC,{onChange:o,onSubmit:c,onReset:d})}):null},{container:s}=e;t.on("form.init",()=>{tt(rt(r,{}),s)}),t.on("form.destroy",()=>{tt(null,s)})}eE.$inject=["eventBus","formFieldRegistry","formFields"],tE.$inject=["config.renderer","eventBus","form","injector"];const nE=e=>{const t=[];return null===e||Object.values(e).forEach(e=>{null!==e&&("object"==typeof e?t.push(...nE(e)):Array.isArray(e)?t.push(...e.map(nE).flat()):"string"==typeof e&&e.startsWith(zA)&&t.push(e))}),t},iE=Symbol("fileRegistry"),rE=Symbol("eventBus"),sE=Symbol("formFieldRegistry"),oE=Symbol("formFieldInstanceRegistry"),aE=[];class lE{constructor(e,t,n){this[iE]=new Map,this[rE]=e,this[sE]=t,this[oE]=n;const i=({item:e})=>{nE(e).forEach(e=>{this.deleteFiles(e)})};e.on("form.clear",()=>this.clear()),e.on("conditionChecker.remove",i),e.on("repeatRenderManager.remove",i)}setFiles(e,t){this[iE].set(e,t)}getFiles(e){return this[iE].get(e)||aE}getKeys(){return Array.from(this[iE].keys())}hasKey(e){return this[iE].has(e)}deleteFiles(e){this[iE].delete(e)}getAllFiles(){return new Map(this[iE])}clear(){this[iE].clear()}}lE.$inject=["eventBus","formFieldRegistry","formFieldInstanceRegistry"];const cE={__depends__:[{__init__:["formFields","renderer"],formFields:["type",aC],renderer:["type",tE],fileRegistry:["type",lE]}],eventBus:["type",HC],importer:["type",ZC],fieldFactory:["type",qC],formFieldRegistry:["type",JC],formFieldInstanceRegistry:["type",eE],pathRegistry:["type",QC],formLayouter:["type",GC],validator:["type",WC]},dE=new x([32,36,1]);class uE{constructor(e={}){this.on=this._onEvent,this._id=dE.next(),this._container=function(e="fjs"){const t=document.createElement("div");return t.classList.add(`${e}-container`),t}();const{container:t,injector:n=this._createInjector(e,this._container),properties:i={}}=e;this._state={initialData:null,data:null,properties:i,errors:{},schema:null},this.get=n.get,this.invoke=n.invoke,this.get("eventBus").fire("form.init"),t&&this.attachTo(t)}clear(){this._emit("diagram.clear"),this._emit("form.clear")}destroy(){this.get("eventBus").fire("form.destroy"),this.get("eventBus").fire("diagram.destroy"),this._detach(!1)}importSchema(e,t={}){return new Promise((n,i)=>{try{this.clear();const{schema:i,warnings:r}=this.get("importer").importSchema(e),s=this._getInitializedFieldData(Lx(t));return this._setState({data:s,errors:{},schema:i,initialData:Lx(s)}),this._emit("import.done",{warnings:r}),n({warnings:r})}catch(e){return this._emit("import.done",{error:e,warnings:e.warnings||[]}),i(e)}})}submit(){const{properties:e}=this._getState();if(e.readOnly||e.disabled)throw new Error("form is read-only");this._emit("presubmit");const t={data:this._getSubmitData(),errors:this.validate(),files:this.get("fileRegistry").getAllFiles()};return this._emit("submit",t),t}reset(){this._emit("reset"),this._setState({data:Lx(this._state.initialData),errors:{}})}validate(){const e=this.get("formFieldRegistry"),t=this.get("formFieldInstanceRegistry"),n=this.get("validator"),{data:i}=this._getState(),r={};
2return t.getAllKeyed().forEach(t=>{const{id:s,valuePath:o,indexes:a}=t,l=e.get(s);if(l.disabled)return;const c=X(i,o),d=n.validateFieldInstance(t,c);d.length&&Q(r,((e,t)=>[e,...Object.values(t||{})])(l.id,a),d)}),this._setState({errors:r}),r}attachTo(e){if(!e)throw new Error("parentNode required");this.detach(),R(e)&&(e=document.querySelector(e));const t=this._container;e.appendChild(t),this._emit("attach")}detach(){this._detach()}_detach(e=!0){const t=this._container,n=t.parentNode;n&&(e&&this._emit("detach"),n.removeChild(t))}setProperty(e,t){const n=Q(this._getState().properties,[e],t);this._setState({properties:n})}off(e,t){this.get("eventBus").off(e,t)}_createInjector(e,t){const{modules:n=this._getModules(),additionalModules:i=[],...r}=e;return function(e){const t=new vl(e);return t.init(),t}([{config:["value",{...r,renderer:{container:t}}]},{form:["value",this]},cE,...n,...i])}_emit(e,t){this.get("eventBus").fire(e,t)}_update(e){const{fieldInstance:t,value:n}=e,{id:i,valuePath:r,indexes:s}=t,{data:o,errors:a}=this._getState(),l=this.get("validator").validateFieldInstance(t,n);Q(o,r,n),Q(a,[i,...Object.values(s||{})],l.length?l:void 0),this._emit("field.updated",e),this._setState({data:Lx(o),errors:Lx(a)})}_getState(){return this._state}_setState(e){this._state={...this._state,...e},this._emit("changed",this._getState())}_getModules(){return[dC,hC,mC,vC,NC]}_onEvent(e,t,n){this.get("eventBus").on(e,t,n)}_getSubmitData(){const e=this.get("formFieldRegistry"),t=this.get("formFieldInstanceRegistry"),n=this._getState().data,i={};return t.getAllKeyed().forEach(t=>{const{id:r,valuePath:s}=t,{disabled:o}=e.get(r);if(o)return;const a=X(n,s);Q(i,s,a)}),i}_getInitializedFieldData(e,t={}){const n=this.get("formFieldRegistry"),i=this.get("formFields"),r=this.get("pathRegistry");const s=t.container||n.getForm(),o=t.indexes||{},a=r.getValuePath(s,{indexes:o})||[],l=Y(o[s.id])?a:[...a,o[s.id]],c=Lx(e);return function t(n,s,o){const{defaultValue:a,type:l,isRepeating:c}=s,{config:d}=i.get(l),u=r.getValuePath(s,{indexes:o});let h=X(e,u);if(d.keyed){!Y(h)&&d.sanitizeValue&&(h=d.sanitizeValue({formField:s,data:e,value:h}));const t=Y(h)?Y(a)?d.emptyValue:a:h;Q(n,u,t)}if(Array.isArray(s.components))return d.repeatable&&c?(h&&Array.isArray(h)||(h=new Array(Y(s.defaultRepetitions)?1:s.defaultRepetitions).fill().map(e=>({}))||[]),h=h.map(e=>I(e)?e:{}),Q(n,u,h),Y(o[s.id])?void h.forEach((e,i)=>{s.components.forEach(e=>t(n,e,{...o,[s.id]:i}))}):void s.components.forEach(e=>t(n,e,{...o}))):void s.components.forEach(e=>t(n,e,o))}(c,s,o),X(c,l,{})}}function hE(){var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function s(n,i,r,s){var l=i&&i.prototype instanceof a?i:a,c=Object.create(l.prototype);return fE(c,"_invoke",function(n,i,r){var s,a,l,c=0,d=r||[],u=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return s=t,a=0,l=e,h.n=n,o}};function f(n,i){for(a=n,l=i,t=0;!u&&c&&!r&&t<d.length;t++){var r,s=d[t],f=h.p,m=s[2];n>3?(r=m===i)&&(l=s[(a=s[4])?5:(a=3,3)],s[4]=s[5]=e):s[0]<=f&&((r=n<2&&f<s[1])?(a=0,h.v=i,h.n=s[1]):f<m&&(r=n<3||s[0]>i||i>m)&&(s[4]=n,s[5]=i,h.n=m,a=0))}if(r||n>1)return o;throw u=!0,i}return function(r,d,m){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,m),a=d,l=m;(t=a<2?e:l)||!u;){s||(a?a<3?(a>1&&(h.n=-1),f(a,l)):h.n=l:h.v=l);try{if(c=2,s){if(a||(r="next"),t=s[r]){if(!(t=t.call(s,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,a<2&&(a=0)}else 1===a&&(t=s.return)&&t.call(s),a<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),a=1);s=e}else if((t=(u=h.n<0)?l:n.call(i,h))!==o)break}catch(t){s=e,a=1,l=t}finally{c=1}}return{value:t,done:u}}}(n,r,s),!0),c}var o={};function a(){}function l(){}function c(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(fE(t={},i,function(){return this}),t),u=c.prototype=a.prototype=Object.create(d);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,fE(e,r,"GeneratorFunction")),e.prototype=Object.create(u),e}return l.prototype=c,fE(u,"constructor",c),fE(c,"constructor",l),l.displayName="GeneratorFunction",fE(c,r,"GeneratorFunction"),fE(u),fE(u,r,"Generator"),fE(u,i,function(){return this}),fE(u,"toString",function(){return"[object Generator]"}),(hE=function(){return{w:s,m:h}})()}function fE(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}fE=function(e,t,n,i){function s(t,n){fE(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(s("next",0),s("throw",1),s("return",2))},fE(e,t,n,i)}function mE(e,t,n,i,r,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}var pE=function(){var e=function(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var s=e.apply(t,n);function o(e){mE(s,i,r,o,a,"next",e)}function a(e){mE(s,i,r,o,a,"throw",e)}o(void 0)})}}(hE().m(function e(t){var n,i,r;return hE().w(function(e){for(;;)switch(e.n){case 0:return n=t.getAttribute("data-components"),i=n?JSON.parse(n):[],r=new uE({container:t,debounce:!1}),e.n=1,r.importSchema({components:i,type:"default"});case 1:return e.n=2,t.querySelector(".fjs-powered-by").remove();case 2:return e.a(2,r)}},e)}));return function(t){return e.apply(this,arguments)}}(),gE=pE;function yE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var _E=document.querySelectorAll(".bhub-form-viewer");_E&&function(e){return function(e){if(Array.isArray(e))return yE(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return yE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yE(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(_E).map(function(e){gE(e)});var bE=n(6334),vE=n(5093),wE=intlTelInput,kE=function(e){var t=wE(e,{initialCountry:"auto",geoIpLookup:function(e,t){fetch("https://ipapi.co/json").then(function(e){return e.json()}).then(function(t){e(t.country_code)}).catch(function(){t()})}});return window.bhubIti||(window.bhubIti=t),t};function TE(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function ME(e,t){void 0===e&&(e={}),void 0===t&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>
2n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:TE(t[n])&&TE(e[n])&&Object.keys(t[n]).length>0&&ME(e[n],t[n])})}const LE={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function SE(){const e="undefined"!=typeof document?document:{};return ME(e,LE),e}const xE={document:LE,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function OE(){const e="undefined"!=typeof window?window:{};return ME(e,xE),e}function DE(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function YE(){return Date.now()}function AE(e,t){void 0===t&&(t="x");const n=OE();let i,r,s;const o=function(e){const t=OE();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix("none"===r?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function CE(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function EE(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function IE(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&!EE(i)){const n=Object.keys(Object(i)).filter(e=>t.indexOf(e)<0);for(let t=0,r=n.length;t<r;t+=1){const r=n[t],s=Object.getOwnPropertyDescriptor(i,r);void 0!==s&&s.enumerable&&(CE(e[r])&&CE(i[r])?i[r].__swiper__?e[r]=i[r]:IE(e[r],i[r]):!CE(e[r])&&CE(i[r])?(e[r]={},i[r].__swiper__?e[r]=i[r]:IE(e[r],i[r])):e[r]=i[r])}}}return e}function PE(e,t,n){e.style.setProperty(t,n)}function NE(e){let{swiper:t,targetPosition:n,side:i}=e;const r=OE(),s=-t.translate;let o,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const c=n>s?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{o=(new Date).getTime(),null===a&&(a=o);const e=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let h=s+c*(n-s);if(d(h,n)&&(h=n),t.wrapperEl.scrollTo({[i]:h}),d(h,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:h})}),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(u)};u()}function RE(e,t){void 0===t&&(t="");const n=OE(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function zE(e){try{return void console.warn(e)}catch(e){}}function HE(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}(t)),n}function jE(e,t){return OE().getComputedStyle(e,null).getPropertyValue(t)}function FE(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function BE(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function $E(e,t,n){const i=OE();
vendor: 4,193 bytes, line 2
2return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function WE(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function UE(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let VE,ZE,qE;function QE(){return VE||(VE=function(){const e=OE(),t=SE();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),VE}function XE(e){return void 0===e&&(e={}),ZE||(ZE=function(e){let{userAgent:t}=void 0===e?{}:e;const n=QE(),i=OE(),r=i.navigator.platform,s=t||i.navigator.userAgent,o={ios:!1,android:!1},a=i.screen.width,l=i.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let d=s.match(/(iPad).*OS\s([\d_]+)/);const u=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===r;let m="MacIntel"===r;return!d&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(d=s.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),c&&!f&&(o.os="android",o.android=!0),(d||h||u)&&(o.os="ios",o.ios=!0),o}(e)),ZE}function GE(){return qE||(qE=function(){const e=OE(),t=XE();let n=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=i();return{isSafari:n||s,needPerspectiveFix:n,need3dFix:s||r&&t.ios,isWebView:r}}()),qE}var KE={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];t.apply(i,s)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];"string"==typeof s[0]||Array.isArray(s[0])?(t=s[0],n=s.slice(1,s.length),i=e):(t=s[0].events,n=s[0].data,i=s[0].context||e),n.unshift(i);return(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(i,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(i,n)})}),e}};const JE=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const eI=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const tI=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);
vendor: 5,034 bytes, line 2
2if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())})),t&&t.remove()}},nI=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},iI=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=r,s=[n-t];return s.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{s.includes(t.column)&&nI(e,n)})}const s=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=s+t;i+=1){const t=(i%n+n)%n;(t<r||t>s)&&nI(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(s+t,n-1);i+=1)i!==r&&(i>s||i<r)&&nI(e,i)};var rI={updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(jE(i,"padding-left")||0,10)-parseInt(jE(i,"padding-right")||0,10),n=n-parseInt(jE(i,"padding-top")||0,10)-parseInt(jE(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:r,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=RE(r,`.${e.params.slideClass}, swiper-slide`),u=l?e.virtual.slides.length:d.length;let h=[];const f=[],m=[];let p=n.slidesOffsetBefore;"function"==typeof p&&(p=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const y=e.snapGrid.length,_=e.slidesGrid.length;let b=n.spaceBetween,v=-p,w=0,k=0;if(void 0===s)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*s:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,d.forEach(e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(PE(i,"--swiper-centered-offset-before",""),PE(i,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;let M;T?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const L="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<u;i+=1){let r;if(M=0,d[i]&&(r=d[i]),T&&e.grid.updateSlide(i,r,d),!d[i]||"none"!==jE(r,"display")){if("auto"===n.slidesPerView){L&&(d[i].style[e.getDirectionLabel("width")]="");const s=getComputedStyle(r),o=r.style.transform,a=r.style.webkitTransform;if(o&&(r.style.transform="none"),a&&(r.style.webkitTransform="none"),n.roundLengths)M=e.isHorizontal()?$E(r,"width",!0):$E(r,"height",!0);else{const e=t(s,"width"),n=t(s,"padding-left"),i=t(s,"padding-right"),o=t(s,"margin-left"),a=t(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)M=e+o+a;else{const{clientWidth:t,offsetWidth:s}=r;M=e+n+i+o+a+(s-t)}}o&&(r.style.transform=o),a&&(r.style.webkitTransform=a),n.roundLengths&&(M=Math.floor(M))}else M=(s-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(M=Math.floor(M)),d[i]&&(d[i].style[e.getDirectionLabel("width")]=`${M}px`);d[i]&&(d[i].swiperSlideSize=M),m.push(M),n.centeredSlides?(v=v+M/2+w/2+b,0===w&&0!==i&&(v=v-s/2-b),0===i&&(v=v-s/2-b),Math.abs(v)<.001&&(v=0),n.roundLengths&&(v=Math.floor(v)),k%n.slidesPerGroup===0&&h.push(v),f.push(v)):(n.roundLengths&&(v=Math.floor(v)),(k-Math.min(e.params.slidesPerGroupSkip,k))%e.params.slidesPerGroup===0&&h.push(v),f.push(v),v=v+M+b),e.virtualSize+=M+b,w=M,k+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+g,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),T&&e.grid.updateWrapperSize(M,h),!n.centeredSlides){const t=[];for(let i=0;i<h.length;i+=1){let r=h[i];n.roundLengths&&(r=Math.floor(r)),h[i]<=e.virtualSize-s&&t.push(r)}h=t,Math.floor(e.virtualSize-s)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-s)}if(l&&n.loop){const t=m[0]+b;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),r=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)h.push(h[h.length-1]+r)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===h.length&&(h=[0]),0!==b){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");d.filter((e,t)=>
vendor: 27,165 bytes, line 2
2!(n.cssMode&&!n.loop)||t!==d.length-1).forEach(e=>{e.style[t]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach(t=>{e+=t+(b||0)}),e-=b;const t=e>s?e-s:0;h=h.map(e=>e<=0?-p:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;m.forEach(t=>{e+=t+(b||0)}),e-=b;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<s){const n=(s-e-t)/2;h.forEach((e,t)=>{h[t]=e-n}),f.forEach((e,t)=>{f[t]=e+n})}}if(Object.assign(e,{slides:d,snapGrid:h,slidesGrid:f,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){PE(i,"--swiper-centered-offset-before",-h[0]+"px"),PE(i,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(u!==c&&e.emit("slidesLengthChange"),h.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==_&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);u<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!i)break;n.push(o(e))}else n.push(o(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;s=e>s?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:s}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<i.length;e+=1){const l=i[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(o+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),u=(o-s[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),h=-(o-c),f=h+t.slidesSizesGrid[e],m=h>=0&&h<=t.size-t.slidesSizesGrid[e],p=h>=0&&h<t.size-1||f>1&&f<=t.size||h<=0&&f>=t.size;p&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),JE(l,p,n.slideVisibleClass),JE(l,m,n.slideFullyVisibleClass),l.progress=r?-d:d,l.originalProgress=r?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,c=o;if(0===i)r=0,s=!0,o=!0;else{r=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=n||r<=0,o=a||r>=1,n&&(r=0),a&&(r=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[n],s=t.slidesGrid[i],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=r?(l-r)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(t,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:r}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=e=>RE(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,d;if(s)if(n.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=t.find(e=>e.column===r),d=t.find(e=>e.column===r+1),c=t.find(e=>e.column===r-1)):l=t[r];l&&(o||(d=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{eI(e,e===l,n.slideActiveClass),eI(e,e===d,n.slideNextClass),eI(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?r=e:i>=t[e]&&i<t[e+1]&&(r=e+1):i>=t[e]&&(r=e);return n.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&r.grid&&r.grid.rows>1;let h;if(t.virtual&&r.virtual.enabled&&r.loop)h=d(c);else if(u){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),h=Math.floor(n/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");h=e?parseInt(e,10):c}else h=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:h,previousIndex:s,activeIndex:c}),t.initialized&&iI(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==h&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let s,o=!1;if(r)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===r){o=!0,s=e;break}if(!r||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var sI={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let s=AE(r,e);return s+=this.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:r,wrapperEl:s,progress:o}=n;let a,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,r.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:r.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const d=n.maxTranslate()-n.minTranslate();a=0===d?0:(e-n.minTranslate())/d,a!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let d;if(d=i&&e>l?l:i&&e<c?c:e,s.updateProgress(d),o.cssMode){const e=s.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-d;else{if(!s.support.smoothScroll)return NE({swiper:s,targetPosition:-d,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(d),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(d),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}};function oI(e){let{swiper:t,runCallbacks:n,direction:i,step:r}=e;const{activeIndex:s,previousIndex:o}=t;let a=i;a||(a=s>o?"next":s<o?"prev":"reset"),t.emit(`transition${r}`),n&&"reset"===a?t.emit(`slideResetTransition${r}`):n&&s!==o&&(t.emit(`slideChangeTransition${r}`),"next"===a?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}var aI={setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),oI({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),oI({swiper:n,runCallbacks:e,direction:t,step:"End"}))}};var lI={slideTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const s=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:h,wrapperEl:f,enabled:m}=s;if(!m&&!i&&!r||s.destroyed||s.animating&&a.preventInteractionOnTransition)return!1;void 0===t&&(t=s.params.speed);const p=Math.min(s.params.slidesPerGroupSkip,o);let g=p+Math.floor((o-p)/s.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const y=-l[g];if(a.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*y),n=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<i-(i-n)/2?o=e:t>=n&&t<i&&(o=e+1):t>=n&&(o=e)}if(s.initialized&&o!==u){if(!s.allowSlideNext&&(h?y>s.translate&&y>s.minTranslate():y<s.translate&&y<s.minTranslate()))return!1;if(!s.allowSlidePrev&&y>s.translate&&y>s.maxTranslate()&&(u||0)!==o)return!1}let _;o!==(d||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(y),_=o>u?"next":o<u?"prev":"reset";const b=s.virtual&&s.params.virtual.enabled;if(!(b&&r)&&(h&&-y===s.translate||!h&&y===s.translate))return s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(y),"reset"!==_&&(s.transitionStart(n,_),s.transitionEnd(n,_)),!1;if(a.cssMode){const e=s.isHorizontal(),n=h?y:-y;if(0===t)b&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),b&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[e?"scrollLeft":"scrollTop"]=n})):f[e?"scrollLeft":"scrollTop"]=n,b&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return NE({swiper:s,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const v=GE().isSafari;return b&&!r&&v&&s.isElement&&s.virtual.update(!1,!1,o),s.setTransition(t),s.setTranslate(y),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,_),0===t?s.transitionEnd(n,_):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,_))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){const t=o*r.params.grid.rows;e=r.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(o);const t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params;let a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&a%2==0&&(a+=1));let l=t-e<a;if(n&&(l=l||e<Math.ceil(a/2)),i&&n&&"auto"!==r.params.slidesPerView&&!s&&(l=!1),l){const i=n?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(s){const e=o*r.params.grid.rows;o=r.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,t,n,i)}),r},slideNext:function(e,t,n){void 0===t&&(t=!0);const i=this,{enabled:r,params:s,animating:o}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<s.slidesPerGroupSkip?1:a,c=i.virtual&&s.virtual.enabled;if(s.loop){if(o&&!c&&s.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const i=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const d=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=u(a?i.translate:-i.translate),f=s.map(e=>u(e)),m=r.freeMode&&r.freeMode.enabled;let p=s[f.indexOf(h)-1];if(void 0===p&&(r.cssMode||m)){let e;s.forEach((t,n)=>{h>=t&&(e=n)}),void 0!==e&&(p=m?s[e]:s[e>0?e-1:e])}let g=0;if(void 0!==p&&(g=o.indexOf(p),g<0&&(g=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,n)}),!0):i.slideTo(g,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const e=r.snapGrid[a];l-e>(r.snapGrid[a+1]-e)*i&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];l-e<=(r.snapGrid[a]-e)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.getSlideIndexWhenGrid(e.clickedIndex);const o=e.isElement?"swiper-slide":`.${t.slideClass}`,a=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(r):s>(a?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),s=e.getSlideIndex(RE(n,`${o}[data-swiper-slide-index="${r}"]`)[0]),DE(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}};var cI={loopCreate:function(e,t){const n=this,{params:i,slidesEl:r}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const s=()=>{RE(r,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},o=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||o)&&(()=>{const e=RE(r,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const a=i.slidesPerGroup*(o?i.grid.rows:1),l=n.slides.length%a!==0,c=o&&n.slides.length%i.grid.rows!==0,d=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?HE("swiper-slide",[i.slideBlankClass]):HE("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};if(l){if(i.loopAddBlankSlides){d(a-n.slides.length%a),n.recalcSlides(),n.updateSlides()}else zE("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(c){if(i.loopAddBlankSlides){d(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()}else zE("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();n.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:r,activeSlideIndex:s,initial:o,byController:a,byMousewheel:l}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:d,allowSlidePrev:u,allowSlideNext:h,slidesEl:f,params:m}=c,{centeredSlides:p,initialSlide:g}=m;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&m.virtual.enabled)return n&&(m.centeredSlides||0!==c.snapIndex?m.centeredSlides&&c.snapIndex<m.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=u,c.allowSlideNext=h,void c.emit("loopFix");let y=m.slidesPerView;"auto"===y?y=c.slidesPerViewDynamic():(y=Math.ceil(parseFloat(m.slidesPerView,10)),p&&y%2==0&&(y+=1));const _=m.slidesPerGroupAuto?y:m.slidesPerGroup;let b=p?Math.max(_,Math.ceil(y/2)):_;b%_!==0&&(b+=_-b%_),b+=m.loopAdditionalSlides,c.loopedSlides=b;const v=c.grid&&m.grid&&m.grid.rows>1;d.length<y+b||"cards"===c.params.effect&&d.length<y+2*b?zE("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):v&&"row"===m.grid.fill&&zE("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],k=[],T=v?Math.ceil(d.length/m.grid.rows):d.length,M=o&&T-g<y&&!p;let L=M?g:c.activeIndex;void 0===s?s=c.getSlideIndex(d.find(e=>e.classList.contains(m.slideActiveClass))):L=s;const S="next"===i||!i,x="prev"===i||!i;let O=0,D=0;const Y=(v?d[s].column:s)+(p&&void 0===r?-y/2+.5:0);if(Y<b){O=Math.max(b-Y,_);for(let e=0;e<b-Y;e+=1){const t=e-Math.floor(e/T)*T;if(v){const e=T-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&w.push(t)}else w.push(T-t-1)}}else if(Y+y>T-b){D=Math.max(Y-(T-2*b),_),M&&(D=Math.max(D,y-T+g+1));for(let e=0;e<D;e+=1){const t=e-Math.floor(e/T)*T;v?d.forEach((e,n)=>{e.column===t&&k.push(n)}):k.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&d.length<y+2*b&&(k.includes(s)&&k.splice(k.indexOf(s),1),w.includes(s)&&w.splice(w.indexOf(s),1)),x&&w.forEach(e=>{d[e].swiperLoopMoveDOM=!0,f.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),S&&k.forEach(e=>{d[e].swiperLoopMoveDOM=!0,f.append(d[e]),d[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===m.slidesPerView?c.updateSlides():v&&(w.length>0&&x||k.length>0&&S)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),m.watchSlidesProgress&&c.updateSlidesOffset(),n)if(w.length>0&&x){if(void 0===t){const e=c.slidesGrid[L],t=c.slidesGrid[L+O]-e;l?c.setTranslate(c.translate-t):(c.slideTo(L+Math.ceil(O),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(r){const e=v?w.length/m.grid.rows:w.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(k.length>0&&S)if(void 0===t){const e=c.slidesGrid[L],t=c.slidesGrid[L-D]-e;l?c.setTranslate(c.translate-t):(c.slideTo(L-D,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=v?k.length/m.grid.rows:k.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=u,c.allowSlideNext=h,c.controller&&c.controller.control&&!a){const e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&n})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===m.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};var dI={setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}};function uI(e,t,n){const i=OE(),{params:r}=e,s=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return!s||!(n<=o||n>=i.innerWidth-o)||"prevent"===s&&(t.preventDefault(),!0)}function hI(e){const t=this,n=SE();let i=e;i.originalEvent&&(i=i.originalEvent);const r=t.touchEventsData;if("pointerdown"===i.type){if(null!==r.pointerId&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(r.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void uI(t,i,i.targetTouches[0].pageX);const{params:s,touches:o,enabled:a}=t;if(!a)return;if(!s.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=i.target;if("wrapper"===s.touchEventsTarget&&!function(e,t){const n=OE();let i=t.contains(e);!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return i}(l,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!s.noSwipingClass&&""!==s.noSwipingClass,d=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&d&&(l=d[0]);const u=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,h=!(!i.target||!i.target.shadowRoot);if(s.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===SE()||n===OE())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(u,l):l.closest(u)))return void(t.allowClick=!0);if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=i.pageX,o.currentY=i.pageY;const f=o.currentX,m=o.currentY;if(!uI(t,i,f))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=f,o.startY=m,r.touchStartTime=YE(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let p=!0;l.matches(r.focusableElements)&&(p=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==l&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!l.matches(r.focusableElements))&&n.activeElement.blur();const g=p&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!g||l.isContentEditable||i.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function fI(e){const t=SE(),n=this,i=n.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:a}=n;if(!a)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==i.touchId)return;if(c.pointerId!==i.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===i.touchId),!l||l.identifier!==i.touchId)return}else l=c;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));const d=l.pageX,u=l.pageY;if(c.preventedByNestedSwiper)return s.startX=d,void(s.startY=u);
vendor: 4,545 bytes, line 2
2if(!n.allowTouchMove)return c.target.matches(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(s,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=YE()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(u<s.startY&&n.translate<=n.maxTranslate()||u>s.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(o&&(d>s.startX&&-n.translate<=n.maxTranslate()||d<s.startX&&-n.translate>=n.minTranslate()))return;if(!o&&(d<s.startX&&n.translate<=n.maxTranslate()||d>s.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);i.allowTouchCallbacks&&n.emit("touchMove",c),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=d,s.currentY=u;const h=s.currentX-s.startX,f=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(h**2+f**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let m=n.isHorizontal()?h:f,p=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(m=Math.abs(m)*(o?1:-1),p=Math.abs(p)*(o?1:-1)),s.diff=m,m*=r.touchRatio,o&&(m=-m,p=-p);const g=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=p>0?"prev":"next";const y=n.params.loop&&!r.cssMode,_="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!i.isMoved){if(y&&_&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&g!==n.touchesDirection&&y&&_&&Math.abs(m)>=1)return Object.assign(s,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);n.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let b=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),m>0?(y&&_&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+m)**v))):m<0&&(y&&_&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-m)**v))),b&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(m)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 4,881 bytes, line 2
2if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function mI(e){const t=this,n=t.touchEventsData;let i,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(i=[...r.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:s,touches:o,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);s.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=YE(),u=d-n.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),u<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=YE(),DE(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===o.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=s.followFinger?a?t.translate:-t.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const f=h>=-t.maxTranslate()&&!t.params.loop;let m=0,p=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){const t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==l[e+t]?(f||h>=l[e]&&h<l[e+t])&&(m=e,p=l[e+t]-l[e]):(f||h>=l[e])&&(m=e,p=l[l.length-1]-l[l.length-2])}let g=null,y=null;s.rewind&&(t.isBeginning?y=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const _=(h-l[m])/p,b=m<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(u>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(_>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?g:m+b):t.slideTo(m)),"prev"===t.swipeDirection&&(_>1-s.longSwipesRatio?t.slideTo(m+b):null!==y&&_<0&&Math.abs(_)>s.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+b):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==g?g:m+b),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:m))}}function pI(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function gI(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function yI(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function _I(e){const t=this;tI(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 4,818 bytes, line 2
2)}function bI(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const vI=(e,t)=>{const n=SE(),{params:i,el:r,wrapperEl:s,device:o}=e,a=!!i.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",e.onClick,!0),i.cssMode&&s[l]("scroll",e.onScroll),i.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",pI,!0):e[c]("observerUpdate",pI,!0),r[l]("load",e.onLoad,{capture:!0}))};const wI=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var kI={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:i,el:r}=e,s=i.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const o=SE(),a="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:o.querySelector(i.breakpointsBase),c=e.getBreakpoint(s,a,l);if(!c||e.currentBreakpoint===c)return;const d=(c in s?s[c]:void 0)||e.originalParams,u=wI(e,i),h=wI(e,d),f=e.params.grabCursor,m=d.grabCursor,p=i.enabled;u&&!h?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&h&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!m?e.unsetGrabCursor():!f&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===d[t])return;const n=i[t]&&i[t].enabled,r=d[t]&&d[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()});const g=d.direction&&d.direction!==i.direction,y=i.loop&&(d.slidesPerView!==i.slidesPerView||g),_=i.loop;g&&n&&e.changeDirection(),IE(e.params,d);const b=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!b?e.disable():!p&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),n&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!_&&v?(e.loopCreate(t),e.updateSlides()):_&&!v&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1;const r=OE(),s="window"===t?r.innerHeight:n.clientHeight,o=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){const{point:s,value:a}=o[e];"window"===t?r.matchMedia(`(min-width: ${a}px)`).matches&&(i=s):a<=n.clientWidth&&(i=s)}return i||"max"}};var TI={addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:r,device:s}=e,o=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}};var MI={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
vendor: 3,602 bytes, line 2
2spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function LI(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),IE(t,n)):IE(t,n)):IE(t,n)}}const SI={eventsEmitter:KE,update:rI,translate:sI,transition:aI,slide:lI,loop:cI,grabCursor:dI,events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=hI.bind(e),e.onTouchMove=fI.bind(e),e.onTouchEnd=mI.bind(e),e.onDocumentTouchStart=bI.bind(e),t.cssMode&&(e.onScroll=yI.bind(e)),e.onClick=gI.bind(e),e.onLoad=_I.bind(e),vI(e,"on")},detachEvents:function(){vI(this,"off")}},breakpoints:kI,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:TI},xI={};class OI{constructor(){let e,t;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=IE({},t),e&&!t.el&&(t.el=e);const s=SE();if(t.el&&"string"==typeof t.el&&s.querySelectorAll(t.el).length>1){const e=[];return s.querySelectorAll(t.el).forEach(n=>{const i=IE({},t,{el:n});e.push(new OI(i))}),e}const o=this;o.__swiper__=!0,o.support=QE(),o.device=XE({userAgent:t.userAgent}),o.browser=GE(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const a={};o.modules.forEach(e=>{e({params:t,swiper:o,extendParams:LI(t,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const l=IE({},MI,a);return o.params=IE({},l,xI,t),o.originalParams=IE({},o.params),o.passedParams=IE({}
vendor: 8,318 bytes, line 2
2,t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(e=>{o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===o.params.direction},isVertical(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=FE(RE(t,`.${n.slideClass}, swiper-slide`)[0]);return FE(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=RE(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=(n.maxTranslate()-i)*e+i;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[a]?Math.ceil(i[a].swiperSlideSize):0;for(let n=a+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>o&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<i.length;e+=1){(t?r[e]+s[e]-r[a]<o:r[e]-r[a]<o)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){r[a]-r[e]<o&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&tI(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(i())}return RE(n,i())[0]})();return!r&&t.params.createElements&&(r=HE("div",t.params.wrapperClass),n.append(r),RE(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===jE(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===jE(n,"direction")),wrongRTL:"-webkit-box"===jE(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?tI(t,e):e.addEventListener("load",e=>{tI(t,e.target)})}),iI(t),t.initialized=!0,iI(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,el:r,wrapperEl:s,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){IE(xI,e)}static get extendedDefaults(){return xI}static get defaults(){return MI}static installModule(e){OI.prototype.__modules__||(OI.prototype.__modules__=[]);const t=OI.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>OI.installModule(e)),OI):(OI.installModule(e),OI)}}function DI(e,t,n,i){return e.params.createElements&&Object.keys(i).forEac
vendor: 1,869 bytes, line 2
2h(r=>{if(!n[r]&&!0===n.auto){let s=RE(e.el,`.${i[r]}`)[0];s||(s=HE("div",i[r]),s.className=i[r],e.el.append(s)),n[r]=s,t[r]=s}}),n}function YI(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;function s(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function o(e,n){const i=t.params.navigation;(e=WE(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function a(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return o(n,!1),void o(e,!1);o(n,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function d(){const e=t.params.navigation;if(t.params.navigation=DI(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=s(e.nextEl),i=s(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=WE(n),i=WE(i);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?c:l),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function u(){let{nextEl:e,prevEl:n}=t.navigation;e=WE(e),n=WE(n);const i=(e,n)=>{e.removeEventListener("click","next"===n?c:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>
2i(e,"next")),n.forEach(e=>i(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?h():(d(),a())}),i("toEdge fromEdge lock unlock",()=>{a()}),i("destroy",()=>{u()}),i("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;e=WE(e),n=WE(n),t.enabled?a():[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,n)=>{let{nextEl:i,prevEl:s}=t.navigation;i=WE(i),s=WE(s);const o=n.target;let a=s.includes(o)||i.includes(o);if(t.isElement&&!a){const e=n.path||n.composedPath&&n.composedPath();e&&(a=e.find(e=>i.includes(e)||s.includes(e)))}if(t.params.navigation.hideOnClick&&!a){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):s.length&&(e=s[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...i,...s].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),a()},disable:h,update:a,init:d,destroy:u})}function AI(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function CI(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const s="swiper-pagination";let o;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let a=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,n){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${n}-${n}`))}function d(e){const n=e.target.closest(AI(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const i=FE(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(r=t.realIndex,s=i,o=t.slides.length,(s%=o)===1+(r%=o)?"next":s===r-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var r,s,o}function u(){const e=t.rtl,n=t.params.pagination;if(l())return;let i,s,d=t.pagination.el;d=WE(d);const u=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.ceil(u/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(s=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,s=t.previousSnapIndex):(s=t.previousIndex||0,i=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let l,u,h;if(n.dynamicBullets&&(o=$E(r[0],t.isHorizontal()?"width":"height",!0),d.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=o*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==s&&(a+=i-(s||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),l=Math.max(i-a,0),u=l+(Math.min(r.length,n.dynamicMainBullets)-1),h=(u+l)/2),r.forEach(e
2=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),d.length>1)r.forEach(e=>{const r=FE(e);r===i?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(r>=l&&r<=u&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===l&&c(e,"prev"),r===u&&c(e,"next"))});else{const e=r[i];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&r.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),n.dynamicBullets){const e=r[l],t=r[u];for(let e=l;e<=u;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),s=(o*i-o)/2-h*o,a=e?"right":"left";r.forEach(e=>{e.style[t.isHorizontal()?a:"top"]=`${s}px`})}}d.forEach((e,s)=>{if("fraction"===n.type&&(e.querySelectorAll(AI(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(i+1)}),e.querySelectorAll(AI(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(h)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const s=(i+1)/h;let o=1,a=1;"horizontal"===r?o=s:a=s,e.querySelectorAll(AI(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(UE(e,n.renderCustom(t,i+1,h)),0===s&&r("paginationRender",e)):(0===s&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)})}function h(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let i=t.pagination.el;i=WE(i);let s="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)e.renderBullet?s+=e.renderBullet.call(t,n,e.bulletClass):s+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach(n=>{"custom"!==e.type&&UE(n,s||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(AI(e.bulletClass)))}),"custom"!==e.type&&r("paginationRender",i[0])}function f(){t.params.pagination=DI(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.find(e=>BE(e,".swiper")[0]===t.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}
2),n=WE(n),n.forEach(n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),a=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",d),t.enabled||n.classList.add(e.lockClass)}))}function m(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;n&&(n=WE(n),n.forEach(n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",d))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;
2n=WE(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.pagination.enabled?p():(f(),h(),u())}),i("activeIndexChange",()=>{void 0===t.snapIndex&&u()}),i("snapIndexChange",()=>{u()}),i("snapGridLengthChange",()=>{h(),u()}),i("destroy",()=>{m()}),i("enable disable",()=>{let{el:e}=t.pagination;e&&(e=WE(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{u()}),i("click",(e,n)=>{const i=n.target,s=WE(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&s&&s.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=s[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),s.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const p=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=WE(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),m()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=WE(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),f(),h(),u()},disable:p,render:h,update:u,init:f,destroy:m})}function EI(e,t,n){const i=document.createElement(t);return e&&(i.className=e),n&&n.appendChild(i),i}function II(e,t,n){e.style.width="number"==typeof t?`${t}px`:t,e.style.height="number"==typeof n?`${n}px`:n}Object.keys(SI).forEach(e=>{Object.keys(SI[e]).forEach(t=>{OI.prototype[t]=SI[e][t]})}),OI.use([function(e){let{swiper:t,on:n,emit:i}=e;const r=OE();let s=null,o=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{o=r.requestAnimationFrame(()=>{const{width:n,height:i}=t;let r=n,s=i;e.forEach(e=>{let{contentBoxSize:n,contentRect:i,target:o}=e;o&&o!==t.el||(r=i?i.width:(n[0]||n).inlineSize,s=i?i.height:(n[0]||n).blockSize)}),r===n&&s===i||a()})}),s.observe(t.el)):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))}),n("destroy",()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const s=[],o=OE(),a=function(e,n){void 0===n&&(n={});const i=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(n):o.setTimeout(n,0)});i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),s.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=BE(t.hostEl);for(let t=0;t<e.length;t+=1)a(e[t])}a(t.hostEl,{childList:t.params.observeSlideChildren}),a(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]);const PI="idle",NI="loading",RI="loaded",zI="error";function HI(e,t,n=document){let i=[];if(e instanceof Element)i=[e];else if(e instanceof NodeList||Array.isArray(e))i=Array.from(e);else{const r="string"==typeof e?e:t;r&&(i=Array.from(n.querySelectorAll(r)))}return i}function jI(){return!(!navigator.vendor||!navigator.vendor.match(/apple/i))}class FI{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}}class BI{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}
vendor: 13,337 bytes, line 2
2addFilter(e,t,n=100){var i,r,s;this._filters[e]||(this._filters[e]=[]),null===(i=this._filters[e])||void 0===i||i.push({fn:t,priority:n}),null===(r=this._filters[e])||void 0===r||r.sort((e,t)=>e.priority-t.priority),null===(s=this.pswp)||void 0===s||s.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(e=>e.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var n;return null===(n=this._filters[e])||void 0===n||n.forEach(e=>{t[0]=e.fn.apply(this,t)}),t[0]}on(e,t){var n,i;this._listeners[e]||(this._listeners[e]=[]),null===(n=this._listeners[e])||void 0===n||n.push(t),null===(i=this.pswp)||void 0===i||i.on(e,t)}off(e,t){var n;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(e=>t!==e)),null===(n=this.pswp)||void 0===n||n.off(e,t)}dispatch(e,t){var n;if(this.pswp)return this.pswp.dispatch(e,t);const i=new FI(e,t);return null===(n=this._listeners[e])||void 0===n||n.forEach(e=>{e.call(this,i)}),i}}class $I{constructor(e,t){if(this.element=EI("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const t=this.element;t.decoding="async",t.alt="",t.src=e,t.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&("IMG"===this.element.tagName?(II(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=function(e,t,n){let i=`translate3d(${e}px,${t||0}px,0)`;return void 0!==n&&(i+=` scale3d(${n},${n},1)`),i}(0,0,e/250)):II(this.element,e,t))}destroy(){var e;null!==(e=this.element)&&void 0!==e&&e.parentNode&&this.element.remove(),this.element=null}}class WI{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=PI,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const e=this.placeholder.element;e&&!e.parentElement&&this.slide.container.prepend(e)}else{const e=this.instance.applyFilters("placeholderSrc",!(!this.data.msrc||!this.slide.isFirstSlide)&&this.data.msrc,this);this.placeholder=new $I(e,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=EI("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=EI("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const i=this.element;this.updateSrcsetSizes(),this.data.srcset&&(i.srcset=this.data.srcset),i.src=null!==(t=this.data.src)&&void 0!==t?t:"",i.alt=null!==(n=this.data.alt)&&void 0!==n?n:"",this.state=NI,i.complete?this.onLoaded():(i.onload=()=>{this.onLoaded()},i.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=RI,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),this.state!==RI&&this.state!==zI||this.removePlaceholder())}onError(){this.state=zI,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===NI,this)}isError(){return this.state===zI}isImageContent(){return"image"===this.type}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(II(this.element,e,t),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==zI,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented||(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let n=EI("pswp__error-msg","div");n.innerText=null!==(e=null===(t=this.instance.options)||void 0===t?void 0:t.errorMsg)&&void 0!==e?e:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=EI("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===zI)return void this.displayError();if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||jI())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){!this.instance.dispatch("contentActivate",{content:this}).defaultPrevented&&this.slide&&(this.isImageContent()&&this.isDecoding&&!jI()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,this.instance.dispatch("contentRemove",{content:this}).defaultPrevented||(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),this.state!==RI&&this.state!==zI||this.removePlaceholder()))}}function UI(e,t,n,i,r){let s=0;if(t.paddingFn)s=t.paddingFn(n,i,r)[e];else if(t.padding)s=t.padding[e];else{const n="padding"+e[0].toUpperCase()+e.slice(1);t[n]&&(s=t[n])}return Number(s)||0}class VI{constructor(e,t,n,i){this.pswp=i,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){const i={x:e,y:t};this.elementSize=i,this.panAreaSize=n;const r=n.x/i.x,s=n.y/i.y;this.fit=Math.min(1,r<s?r:s),this.fill=Math.min(1,r>s?r:s),this.vFill=Math.min(1,s),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",n=this.options[t];if(n)return"function"==typeof n?n(this):"fill"===n?this.fill:"fit"===n?this.fit:Number(n)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,3*this.fit),this.elementSize&&e*this.elementSize.x>4e3&&(e=4e3/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,4*this.fit)}}function ZI(e,t,n){const i=t.createContentFromData(e,n);let r;const{options:s}=t;if(s){let o;r=new VI(s,e,-1),o=t.pswp?t.pswp.viewportSize:function(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}(s,t);const a=function(e,t,n,i){return{x:t.x-UI("left",e,t,n,i)-UI("right",e,t,n,i),y:t.y-UI("top",e,t,n,i)-UI("bottom",e,t,n,i)}}(s,o,e,n);r.update(i.width,i.height,a)}return i.lazyLoad(),r&&i.setDisplayedSize(Math.ceil(i.width*r.initial),Math.ceil(i.height*r.initial)),i}class qI extends BI{getNumItems(){var e;let t=0;const n=null===(e=this.options)||void 0===e?void 0:e.dataSource;n&&"length"in n?t=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(t=n.items.length));const i=this.dispatch("numItems",{dataSource:n,numItems:t});return this.applyFilters("numItems",i.numItems,n)}createContentFromData(e,t){return new WI(e,this,t)}getItemData(e){var t;const n=null===(t=this.options)||void 0===t?void 0:t.dataSource;let i={};Array.isArray(n)?i=n[e]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),i=n.items[e]);let r=i;r instanceof Element&&(r=this._domElementToItemData(r));const s=this.dispatch("itemData",{itemData:r||{},index:e});return this.applyFilters("itemData",s.itemData,e)}_getGalleryDOMElements(e){var t,n;return null!==(t=this.options)&&void 0!==t&&t.children||null!==(n=this.options)&&void 0!==n&&n.childSelector?HI(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},n="A"===e.tagName?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);const r=e.querySelector("img");var i;if(r)t.msrc=r.currentSrc||r.src,t.alt=null!==(i=r.getAttribute("alt"))&&void 0!==i?i:"";(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return ZI(e,this,t)}}class QI extends qI{constructor(e){super(),this.options=e||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){HI(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(e){if(function(e){return"button"in e&&1===e.button||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}(e)||window.pswp)return;let t={x:e.clientX,y:e.clientY};t.x||t.y||(t=null);let n=this.getClickedIndex(e);n=this.applyFilters("clickedIndex",n,e,this);const i={gallery:e.currentTarget};n>=0&&(e.preventDefault(),this.loadAndOpen(n,i,t))}getClickedIndex(e){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,e);const t=e.target,n=HI(this.options.children,this.options.childSelector,e.currentTarget).findIndex(e=>e===t||e.contains(t));return-1!==n?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(e,t,n){if(window.pswp||!this.options)return!1;if(!t&&this.options.gallery&&this.options.children){const e=HI(this.options.gallery);e[0]&&(t={gallery:e[0]})}return this.options.index=e,this.options.initialPointerPos=n,this.shouldOpen=!0,this.preload(e,t),!0}preload(e,t){const{options:n}=this;t&&(n.dataSource=t);const i=[],r=typeof n.pswpModule;if(function(e){return"function"==typeof e&&e.prototype&&e.prototype.goTo}(n.pswpModule))i.push(Promise.resolve(n.pswpModule));else{if("string"===r)throw new Error("pswpModule as string is no longer supported");if("function"!==r)throw new Error("pswpModule is not valid");i.push(n.pswpModule())}"function"==typeof n.openPromise&&i.push(n.openPromise()),!1!==n.preloadFirstSlide&&e>=0&&(this._preloadedContent=function(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return ZI(n,t,e)}(e,this));const s=++this._uid;Promise.all(i).then(e=>{if(this.shouldOpen){const t=e[0];this._openPhotoswipe(t,s)}})}_openPhotoswipe(e,t){if(t!==this._uid&&this.shouldOpen)return;if(this.shouldOpen=!1,window.pswp)return;const n="object"==typeof e?new e.default(this.options):new e(this.options);
vendor: 35,952 bytes, line 2
2this.pswp=n,window.pswp=n,Object.keys(this._listeners).forEach(e=>{var t;null===(t=this._listeners[e])||void 0===t||t.forEach(t=>{n.on(e,t)})}),Object.keys(this._filters).forEach(e=>{var t;null===(t=this._filters[e])||void 0===t||t.forEach(t=>{n.addFilter(e,t.fn,t.priority)})}),this._preloadedContent&&(n.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),n.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),n.init()}destroy(){var e;null===(e=this.pswp)||void 0===e||e.destroy(),this.shouldOpen=!1,this._listeners={},HI(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.removeEventListener("click",this.onThumbnailsClick,!1)})}}function XI(e,t,n){const i=document.createElement(t);return e&&(i.className=e),n&&n.appendChild(i),i}function GI(e,t){return e.x=t.x,e.y=t.y,void 0!==t.id&&(e.id=t.id),e}function KI(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function JI(e,t){const n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.sqrt(n*n+i*i)}function eP(e,t){return e.x===t.x&&e.y===t.y}function tP(e,t,n){return Math.min(Math.max(e,t),n)}function nP(e,t,n){let i=`translate3d(${e}px,${t||0}px,0)`;return void 0!==n&&(i+=` scale3d(${n},${n},1)`),i}function iP(e,t,n,i){e.style.transform=nP(t,n,i)}function rP(e,t,n,i){e.style.transition=t?`${t} ${n}ms ${i||"cubic-bezier(.4,0,.22,1)"}`:"none"}function sP(e,t,n){e.style.width="number"==typeof t?`${t}px`:t,e.style.height="number"==typeof n?`${n}px`:n}const oP="idle",aP="loading",lP="loaded",cP="error";function dP(){return!(!navigator.vendor||!navigator.vendor.match(/apple/i))}let uP=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{uP=!0}}))}catch(e){}class hP{constructor(){this._pool=[]}add(e,t,n,i){this._toggleListener(e,t,n,i)}remove(e,t,n,i){this._toggleListener(e,t,n,i,!0)}removeAll(){this._pool.forEach(e=>{this._toggleListener(e.target,e.type,e.listener,e.passive,!0,!0)}),this._pool=[]}_toggleListener(e,t,n,i,r,s){if(!e)return;const o=r?"removeEventListener":"addEventListener";t.split(" ").forEach(t=>{if(t){s||(r?this._pool=this._pool.filter(i=>i.type!==t||i.listener!==n||i.target!==e):this._pool.push({target:e,type:t,listener:n,passive:i}));const a=!!uP&&{passive:i||!1};e[o](t,n,a)}})}}function fP(e,t){if(e.getViewportSizeFn){const n=e.getViewportSizeFn(e,t);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function mP(e,t,n,i,r){let s=0;if(t.paddingFn)s=t.paddingFn(n,i,r)[e];else if(t.padding)s=t.padding[e];else{const n="padding"+e[0].toUpperCase()+e.slice(1);t[n]&&(s=t[n])}return Number(s)||0}function pP(e,t,n,i){return{x:t.x-mP("left",e,t,n,i)-mP("right",e,t,n,i),y:t.y-mP("top",e,t,n,i)-mP("bottom",e,t,n,i)}}class gP{constructor(e){this.slide=e,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(e){this.currZoomLevel=e,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(e){const{pswp:t}=this.slide,n=this.slide["x"===e?"width":"height"]*this.currZoomLevel,i=mP("x"===e?"left":"top",t.options,t.viewportSize,this.slide.data,this.slide.index),r=this.slide.panAreaSize[e];this.center[e]=Math.round((r-n)/2)+i,this.max[e]=n>r?Math.round(r-n)+i:this.center[e],this.min[e]=n>r?i:this.center[e]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(e,t){return tP(t,this.max[e],this.min[e])}}class yP{constructor(e,t,n,i){this.pswp=i,this.options=e,this.itemData=t,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(e,t,n){const i={x:e,y:t};this.elementSize=i,this.panAreaSize=n;const r=n.x/i.x,s=n.y/i.y;this.fit=Math.min(1,r<s?r:s),this.fill=Math.min(1,r>s?r:s),this.vFill=Math.min(1,s),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(e){const t=e+"ZoomLevel",n=this.options[t];if(n)return"function"==typeof n?n(this):"fill"===n?this.fill:"fit"===n?this.fit:Number(n)}_getSecondary(){let e=this._parseZoomLevelOption("secondary");return e||(e=Math.min(1,3*this.fit),this.elementSize&&e*this.elementSize.x>4e3&&(e=4e3/this.elementSize.x),e)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,4*this.fit)}}class _P{constructor(e,t,n){this.data=e,this.index=t,this.pswp=n,this.isActive=t===n.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!n.opener.isOpen,this.zoomLevels=new yP(n.options,e,t,n),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:t}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=XI("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new gP(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(e){e&&!this.isActive?this.activate():!e&&this.isActive&&this.deactivate()}append(e){this.holderElement=e,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:e}=this;!this.heavyAppended&&e.opener.isOpen&&!e.mainScroll.isShifted()&&(this.isActive,1)&&(this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this})))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel!==this.zoomLevels.initial&&this.isActive?(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y)):(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize())}updateContentSize(e){const t=this.currentResolution||this.zoomLevels.initial;if(!t)return;const n=Math.round(this.width*t)||this.pswp.viewportSize.x,i=Math.round(this.height*t)||this.pswp.viewportSize.y;(this.sizeChanged(n,i)||e)&&this.content.setDisplayedSize(n,i)}sizeChanged(e,t){return(e!==this.prevDisplayedWidth||t!==this.prevDisplayedHeight)&&(this.prevDisplayedWidth=e,this.prevDisplayedHeight=t,!0)}getPlaceholderElement(){var e;return null===(e=this.content.placeholder)||void 0===e?void 0:e.element}zoomTo(e,t,n,i){const{pswp:r}=this;if(!this.isZoomable()||r.mainScroll.isShifted())return;r.dispatch("beforeZoomTo",{destZoomLevel:e,centerPoint:t,transitionDuration:n}),r.animations.stopAllPan();const s=this.currZoomLevel;i||(e=tP(e,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(e),this.pan.x=this.calculateZoomToPanOffset("x",t,s),this.pan.y=this.calculateZoomToPanOffset("y",t,s),KI(this.pan);const o=()=>{this._setResolution(e),this.applyCurrentZoomPan()};n?r.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:o,duration:n,easing:r.options.easing}):o()}toggleZoom(e){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,e,this.pswp.options.zoomAnimationDuration)}setZoomLevel(e){this.currZoomLevel=e,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(e,t,n){if(0===this.bounds.max[e]-this.bounds.min[e])return this.bounds.center[e];t||(t=this.pswp.getViewportCenterPoint()),n||(n=this.zoomLevels.initial);const i=this.currZoomLevel/n;return this.bounds.correctPan(e,(this.pan[e]-t[e])*i+t[e])}panTo(e,t){this.pan.x=this.bounds.correctPan("x",e),this.pan.y=this.bounds.correctPan("y",t),this.applyCurrentZoomPan()}isPannable(){return Boolean(this.width)&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return Boolean(this.width)&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),GI(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(e,t,n){n/=this.currentResolution||this.zoomLevels.initial,iP(this.container,e,t,n)}calculateSize(){const{pswp:e}=this;GI(this.panAreaSize,pP(e.options,e.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),e.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const e=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return nP(this.pan.x,this.pan.y,e)}_setResolution(e){e!==this.currentResolution&&(this.currentResolution=e,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}class bP{constructor(e){this.gestures=e,this.pswp=e.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&GI(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:e,prevP1:t,dragAxis:n}=this.gestures,{currSlide:i}=this.pswp;if("y"===n&&this.pswp.options.closeOnVerticalDrag&&i&&i.currZoomLevel<=i.zoomLevels.fit&&!this.gestures.isMultitouch){const n=i.pan.y+(e.y-t.y);if(!this.pswp.dispatch("verticalDrag",{panY:n}).defaultPrevented){this._setPanWithFriction("y",n,.6);const e=1-Math.abs(this._getVerticalDragRatio(i.pan.y));this.pswp.applyBgOpacity(e),i.applyCurrentZoomPan()}}else{this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),i&&(KI(i.pan),i.applyCurrentZoomPan()))}}end(){const{velocity:e}=this.gestures,{mainScroll:t,currSlide:n}=this.pswp;let i=0;if(this.pswp.animations.stopAll(),t.isShifted()){const n=(t.x-t.getCurrSlideX())/this.pswp.viewportSize.x;e.x<-.5&&n<0||e.x<.1&&n<-.5?(i=1,e.x=Math.min(e.x,0)):(e.x>.5&&n>0||e.x>-.1&&n>.5)&&(i=-1,e.x=Math.max(e.x,0)),t.moveIndexBy(i,!0,e.x)}n&&n.currZoomLevel>n.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(e){const{velocity:t}=this.gestures,{currSlide:n}=this.pswp;if(!n)return;const{pan:i,bounds:r}=n,s=i[e],o=this.pswp.bgOpacity<1&&"y"===e,a=s+function(e,t){return e*t/(1-t)}(t[e],.995);if(o){const e=this._getVerticalDragRatio(s),t=this._getVerticalDragRatio(a);if(e<0&&t<-.4||e>0&&t>.4)return void this.pswp.close()}const l=r.correctPan(e,a);if(s===l)return;const c=l===a?1:.82,d=this.pswp.bgOpacity,u=l-s;this.pswp.animations.startSpring({name:"panGesture"+e,isPan:!0,start:s,end:l,velocity:t[e],dampingRatio:c,onUpdate:t=>{if(o&&this.pswp.bgOpacity<1){const e=1-(l-t)/u;this.pswp.applyBgOpacity(tP(d+(1-d)*e,0,1))}i[e]=Math.floor(t),n.applyCurrentZoomPan()}})}_panOrMoveMainScroll(e){const{p1:t,dragAxis:n,prevP1:i,isMultitouch:r}=this.gestures,{currSlide:s,mainScroll:o}=this.pswp,a=t[e]-i[e],l=o.x+a;if(!a||!s)return!1;if("x"===e&&!s.isPannable()&&!r)return o.moveTo(l,!0),!0;const{bounds:c}=s,d=s.pan[e]+a;if(this.pswp.options.allowPanToNext&&"x"===n&&"x"===e&&!r){const t=o.getCurrSlideX(),n=o.x-t,i=a>0,r=!i;if(d>c.min[e]&&i){if(c.min[e]<=this.startPan[e])return o.moveTo(l,!0),!0;this._setPanWithFriction(e,d)}else if(d<c.max[e]&&r){if(this.startPan[e]<=c.max[e])return o.moveTo(l,!0),!0;this._setPanWithFriction(e,d)}else if(0!==n){if(n>0)return o.moveTo(Math.max(l,t),!0),!0;if(n<0)return o.moveTo(Math.min(l,t),!0),!0}else this._setPanWithFriction(e,d)}else"y"===e&&(o.isShifted()||c.min.y===c.max.y)||this._setPanWithFriction(e,d);return!1}_getVerticalDragRatio(e){var t,n;return(e-(null!==(t=null===(n=this.pswp.currSlide)||void 0===n?void 0:n.bounds.center.y)&&void 0!==t?t:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(e,t,n){const{currSlide:i}=this.pswp;if(!i)return;const{pan:r,bounds:s}=i;if(s.correctPan(e,t)!==t||n){const i=Math.round(t-r[e]);r[e]+=i*(n||.35)}else r[e]=t}}function vP(e,t,n){return e.x=(t.x+n.x)/2,e.y=(t.y+n.y)/2,e}class wP{constructor(e){this.gestures=e,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:e}=this.gestures.pswp;e&&(this._startZoomLevel=e.currZoomLevel,GI(this._startPan,e.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:e,startP1:t,p2:n,startP2:i,pswp:r}=this.gestures,{currSlide:s}=r;if(!s)return;const o=s.zoomLevels.min,a=s.zoomLevels.max;if(!s.isZoomable()||r.mainScroll.isShifted())return;vP(this._startZoomPoint,t,i),vP(this._zoomPoint,e,n);let l=1/JI(t,i)*JI(e,n)*this._startZoomLevel;if(l>s.zoomLevels.initial+s.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),l<o)if(r.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=s.zoomLevels.initial){const e=1-(o-l)/(o/1.2);r.dispatch("pinchClose",{bgOpacity:e}).defaultPrevented||r.applyBgOpacity(e)}else l=o-.15*(o-l);else l>a&&(l=a+.05*(l-a));s.pan.x=this._calculatePanForZoomLevel("x",l),s.pan.y=this._calculatePanForZoomLevel("y",l),s.setZoomLevel(l),s.applyCurrentZoomPan()}end(){const{pswp:e}=this.gestures,{currSlide:t}=e;(!t||t.currZoomLevel<t.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&e.options.pinchToClose?e.close():this.correctZoomPan()}_calculatePanForZoomLevel(e,t){const n=t/this._startZoomLevel;return this._zoomPoint[e]-(this._startZoomPoint[e]-this._startPan[e])*n}correctZoomPan(e){const{pswp:t}=this.gestures,{currSlide:n}=t;if(null==n||!n.isZoomable())return;0===this._zoomPoint.x&&(e=!0);const i=n.currZoomLevel;let r,s=!0;i<n.zoomLevels.initial?r=n.zoomLevels.initial:i>n.zoomLevels.max?r=n.zoomLevels.max:(s=!1,r=i);const o=t.bgOpacity,a=t.bgOpacity<1,l=GI({x:0,y:0},n.pan);let c=GI({x:0,y:0},l);e&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=i,GI(this._startPan,l)),s&&(c={x:this._calculatePanForZoomLevel("x",r),y:this._calculatePanForZoomLevel("y",r)}),n.setZoomLevel(r),c={x:n.bounds.correctPan("x",c.x),y:n.bounds.correctPan("y",c.y)},n.setZoomLevel(i);const d=!eP(c,l);if(!d&&!s&&!a)return n._setResolution(r),void n.applyCurrentZoomPan();t.animations.stopAllPan(),t.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:e=>{if(e/=1e3,d||s){if(d&&(n.pan.x=l.x+(c.x-l.x)*e,n.pan.y=l.y+(c.y-l.y)*e),s){const t=i+(r-i)*e;n.setZoomLevel(t)}n.applyCurrentZoomPan()}a&&t.bgOpacity<1&&t.applyBgOpacity(tP(o+(1-o)*e,0,1))},onComplete:()=>{n._setResolution(r),n.applyCurrentZoomPan()}})}}function kP(e){return!!e.target.closest(".pswp__container")}class TP{constructor(e){this.gestures=e}click(e,t){const n=t.target.classList,i=n.contains("pswp__img"),r=n.contains("pswp__item")||n.contains("pswp__zoom-wrap");i?this._doClickOrTapAction("imageClick",e,t):r&&this._doClickOrTapAction("bgClick",e,t)}tap(e,t){kP(t)&&this._doClickOrTapAction("tap",e,t)}doubleTap(e,t){kP(t)&&this._doClickOrTapAction("doubleTap",e,t)}_doClickOrTapAction(e,t,n){var i;const{pswp:r}=this.gestures,{currSlide:s}=r,o=e+"Action",a=r.options[o];if(!r.dispatch(o,{point:t,originalEvent:n}).defaultPrevented)if("function"!=typeof a)switch(a){case"close":case"next":r[a]();break;case"zoom":null==s||s.toggleZoom(t);break;case"zoom-or-close":null!=s&&s.isZoomable()&&s.zoomLevels.secondary!==s.zoomLevels.initial?s.toggleZoom(t):r.options.clickToCloseNonZoomable&&r.close();break;case"toggle-controls":null===(i=this.gestures.pswp.element)||void 0===i||i.classList.toggle("pswp--ui-visible")}else a.call(r,t,n)}}class MP{constructor(e){this.pswp=e,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(e.options.allowPanToNext=!1),this.drag=new bP(this),this.zoomLevels=new wP(this),this.tapHandler=new TP(this),e.on("bindEvents",()=>{e.events.add(e.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),e.scrollWrap&&(e.scrollWrap.ontouchmove=()=>{},e.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(e,t,n,i){const{pswp:r}=this,{events:s}=r,o=i?e+i:"";s.add(r.scrollWrap,e+t,this.onPointerDown.bind(this)),s.add(window,e+"move",this.onPointerMove.bind(this)),s.add(window,e+n,this.onPointerUp.bind(this)),o&&s.add(r.scrollWrap,o,this.onPointerUp.bind(this))}onPointerDown(e){const t="mousedown"===e.type||"mouse"===e.pointerType;if(t&&e.button>0)return;const{pswp:n}=this;n.opener.isOpen?n.dispatch("pointerDown",{originalEvent:e}).defaultPrevented||(t&&(n.mouseDetected(),this._preventPointerEventBehaviour(e,"down")),n.animations.stopAll(),this._updatePoints(e,"down"),1===this._numActivePoints&&(this.dragAxis=null,GI(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1):e.preventDefault()}onPointerMove(e){this._preventPointerEventBehaviour(e,"move"),this._numActivePoints&&(this._updatePoints(e,"move"),this.pswp.dispatch("pointerMove",{originalEvent:e}).defaultPrevented||(1!==this._numActivePoints||this.isDragging?this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop()):(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,GI(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop()))))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(e){this._numActivePoints&&(this._updatePoints(e,"up"),this.pswp.dispatch("pointerUp",{originalEvent:e}).defaultPrevented||(0===this._numActivePoints&&(this._rafStopLoop(),this.isDragging?this._finishDrag():this.isZooming||this.isMultitouch||this._finishTap(e)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),1===this._numActivePoints&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?eP(this.p1,this.prevP1)||this.drag.change():eP(this.p1,this.prevP1)&&eP(this.p2,this.prevP2)||this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(e){const t=Date.now(),n=t-this._intervalTime;n<50&&!e||(this.velocity.x=this._getVelocity("x",n),this.velocity.y=this._getVelocity("y",n),this._intervalTime=t,GI(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(e){const{mainScroll:t}=this.pswp;if(t.isShifted())return void t.moveIndexBy(0,!0);if(e.type.indexOf("cancel")>0)return;if("mouseup"===e.type||"mouse"===e.pointerType)return void this.tapHandler.click(this.startP1,e);const n=this.pswp.options.doubleTapAction?300:0;this._tapTimer?(this._clearTapTimer(),JI(this._lastStartP1,this.startP1)<25&&this.tapHandler.doubleTap(this.startP1,e)):(GI(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,e),this._clearTapTimer()},n))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(e,t){const n=this.p1[e]-this._intervalP1[e];return Math.abs(n)>1&&t>5?n/t:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(e,t){this.pswp.applyFilters("preventPointerEvent",!0,e,t)&&e.preventDefault()}_updatePoints(e,t){if(this._pointerEventEnabled){const n=e,i=this._ongoingPointers.findIndex(e=>e.id===n.pointerId);"up"===t&&i>-1?this._ongoingPointers.splice(i,1):"down"===t&&-1===i?this._ongoingPointers.push(this._convertEventPosToPoint(n,{x:0,y:0})):i>-1&&this._convertEventPosToPoint(n,this._ongoingPointers[i]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&GI(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&GI(this.p2,this._ongoingPointers[1])}else{const n=e;this._numActivePoints=0,n.type.indexOf("touch")>-1?n.touches&&n.touches.length>0&&(this._convertEventPosToPoint(n.touches[0],this.p1),this._numActivePoints++,n.touches.length>1&&(this._convertEventPosToPoint(n.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(e,this.p1),"up"===t?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){GI(this.prevP1,this.p1),GI(this.prevP2,this.p2)}_updateStartPoints(){GI(this.startP1,this.p1),GI(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const e=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(0!==e){const t=e>0?"x":"y";Math.abs(this.p1[t]-this.startP1[t])>=10&&(this.dragAxis=t)}}}_convertEventPosToPoint(e,t){return t.x=e.pageX-this.pswp.offset.x,t.y=e.pageY-this.pswp.offset.y,"pointerId"in e?t.id=e.pointerId:void 0!==e.identifier&&(t.id=e.identifier),t}_onClick(e){this.pswp.mainScroll.isShifted()&&(e.preventDefault(),e.stopPropagation())}}class LP{constructor(e){this.pswp=e,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(e){const{pswp:t}=this,n=Math.round(t.viewportSize.x+t.viewportSize.x*t.options.spacing),i=n!==this.slideWidth;i&&(this.slideWidth=n,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((t,n)=>{i&&iP(t.el,(n+this._containerShiftIndex)*this.slideWidth),e&&t.slide&&t.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let e=0;e<3;e++){const t=XI("pswp__item","div",this.pswp.container);t.setAttribute("role","group"),t.setAttribute("aria-roledescription","slide"),t.setAttribute("aria-hidden","true"),t.style.display=1===e?"block":"none",this.itemHolders.push({el:t})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(e,t,n){const{pswp:i}=this;let r=i.potentialIndex+e;const s=i.getNumItems();if(i.canLoop()){r=i.getLoopedIndex(r);const t=(e+s)%s;e=t<=s/2?t:t-s}else r<0?r=0:r>=s&&(r=s-1),e=r-i.potentialIndex;i.potentialIndex=r,this._currPositionIndex-=e,i.animations.stopMainScroll();const o=this.getCurrSlideX();if(t){i.animations.startSpring({isMainScroll:!0,start:this.x,end:o,velocity:n||0,naturalFrequency:30,dampingRatio:1,onUpdate:e=>{this.moveTo(e)},onComplete:()=>{this.updateCurrItem(),i.appendHeavy()}});let e=i.potentialIndex-i.currIndex;if(i.canLoop()){const t=(e+s)%s;e=t<=s/2?t:t-s}Math.abs(e)>1&&this.updateCurrItem()}else this.moveTo(o),this.updateCurrItem();return Boolean(e)}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var e;const{pswp:t}=this,n=this._prevPositionIndex-this._currPositionIndex;if(!n)return;this._prevPositionIndex=this._currPositionIndex,t.currIndex=t.potentialIndex;let i,r=Math.abs(n);r>=3&&(this._containerShiftIndex+=n+(n>0?-3:3),r=3,this.itemHolders.forEach(e=>{var t;null===(t=e.slide)||void 0===t||t.destroy(),e.slide=void 0}));for(let e=0;e<r;e++)n>0?(i=this.itemHolders.shift(),i&&(this.itemHolders[2]=i,this._containerShiftIndex++,iP(i.el,(this._containerShiftIndex+2)*this.slideWidth),t.setContent(i,t.currIndex-r+e+2))):(i=this.itemHolders.pop(),i&&(this.itemHolders.unshift(i),this._containerShiftIndex--,iP(i.el,this._containerShiftIndex*this.slideWidth),t.setContent(i,t.currIndex+r-e-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),t.animations.stopAllPan(),this.itemHolders.forEach((e,t)=>{e.slide&&e.slide.setIsActive(1===t)}),t.currSlide=null===(e=this.itemHolders[1])||void 0===e?void 0:e.slide,t.contentLoader.updateLazy(n),t.currSlide&&t.currSlide.applyCurrentZoomPan(),t.dispatch("change")}moveTo(e,t){if(!this.pswp.canLoop()&&t){let t=(this.slideWidth*this._currPositionIndex-e)/this.slideWidth;t+=this.pswp.currIndex;const n=Math.round(e-this.x);(t<0&&n>0||t>=this.pswp.getNumItems()-1&&n<0)&&(e=this.x+.35*n)}this.x=e,this.pswp.container&&iP(this.pswp.container,e),this.pswp.dispatch("moveMainScroll",{x:e,dragging:null!=t&&t})}}const SP={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},xP=(e,t)=>t?e:SP[e];class OP{constructor(e){this.pswp=e,this._wasFocused=!1,e.on("bindEvents",()=>{e.options.trapFocus&&(e.options.initialPointerPos||this._focusRoot(),e.events.add(document,"focusin",this._onFocusIn.bind(this))),e.events.add(document,"keydown",this._onKeyDown.bind(this))});const t=document.activeElement;e.on("destroy",()=>{e.options.returnFocus&&t&&this._wasFocused&&t.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(e){const{pswp:t}=this;if(t.dispatch("keydown",{originalEvent:e}).defaultPrevented)return;if(function(e){return"button"in e&&1===e.button||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}(e))return;let n,i,r=!1;const s="key"in e;switch(s?e.key:e.keyCode){case xP("Escape",s):t.options.escKey&&(n="close");break;case xP("z",s):n="toggleZoom";break;case xP("ArrowLeft",s):i="x";break;case xP("ArrowUp",s):i="y";break;case xP("ArrowRight",s):i="x",r=!0;break;case xP("ArrowDown",s):r=!0,i="y";break;case xP("Tab",s):this._focusRoot()}if(i){e.preventDefault();const{currSlide:s}=t;t.options.arrowKeys&&"x"===i&&t.getNumItems()>1?n=r?"next":"prev":s&&s.currZoomLevel>s.zoomLevels.fit&&(s.pan[i]+=r?-80:80,s.panTo(s.pan.x,s.pan.y))}n&&(e.preventDefault(),t[n]())}_onFocusIn(e){const{template:t}=this.pswp;t&&document!==e.target&&t!==e.target&&!t.contains(e.target)&&t.focus()}}const DP="cubic-bezier(.4,0,.22,1)";class YP{constructor(e){var t;this.props=e;const{target:n,onComplete:i,transform:r,onFinish:s=()=>{},duration:o=333,easing:a=DP}=e;this.onFinish=s;const l=r?"transform":"opacity",c=null!==(t=e[l])&&void 0!==t?t:"";this._target=n,this._onComplete=i,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{rP(n,l,o,a),this._helperTimeout=setTimeout(()=>{n.addEventListener("transitionend",this._onTransitionEnd,!1),n.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},o+500),n.style[l]=c},30)},0)}_onTransitionEnd(e){e.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),function(e){rP(e)}(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}class AP{constructor(e,t,n){this.velocity=1e3*e,this._dampingRatio=t||.75,this._naturalFrequency=n||12,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(e,t){let n,i=0;t/=1e3;const r=Math.E**(-this._dampingRatio*this._naturalFrequency*t);if(1===this._dampingRatio)n=this.velocity+this._naturalFrequency*e,i=(e+n*t)*r,this.velocity=i*-this._naturalFrequency+n*r;else if(this._dampingRatio<1){n=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*e+this.velocity);const s=Math.cos(this._dampedFrequency*t),o=Math.sin(this._dampedFrequency*t);i=r*(e*s+n*o),this.velocity=i*-this._naturalFrequency*this._dampingRatio+r*(-this._dampedFrequency*e*o+this._dampedFrequency*n*s)}return i}}class CP{constructor(e){this.props=e,this._raf=0;const{start:t,end:n,velocity:i,onUpdate:r,onComplete:s,onFinish:o=()=>{},dampingRatio:a,naturalFrequency:l}=e;this.onFinish=o;const c=new AP(i,a,l);let d=Date.now(),u=t-n;const h=()=>{this._raf&&(u=c.easeFrame(u,Date.now()-d),Math.abs(u)<1&&Math.abs(c.velocity)<50?(r(n),s&&s(),this.onFinish()):(d=Date.now(),r(u+n),this._raf=requestAnimationFrame(h)))};this._raf=requestAnimationFrame(h)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class EP{constructor(){this.activeAnimations=[]}startSpring(e){this._start(e,!0)}startTransition(e){this._start(e)}_start(e,t){const n=t?new CP(e):new YP(e);return this.activeAnimations.push(n),n.onFinish=()=>this.stop(n),n}stop(e){e.destroy();const t=this.activeAnimations.indexOf(e);t>-1&&this.activeAnimations.splice(t,1)}stopAll(){this.activeAnimations.forEach(e=>{e.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(e=>!e.props.isPan||(e.destroy(),!1))}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(e=>!e.props.isMainScroll||(e.destroy(),!1))}isPanRunning(){return this.activeAnimations.some(e=>e.props.isPan)}}class IP{constructor(e){this.pswp=e,e.events.add(e.element,"wheel",this._onWheel.bind(this))}_onWheel(e){e.preventDefault();const{currSlide:t}=this.pswp;let{deltaX:n,deltaY:i}=e;if(t&&!this.pswp.dispatch("wheel",{originalEvent:e}).defaultPrevented)if(e.ctrlKey||this.pswp.options.wheelToZoom){if(t.isZoomable()){let n=-i;1===e.deltaMode?n*=.05:n*=e.deltaMode?1:.002,n=2**n;const r=t.currZoomLevel*n;t.zoomTo(r,{x:e.clientX,y:e.clientY})}}else t.isPannable()&&(1===e.deltaMode&&(n*=18,i*=18),t.panTo(t.pan.x-n,t.pan.y-i))}}class PP{constructor(e,t){var n;const i=t.name||t.className;let r=t.html;if(!1===e.options[i])return;"string"==typeof e.options[i+"SVG"]&&(r=e.options[i+"SVG"]),e.dispatch("uiElementCreate",{data:t});let s="";t.isButton?(s+="pswp__button ",s+=t.className||`pswp__button--${t.name}`):s+=t.className||`pswp__${t.name}`;let o=t.isButton?t.tagName||"button":t.tagName||"div";o=o.toLowerCase();const a=XI(s,o);if(t.isButton){"button"===o&&(a.type="button");let{title:n}=t;const{ariaLabel:r}=t;"string"==typeof e.options[i+"Title"]&&(n=e.options[i+"Title"]),n&&(a.title=n);const s=r||n;s&&a.setAttribute("aria-label",s)}a.innerHTML=function(e){if("string"==typeof e)return e;if(!e||!e.isCustomSVG)return"";const t=e;let n='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return n=n.split("%d").join(t.size||32),t.outlineID&&(n+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),n+=t.inner,n+="</svg>",n}(r),t.onInit&&t.onInit(a,e),t.onClick&&(a.onclick=n=>{"string"==typeof t.onClick?e[t.onClick]():"function"==typeof t.onClick&&t.onClick(n,a,e)});const l=t.appendTo||"bar";let c=e.element;"bar"===l?(e.topBar||(e.topBar=XI("pswp__top-bar pswp__hide-on-close","div",e.scrollWrap)),c=e.topBar):(a.classList.add("pswp__hide-on-close"),"wrapper"===l&&(c=e.scrollWrap)),null===(n=c)||void 0===n||n.appendChild(e.applyFilters("uiElement",a,t))}}function NP(e,t,n){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(e.disabled=n?!(t.currIndex<t.getNumItems()-1):!(t.currIndex>0))})}const RP={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:NP},zP={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{NP(e,t,!0)}},HP={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},jP={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},FP={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let n,i=null;const r=t=>{n!==t&&(n=t,((t,n)=>{e.classList.toggle("pswp__preloader--"+t,n)})("active",t))},s=()=>{var e;if(null===(e=t.currSlide)||void 0===e||!e.content.isLoading())return r(!1),void(i&&(clearTimeout(i),i=null));i||(i=setTimeout(()=>{var e;r(Boolean(null===(e=t.currSlide)||void 0===e?void 0:e.content.isLoading())),i=null},t.options.preloaderDelay))};t.on("change",s),t.on("loadComplete",e=>{t.currSlide===e.slide&&s()}),t.ui&&(t.ui.updatePreloaderVisibility=s)}},BP={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function $P(e,t){e.classList.toggle("pswp--zoomed-in",t)}class WP{constructor(e){this.pswp=e,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:e}=this;this.isRegistered=!1,this.uiElementsData=[HP,RP,zP,jP,FP,BP],e.dispatch("uiRegister"),this.uiElementsData.sort((e,t)=>(e.order||0)-(t.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(e=>{this.registerElement(e)}),e.on("change",()=>{var t;null===(t=e.element)||void 0===t||t.classList.toggle("pswp--one-slide",1===e.getNumItems())}),e.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(e){this.isRegistered?this.items.push(new PP(this.pswp,e)):this.uiElementsData.push(e)}_onZoomPanUpdate(){const{template:e,currSlide:t,options:n}=this.pswp;if(this.pswp.opener.isClosing||!e||!t)return;let{currZoomLevel:i}=t;if(this.pswp.opener.isOpen||(i=t.zoomLevels.initial),i===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=i;const r=t.zoomLevels.initial-t.zoomLevels.secondary;if(Math.abs(r)<.01||!t.isZoomable())return $P(e,!1),void e.classList.remove("pswp--zoom-allowed");e.classList.add("pswp--zoom-allowed");$P(e,(i===t.zoomLevels.initial?t.zoomLevels.secondary:t.zoomLevels.initial)<=i),"zoom"!==n.imageClickAction&&"zoom-or-close"!==n.imageClickAction||e.classList.add("pswp--cl
2ick-to-zoom")}}class UP{constructor(e,t){this.type=e,this.defaultPrevented=!1,t&&Object.assign(this,t)}preventDefault(){this.defaultPrevented=!0}}class VP{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(e,t,n=100){var i,r,s;this._filters[e]||(this._filters[e]=[]),null===(i=this._filters[e])||void 0===i||i.push({fn:t,priority:n}),null===(r=this._filters[e])||void 0===r||r.sort((e,t)=>e.priority-t.priority),null===(s=this.pswp)||void 0===s||s.addFilter(e,t,n)}removeFilter(e,t){this._filters[e]&&(this._filters[e]=this._filters[e].filter(e=>e.fn!==t)),this.pswp&&this.pswp.removeFilter(e,t)}applyFilters(e,...t){var n;return null===(n=this._filters[e])||void 0===n||n.forEach(e=>{t[0]=e.fn.apply(this,t)}),t[0]}on(e,t){var n,i;this._listeners[e]||(this._listeners[e]=[]),null===(n=this._listeners[e])||void 0===n||n.push(t),null===(i=this.pswp)||void 0===i||i.on(e,t)}off(e,t){var n;this._listeners[e]&&(this._listeners[e]=this._listeners[e].filter(e=>t!==e)),null===(n=this.pswp)||void 0===n||n.off(e,t)}dispatch(e,t){var n;if(this.pswp)return this.pswp.dispatch(e,t);const i=new UP(e,t);return null===(n=this._listeners[e])||void 0===n||n.forEach(e=>{e.call(this,i)}),i}}class ZP{constructor(e,t){if(this.element=XI("pswp__img pswp__img--placeholder",e?"img":"div",t),e){const t=this.element;t.decoding="async",t.alt="",t.src=e,t.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(e,t){this.element&&("IMG"===this.element.tagName?(sP(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=nP(0,0,e/250)):sP(this.element,e,t))}destroy(){var e;null!==(e=this.element)&&void 0!==e&&e.parentNode&&this.element.remove(),this.element=null}}class qP{constructor(e,t,n){this.instance=t,this.data=e,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=oP,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(e,t){if(this.slide&&this.usePlaceholder())if(this.placeholder){const e=this.placeholder.element;e&&!e.parentElement&&this.slide.container.prepend(e)}else{const e=this.instance.applyFilters("placeholderSrc",!(!this.data.msrc||!this.slide.isFirstSlide)&&this.data.msrc,this);this.placeholder=new ZP(e,this.slide.container)}this.element&&!t||this.instance.dispatch("contentLoad",{content:this,isLazy:e}).defaultPrevented||(this.isImageContent()?(this.element=XI("pswp__img","img"),this.displayedImageWidth&&this.loadImage(e)):(this.element=XI("pswp__content","div"),this.element.innerHTML=this.data.html||""),t&&this.slide&&this.slide.updateContentSize(!0))}loadImage(e){var t,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:e}).defaultPrevented)return;const i=this.element;this.updateSrcsetSizes(),this.data.srcset&&(i.srcset=this.data.srcset),i.src=null!==(t=this.data.src)&&void 0!==t?t:"",i.alt=null!==(n=this.data.alt)&&void 0!==n?n:"",this.state=aP,i.complete?this.onLoaded():(i.onload=()=>{this.onLoaded()},i.onerror=()=>{this.onError()})}setSlide(e){this.slide=e,this.hasSlide=!0,this.instance=e.pswp}onLoaded(){this.state=lP,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),this.state!==lP&&this.state!==cP||this.removePlaceholder())}onError(){this.state=cP,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===aP,this)}isError(){return this.state===cP}isImageContent(){return"image"===this.type}setDisplayedSize(e,t){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(e,t),!this.instance.dispatch("contentResize",{content:this,width:e,height:t}).defaultPrevented&&(sP(this.element,e,t),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&e;this.displayedImageWidth=e,this.displayedImageHeight=t,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:e,height:t,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==cP,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const e=this.element,t=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!e.dataset.largestUsedSize||t>parseInt(e.dataset.largestUsedSize,10))&&(e.sizes=t+"px",e.dataset.largestUsedSize=String(t))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented||(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var e,t;let n=XI("pswp__error-msg","div");n.innerText=null!==(e=null===(t=this.instance.options)||void 0===t?void 0:t.errorMsg)&&void 0!==e?e:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=XI("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===cP)return void this.displayError();if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const e="decode"in this.element;this.isImageContent()?e&&this.slide&&(!this.slide.isActive||dP())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){!this.instance.dispatch("contentActivate",{content:this}).defaultPrevented&&this.slide&&(this.isImageContent()&&this.isDecoding&&!dP()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,this.instance.dispatch("contentRemove",{content:this}).defaultPrevented||(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),this.state!==lP&&this.state!==cP||this.removePlaceholder()))}}function QP(e,t,n){const i=t.createContentFromData(e,n);let r;const{options:s}=t;if(s){let o;r=new yP(s,e,-1),o=t.pswp?t.pswp.viewportSize:fP(s,t);const a=pP(s,o,e,n);r.update(i.width,i.height,a)}return i.lazyLoad(),r&&i.setDisplayedSize(Math.ceil(i.width*r.initial),Math.ceil(i.height*r.initial)),i}class XP{constructor(e){this.pswp=e,this.limit=Math.max(e.options.preload[0]+e.options.preload[1]+1,5),this._cachedItems=[]}updateLazy(e){const{pswp:t}=this;if(t.dispatch("lazyLoad").defaultPrevented)return;const{preload:n}=t.options,i=void 0===e||e>=0;let r;for(r=0;r<=n[1];r++)this.loadSlideByIndex(t.currIndex+(i?r:-r));for(r=1;r<=n[0];r++)this.loadSlideByIndex(t.currIndex+(i?-r:r))}loadSlideByIndex(e){const t=this.pswp.getLoopedIndex(e);let n=this.getContentByIndex(t);n||(n=function(e,t){const n=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:n}).defaultPrevented)return QP(n,t,e)}(t,this.pswp),n&&this.addToCache(n))}getContentBySlide(e){let t=this.getContentByIndex(e.index);return t||(t=this.pswp.createContentFromData(e.data,e.index),this.addToCache(t)),t.setSlide(e),t}addToCache(e){if(this.removeByIndex(e.index),this._cachedItems.push(e),this._cachedItems.length>this.limit){const e=this._cachedItems.findIndex(e=>!e.isAttached&&!e.hasSlide);
vendor: 5,779 bytes, line 2
2if(-1!==e){this._cachedItems.splice(e,1)[0].destroy()}}}removeByIndex(e){const t=this._cachedItems.findIndex(t=>t.index===e);-1!==t&&this._cachedItems.splice(t,1)}getContentByIndex(e){return this._cachedItems.find(t=>t.index===e)}destroy(){this._cachedItems.forEach(e=>e.destroy()),this._cachedItems=[]}}class GP extends VP{getNumItems(){var e;let t=0;const n=null===(e=this.options)||void 0===e?void 0:e.dataSource;n&&"length"in n?t=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(t=n.items.length));const i=this.dispatch("numItems",{dataSource:n,numItems:t});return this.applyFilters("numItems",i.numItems,n)}createContentFromData(e,t){return new qP(e,this,t)}getItemData(e){var t;const n=null===(t=this.options)||void 0===t?void 0:t.dataSource;let i={};Array.isArray(n)?i=n[e]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),i=n.items[e]);let r=i;r instanceof Element&&(r=this._domElementToItemData(r));const s=this.dispatch("itemData",{itemData:r||{},index:e});return this.applyFilters("itemData",s.itemData,e)}_getGalleryDOMElements(e){var t,n;return null!==(t=this.options)&&void 0!==t&&t.children||null!==(n=this.options)&&void 0!==n&&n.childSelector?function(e,t,n=document){let i=[];if(e instanceof Element)i=[e];else if(e instanceof NodeList||Array.isArray(e))i=Array.from(e);else{const r="string"==typeof e?e:t;r&&(i=Array.from(n.querySelectorAll(r)))}return i}(this.options.children,this.options.childSelector,e)||[]:[e]}_domElementToItemData(e){const t={element:e},n="A"===e.tagName?e:e.querySelector("a");if(n){t.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(t.srcset=n.dataset.pswpSrcset),t.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,t.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,t.w=t.width,t.h=t.height,n.dataset.pswpType&&(t.type=n.dataset.pswpType);const r=e.querySelector("img");var i;if(r)t.msrc=r.currentSrc||r.src,t.alt=null!==(i=r.getAttribute("alt"))&&void 0!==i?i:"";(n.dataset.pswpCropped||n.dataset.cropped)&&(t.thumbCropped=!0)}return this.applyFilters("domItemData",t,e,n)}lazyLoadData(e,t){return QP(e,this,t)}}const KP=.003;class JP{constructor(e){this.pswp=e,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),e.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const e=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,e&&e.currZoomLevel*e.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const e=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,e&&e.zoomLevels.initial*e.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:e}=this,t=this.pswp.currSlide,{options:n}=e;var i,r;("fade"===n.showHideAnimationType?(n.showHideOpacity=!0,this._thumbBounds=void 0):"none"===n.showHideAnimationType?(n.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&e._initialThumbBounds?this._thumbBounds=e._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=null==t?void 0:t.getPlaceholderElement(),e.animations.stopAll(),this._useAnimation=Boolean(this._duration&&this._duration>50),this._animateZoom=Boolean(this._thumbBounds)&&(null==t?void 0:t.content.usePlaceholder())&&(!this.isClosing||!e.mainScroll.isShifted()),this._animateZoom)?this._animateRootOpacity=null!==(i=n.showHideOpacity)&&void 0!==i&&i:(this._animateRootOpacity=!0,this.isOpening&&t&&(t.zoomAndPanToInitial(),t.applyCurrentZoomPan()));if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>KP,this._opacityElement=this._animateRootOpacity?e.element:e.bg,!this._useAnimation)return this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,void(this.isOpening&&(e.element&&(e.element.style.opacity=String(KP)),e.applyBgOpacity(1)));this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect?(this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=null===(r=this.pswp.currSlide)||void 0===r?void 0:r.holderElement,e.container&&(e.container.style.overflow="hidden",e.container.style.width=e.viewportSize.x+"px")):this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(e.element&&(e.element.style.opacity=String(KP)),e.applyBgOpacity(1)):(this._animateBgOpacity&&e.bg&&(e.bg.style.opacity=String(KP)),e.element&&(e.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(KP)))):this.isClosing&&(e.mainScroll.itemHolders[0]&&(e.mainScroll.itemHolders[0].el.style.display="none"),e.mainScroll.itemHolders[2]&&(e.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&0!==e.mainScroll.x&&(e.mainScroll.resetPosition(),e.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&"IMG"===this._placeholder.tagName?new Promise(e=>{let t=!1,n=!0;var i;(i=this._placeholder,"decode"in i?i.decode().catch(()=>{}):i.complete?Promise.resolve(i):new Promise((e,t)=>
vendor: 9,247 bytes, line 2
2{i.onload=()=>e(i),i.onerror=t})).finally(()=>{t=!0,n||e(!0)}),setTimeout(()=>{n=!1,t&&e(!0)},50),setTimeout(e,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var e,t;null===(e=this.pswp.element)||void 0===e||e.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),null===(t=this.pswp.element)||void 0===t||t.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:e}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,e.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),e.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)e.destroy();else if(this.isOpen){var t;this._animateZoom&&e.container&&(e.container.style.overflow="visible",e.container.style.width="100%"),null===(t=e.currSlide)||void 0===t||t.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:e}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),e.currSlide&&(e.currSlide.zoomAndPanToInitial(),this._animateTo(e.currSlide.container,"transform",e.currSlide.getCurrentTransform()))),this._animateBgOpacity&&e.bg&&this._animateTo(e.bg,"opacity",String(e.options.bgOpacity)),this._animateRootOpacity&&e.element&&this._animateTo(e.element,"opacity","1")}_animateToClosedState(){const{pswp:e}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&e.bgOpacity>.01&&e.bg&&this._animateTo(e.bg,"opacity","0"),this._animateRootOpacity&&e.element&&this._animateTo(e.element,"opacity","0")}_setClosedStateZoomPan(e){if(!this._thumbBounds)return;const{pswp:t}=this,{innerRect:n}=this._thumbBounds,{currSlide:i,viewportSize:r}=t;if(this._croppedZoom&&n&&this._cropContainer1&&this._cropContainer2){const t=-r.x+(this._thumbBounds.x-n.x)+n.w,i=-r.y+(this._thumbBounds.y-n.y)+n.h,s=r.x-n.w,o=r.y-n.h;e?(this._animateTo(this._cropContainer1,"transform",nP(t,i)),this._animateTo(this._cropContainer2,"transform",nP(s,o))):(iP(this._cropContainer1,t,i),iP(this._cropContainer2,s,o))}i&&(GI(i.pan,n||this._thumbBounds),i.currZoomLevel=this._thumbBounds.w/i.width,e?this._animateTo(i.container,"transform",i.getCurrentTransform()):i.applyCurrentZoomPan())}_animateTo(e,t,n){if(!this._duration)return void(e.style[t]=n);const{animations:i}=this.pswp,r={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{i.activeAnimations.length||this._onAnimationComplete()},target:e};r[t]=n,i.startTransition(r)}}const eN={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class tN extends GP{constructor(e){super(),this.options=this._prepareOptions(e||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new hP,this.animations=new EP,this.mainScroll=new LP(this),this.gestures=new MP(this),this.opener=new JP(this),this.keyboard=new OP(this),this.contentLoader=new XP(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let e="pswp--open";return this.gestures.supportsTouch&&(e+=" pswp--touch"),this.options.mainClass&&(e+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+e),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new IP(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:e}=this.mainScroll;e[0]&&(e[0].el.style.display="block",this.setContent(e[0],this.currIndex-1)),e[2]&&(e[2].el.style.display="block",this.setContent(e[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(e){const t=this.getNumItems();return this.options.loop&&(e>t-1&&(e-=t),e<0&&(e+=t)),tP(e,0,t-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(e=>{var t;null===(t=e.slide)||void 0===t||t.appendHeavy()})}goTo(e){this.mainScroll.moveIndexBy(this.getLoopedIndex(e)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...e){var t;null===(t=this.currSlide)||void 0===t||t.zoomTo(...e)}toggleZoom(){var e;null===(e=this.currSlide)||void 0===e||e.toggleZoom()}close(){this.opener.isOpen&&!this.isDestroying&&(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var e;if(!this.isDestroying)return this.options.showHideAnimationType="none",void this.close();this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),null===(e=this.element)||void 0===e||e.remove(),this.mainScroll.itemHolders.forEach(e=>{var t;null===(t=e.slide)||void 0===t||t.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(e){this.contentLoader.removeByIndex(e),this.mainScroll.itemHolders.forEach((t,n)=>{var i,r;let s=(null!==(i=null===(r=this.currSlide)||void 0===r?void 0:r.index)&&void 0!==i?i:0)-1+n;var o;(this.canLoop()&&(s=this.getLoopedIndex(s)),s===e)&&(this.setContent(t,e,!0),1===n&&(this.currSlide=t.slide,null===(o=t.slide)||void 0===o||o.setIsActive(!0)))}),this.dispatch("change")}setContent(e,t,n){if(this.canLoop()&&(t=this.getLoopedIndex(t)),e.slide){if(e.slide.index===t&&!n)return;e.slide.destroy(),e.slide=void 0}if(!this.canLoop()&&(t<0||t>=this.getNumItems()))return;const i=this.getItemData(t);e.slide=new _P(i,t,this),t===this.currIndex&&(this.currSlide=e.slide),e.slide.append(e.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(e){if(this.isDestroying)return;const t=fP(this.options,this);!e&&eP(t,this._prevViewportSize)||(GI(this._prevViewportSize,t),this.dispatch("beforeResize"),GI(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(e){this.bgOpacity=Math.max(e,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){var e;this.hasMouse||(this.hasMouse=!0,null===(e=this.element)||void 0===e||e.classList.add("pswp--has_mouse"))}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(e,t){this.offset.x=e,this.offset.y=t,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=XI("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=XI("pswp__bg","div",this.element),this.scrollWrap=XI("pswp__scroll-wrap","section",this.element),this.container=XI("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new WP(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return function(e,t,n){const i=n.dispatch("thumbBounds",{index:e,itemData:t,instance:n});if(i.thumbBounds)return i.thumbBounds;const{element:r}=t;let s,o;
2if(r&&!1!==n.options.thumbSelector){const e=n.options.thumbSelector||"img";o=r.matches(e)?r:r.querySelector(e)}return o=n.applyFilters("thumbEl",o,t,e),o&&(s=t.thumbCropped?function(e,t,n){const i=e.getBoundingClientRect(),r=i.width/t,s=i.height/n,o=r>s?r:s,a=(i.width-t*o)/2,l=(i.height-n*o)/2,c={x:i.left+a,y:i.top+l,w:t*o};return c.innerRect={w:i.width,h:i.height,x:a,y:l},c}(o,t.width||t.w||0,t.height||t.h||0):function(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}(o)),n.applyFilters("thumbBounds",s,t,e)}(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(e){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(e.showHideAnimationType="none",e.zoomAnimationDuration=0),{...eN,...e}}}const nN={captionContent:".pswp-caption-content",type:"auto",horizontalEdgeThreshold:20,mobileCaptionOverlapRatio:.3,mobileLayoutBreakpoint:600,verticallyCenterImage:!1};var iN,rN,sN=class{constructor(e,t){this.options={...nN,...t},this.lightbox=e,this.lightbox.on("init",()=>{this.pswp=this.lightbox.pswp,this.initCaption()})}initCaption(){const{pswp:e}=this;e.on("change",()=>{this.showCaption(this.pswp.currSlide)}),e.on("calcSlideSize",e=>this.onCalcSlideSize(e)),e.on("slideDestroy",e=>{e.slide.dynamicCaption&&(e.slide.dynamicCaption.element&&e.slide.dynamicCaption.element.remove(),delete e.slide.dynamicCaption)}),e.on("zoomPanUpdate",({slide:t})=>{if(e.opener.isOpen&&t.dynamicCaption){if(t.currZoomLevel>t.zoomLevels.initial?this.hideCaption(t):this.showCaption(t),t.dynamicCaption.element){let e=0;if(t.currZoomLevel<=t.zoomLevels.initial){const n=t.pan.y-t.bounds.center.y;Math.abs(n)>1&&(e=n)}this.setCaptionYOffset(t.dynamicCaption.element,e)}this.adjustPanArea(t,t.currZoomLevel)}}),e.on("beforeZoomTo",t=>{this.adjustPanArea(e.currSlide,t.destZoomLevel)}),e.on("tapAction",e=>{e.originalEvent.target.closest(".pswp__dynamic-caption")&&e.preventDefault()})}adjustPanArea(e,t){e.dynamicCaption&&e.dynamicCaption.adjustedPanAreaSize&&(t>e.zoomLevels.initial?(e.panAreaSize.x=e.dynamicCaption.originalPanAreaSize.x,e.panAreaSize.y=e.dynamicCaption.originalPanAreaSize.y):(e.panAreaSize.x=e.dynamicCaption.adjustedPanAreaSize.x,e.panAreaSize.y=e.dynamicCaption.adjustedPanAreaSize.y))}useMobileLayout(){const{mobileLayoutBreakpoint:e}=this.options;return"function"==typeof e?e.call(this):"number"==typeof e&&window.innerWidth<e}hideCaption(e){if(e.dynamicCaption&&!e.dynamicCaption.hidden){const t=e.dynamicCaption.element;if(!t)return;e.dynamicCaption.hidden=!0,t.classList.add("pswp__dynamic-caption--faded"),e.captionFadeTimeout&&clearTimeout(e.captionFadeTimeout),e.captionFadeTimeout=setTimeout(()=>{t.style.visibility="hidden",delete e.captionFadeTimeout},400)}}setCaptionYOffset(e,t){e.style.transform=`translateY(${t}px)`}showCaption(e){if(e.dynamicCaption&&e.dynamicCaption.hidden){const t=e.dynamicCaption.element;if(!t)return;e.dynamicCaption.hidden=!1,t.style.visibility="visible",clearTimeout(e.captionFadeTimeout),e.captionFadeTimeout=setTimeout(()=>{t.classList.remove("pswp__dynamic-caption--faded"),delete e.captionFadeTimeout},50)}}setCaptionPosition(e,t,n){const i=t<=this.options.horizontalEdgeThreshold;e.classList[i?"add":"remove"]("pswp__dynamic-caption--on-hor-edge"),e.style.left=t+"px",e.style.top=n+"px"}setCaptionWidth(e,t){t?e.style.width=t+"px":e.style.removeProperty("width")}setCaptionType(e,t){const n=e.dataset.pswpCaptionType;t!==n&&(e.classList.add("pswp__dynamic-caption--"+t),e.classList.remove("pswp__dynamic-caption--"+n),e.dataset.pswpCaptionType=t)}updateCaptionPosition(e){if(!e.dynamicCaption||!e.dynamicCaption.type||!e.dynamicCaption.element)return;if("mobile"===e.dynamicCaption.type)return this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),e.dynamicCaption.element.style.removeProperty("left"),e.dynamicCaption.element.style.removeProperty("top"),void this.setCaptionWidth(e.dynamicCaption.element,!1);const t=e.zoomLevels.initial,n=Math.ceil(e.width*t),i=Math.ceil(e.height*t);this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),"aside"===e.dynamicCaption.type?(this.setCaptionPosition(e.dynamicCaption.element,e.bounds.center.x+n,e.bounds.center.y),this.setCaptionWidth(e.dynamicCaption.element,!1)):"below"===e.dynamicCaption.type&&(this.setCaptionPosition(e.dynamicCaption.element,e.bounds.center.x,e.bounds.center.y+i),this.setCaptionWidth(e.dynamicCaption.element,n))}onCalcSlideSize(e){const{slide:t}=e;let n,i;if(!t.dynamicCaption){t.dynamicCaption={element:void 0,type:!1,hidden:!1};const e=this.getCaptionHTML(t);if(!e)return;t.dynamicCaption.element=document.createElement("div"),t.dynamicCaption.element.className="pswp__dynamic-caption pswp__hide-on-close",t.dynamicCaption.element.innerHTML=e,this.pswp.dispatch("dynamicCaptionUpdateHTML",{c
2aptionElement:t.dynamicCaption.element,slide:t}),t.holderElement.appendChild(t.dynamicCaption.element)}if(!t.dynamicCaption.element)return;this.storeOriginalPanAreaSize(t),t.bounds.update(t.zoomLevels.initial),this.useMobileLayout()?(t.dynamicCaption.type="mobile",i=!0):"auto"===this.options.type?t.bounds.center.x>t.bounds.center.y?t.dynamicCaption.type="aside":t.dynamicCaption.type="below":t.dynamicCaption.type=this.options.type;const r=Math.ceil(t.width*t.zoomLevels.initial),s=Math.ceil(t.height*t.zoomLevels.initial);if(this.setCaptionType(t.dynamicCaption.element,t.dynamicCaption.type),"aside"===t.dynamicCaption.type){this.setCaptionWidth(t.dynamicCaption.element,!1),n=this.measureCaptionSize(t.dynamicCaption.element,e.slide);const i=n.x,s=r+t.bounds.center.x;t.panAreaSize.x-s<=i&&(t.panAreaSize.x-=i,this.recalculateZoomLevelAndBounds(t))}else if("below"===t.dynamicCaption.type||i){this.setCaptionWidth(t.dynamicCaption.element,i?this.pswp.viewportSize.x:r),n=this.measureCaptionSize(t.dynamicCaption.element,e.slide);const o=n.y;if(this.options.verticallyCenterImage)t.panAreaSize.y-=o,this.recalculateZoomLevelAndBounds(t);else{const e=s+t.bounds.center.y,n=t.panAreaSize.y-e,r=t.panAreaSize.y;if(n<=o){t.panAreaSize.y-=Math.min(2*(o-n),o),this.recalculateZoomLevelAndBounds(t);const e=t.panAreaSize.x*this.options.mobileCaptionOverlapRatio/2;i&&t.bounds.center.x>e&&(t.panAreaSize.y=r,this.recalculateZoomLevelAndBounds(t))}}}this.storeAdjustedPanAreaSize(t),this.updateCaptionPosition(t)}measureCaptionSize(e,t){const n=e.getBoundingClientRect();return this.pswp.dispatch("dynamicCaptionMeasureSize",{captionEl:e,slide:t,captionSize:{x:n.width,y:n.height}}).captionSize}recalculateZoomLevelAndBounds(e){e.zoomLevels.update(e.width,e.height,e.panAreaSize),e.bounds.update(e.zoomLevels.initial)}storeAdjustedPanAreaSize(e){e.dynamicCaption&&(e.dynamicCaption.adjustedPanAreaSize||(e.dynamicCaption.adjustedPanAreaSize={}),e.dynamicCaption.adjustedPanAreaSize.x=e.panAreaSize.x,e.dynamicCaption.adjustedPanAreaSize.y=e.panAreaSize.y)}storeOriginalPanAreaSize(e){e.dynamicCaption&&(e.dynamicCaption.originalPanAreaSize||(e.dynamicCaption.originalPanAreaSize={}),e.dynamicCaption.originalPanAreaSize.x=e.panAreaSize.x,e.dynamicCaption.originalPanAreaSize.y=e.panAreaSize.y)}getCaptionHTML(e){if("function"==typeof this.options.captionContent)return this.options.captionContent.call(this,e);const t=e.data.element;let n="";if(t){const e=t.querySelector(this.options.captionContent);if(e)n=e.innerHTML;else{const e=t.querySelector("img");e&&(n=e.getAttribute("alt"))}}return n}};function oN(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(e){s(e)}}function a(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function aN(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"function"==typeof SuppressedError&&SuppressedError;var lN=(rN||(rN=1,iN=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,s;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!==r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(s=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!==r--;)if(!Object.prototype.hasOwnProperty.call(n,s[r]))return!1;for(r=i;0!==r--;){var o=s[r];if(!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}),iN),cN=aN(lN);const dN="__googleMapsScriptId";var uN;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(uN||(uN={}));class hN{constructor({apiKey:e,authReferrerPolicy:t,channel:n,client:i,id:r=dN,language:s,libraries:o=[],mapIds:a,nonce:l,region:c,retries:d=3,url:u="https://maps.googleapis.com/ma
2ps/api/js",version:h}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=n,this.client=i,this.id=r||dN,this.language=s,this.libraries=o,this.mapIds=a,this.nonce=l,this.region=c,this.retries=d,this.url=u,this.version=h,hN.instance){if(!cN(this.options,hN.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(hN.instance.options)}`);return hN.instance}hN.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?uN.FAILURE:this.done?uN.SUCCESS:this.loading?uN.LOADING:uN.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`®ion=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(n=>{n?t(n.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();const n={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(n).forEach(e=>!n[e]&&delete n[e]),(null===(t=null===(e=null===window||void 0===window?void 0:window.google)||void 0===e?void 0:e.maps)||void 0===t?void 0:t.importLibrary)||(e=>{let t,n,i,r="The Google Maps JavaScript API",s="google",o="importLibrary",a="__ib__",l=document,c=window;c=c[s]||(c[s]={});const d=c.maps||(c.maps={}),u=new Set,h=new URLSearchParams,f=()=>t||(t=new Promise((o,c)=>oN(this,void 0,void 0,function*(){var f;for(i in yield n=l.createElement("script"),n.id=this.id,h.set("libraries",[...u]+""),e)h.set(i.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase()),e[i]);h.set("callback",s+".maps."+a),n.src=this.url+"?"+h,d[a]=o,n.onerror=()=>t=c(Error(r+" could not load.")),n.nonce=this.nonce||(null===(f=l.querySelector("script[nonce]"))||void 0===f?void 0:f.nonce)||"",l.head.append(n)})));d[o]?console.warn(r+" only loads once. Ignoring:",e):d[o]=(e,...t)=>u.add(e)&&f().then(()=>d[o](e,...t))})(n);const i=this.libraries.map(e=>this.importLibrary(e));i.length||i.push(this.importLibrary("core")),Promise.all(i).then(()=>this.callback(),e=>{const t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading=!0,this.setScript()}}}var fN=function(e){var t=e.serializeArray(),n={};return c.map(t,function(e){n[e.name]=e.value}),n};const mN={Zulu:["Etc/UTC",0],WET:["Europe/Lisbon",1],"W-SU":["Europe/Moscow",2],Universal:["Etc/UTC",0],UTC:["Etc/UTC",0],UCT:["Etc/UTC",0],Turkey:["Europe/Istanbul",3],Singapore:["Asia/Singapore",4],ROK:["Asia/Seoul",5],ROC:["Asia/Taipei",6],Portugal:["Europe/Lisbon",1],Poland:["Europe/Warsaw",7],PST8PDT:["America/Los_Angeles",8],PRC:["Asia/Shanghai",9],Navajo:["America/Denver",10],NZ:["Pacific/Auckland",11],"NZ-CHAT":["Pacific/Chatham",12],MST7MDT:["America/Denver",10],MST:["America/Phoenix",13],MET:["Europe/Brussels",14],Libya:["Africa/Tripoli",15],Kwajalein:["Pacific/Kwajalein",16],Japan:["Asia/Tokyo",17],Jamaica:["America/Jamaica",18],Israel:["Asia/Jerusalem",19],Iran:["Asia/Tehran",20],Iceland:["Africa/Abidjan",21],Hongkong:["Asia/Hong_Kong",22],HST:["Pacific/Honolulu",23],Greenwich:["Etc/GMT",24],GMT0:["Etc/GMT",24],GMT:["Etc/GMT",24],"GMT-0":["Etc/GMT",24],"GMT+0":["Etc/GMT",24],GB:["Europe/London",25],"GB-Eire":["Europe/London",25],Eire:["Europe/Dublin",26],Egypt:["Africa/Cairo",27],EST5EDT:["America/Ne
2w_York",28],EST:["America/Panama",29],EET:["Europe/Athens",30],Cuba:["America/Havana",31],CST6CDT:["America/Chicago",32],CET:["Europe/Brussels",14],US:{Samoa:["Pacific/Pago_Pago",33],Pacific:["America/Los_Angeles",8],Mountain:["America/Denver",10],Michigan:["America/Detroit",34],"Indiana-Starke":["America/Indiana/Knox",35],Hawaii:["Pacific/Honolulu",23],Eastern:["America/New_York",28],"East-Indiana":["America/Indiana/Indianapolis",36],Central:["America/Chicago",32],Arizona:["America/Phoenix",13],Aleutian:["America/Adak",37],Alaska:["America/Anchorage",38]},Pacific:{Yap:["Pacific/Port_Moresby",39],Wallis:["Pacific/Tarawa",40],Wake:["Pacific/Tarawa",40],Truk:["Pacific/Port_Moresby",39],Tongatapu:["",41],Tarawa:["",40],Tahiti:["",42],Samoa:["Pacific/Pago_Pago",33],Saipan:["Pacific/Guam",43],Rarotonga:["",44],Port_Moresby:["",39],Ponape:["Pacific/Guadalcanal",45],Pohnpei:["Pacific/Guadalcanal",45],Pitcairn:["",46],Palau:["",47],Pago_Pago:["",33],Noumea:["",48],Norfolk:["",49],Niue:["",50],Nauru:["",51],Midway:["Pacific/Pago_Pago",33],Marquesas:["",52],Majuro:["Pacific/Tarawa",40],Kwajalein:["",16],Kosrae:["",53],Kiritimati:["",54],Kanton:["",55],Johnston:["Pacific/Honolulu",23],Honolulu:["",23],Guam:["",43],Guadalcanal:["",45],Gambier:["",56],Galapagos:["",57],Funafuti:["Pacific/Tarawa",40],Fiji:["",58],Fakaofo:["",59],Enderbury:["Pacific/Kanton",55],Efate:["",60],Easter:["",61],Chuuk:["Pacific/Port_Moresby",39],Chatham:["",12],Bougainville:["",62],Auckland:["",11],Apia:["",63]},Mexico:{General:["America/Mexico_City",64],BajaSur:["America/Mazatlan",65],BajaNorte:["America/Tijuana",66]},Indian:{Reunion:["Asia/Dubai",67],Mayotte:["Africa/Nairobi",68],Mauritius:["",69],Maldives:["",70],Mahe:["Asia/Dubai",67],Kerguelen:["Indian/Maldives",70],Comoro:["Africa/Nairobi",68],Cocos:["Asia/Yangon",71],Christmas:["Asia/Bangkok",72],Chagos:["",73],Antananarivo:["Africa/Nairobi",68]},Europe:{Zurich:["",74],Zaporozhye:["Europe/Kyiv",75],Zagreb:["Europe/Belgrade",76],Warsaw:["",7],Volgograd:["",77],Vilnius:["",78],Vienna:["",79],Vatican:["Europe/Rome",80],Vaduz:["Europe/Zurich",74],Uzhgorod:["Europe/Kyiv",75],Ulyanovsk:["",81],Tiraspol:["Europe/Chisinau",82],Tirane:["",83],Tallinn:["",84],Stockholm:["Europe/Berlin",85],Sofia:["",86],Skopje:["Europe/Belgrade",76],Simferopol:["",87],Saratov:["",88],Sarajevo:["Europe/Belgrade",76],San_Marino:["Europe/Rome",80],Samara:["",89],Rome:["",80],Riga:["",90],Prague:["",91],Podgorica:["Europe/Belgrade",76],Paris:["",92],Oslo:["Europe/Berlin",85],Nicosia:["Asia/Nicosia",93],Moscow:["",2],Monaco:["Europe/Paris",92],Minsk:["",94],Mariehamn:["Europe/Helsinki",95],Malta:["",96],Madrid:["",97],Luxembourg:["Europe/Brussels",14],London:["",25],Ljubljana:["Europe/Belgrade",76],Lisbon:["",1],Kyiv:["",75],Kirov:["",98],Kiev:["Europe/Kyiv",75],Kaliningrad:["",99],Jersey:["Europe/London",25],Istanbul:["",3],Isle_of_Man:["Europe/London",25],Helsinki:["",95],Guernsey:["Europe/London",25],Gibraltar:["",100],Dublin:["",26],Copenhagen:["Europe/Berlin",85],Chisinau:["",82],Busingen:["Europe/Zurich",74],Budapest:["",101],Bucharest:["",102],Brussels:["",14],Bratislava:["Europe/Prague",91],Berlin:["",85],Belgrade:["",76],Belfast:["Europe/London",25],Athens:["",30],Astrakhan:["",103],Andorra:["",104],Amsterdam:["Europe/Brussels",14]},Etc:{Zulu:["Etc/UTC",0],Universal:["Etc/UTC",0],UTC:["",0],UCT:["Etc/UTC",0],Greenwich:["Etc/GMT",24],GMT0:["Etc/GMT",24],GMT:["",24],"GMT-9":["",105],"GMT-8":["",106],"GMT-7":["",107],"GMT-6":["",108],"GMT-5":["",109],"GMT-4":["",110],"GMT-3":["",111],"GMT-2":["",112],"GMT-14":["",113],"GMT-13":["",114],"GMT-12":["",115],"GMT-11":["",116],"GMT-10":["",117],"GMT-1":["",118],"GMT-0":["Etc/GMT",24],"GMT+9":["",119],"GMT+8":["",120],"GMT+7":["",121],"GMT+6":["",122],"GMT+5":["",123],"GMT+4":["",124],"GMT+3":["",125],"GMT+2":["",126],"GMT+12":["",127],"GMT+11":["",128],"GMT+10":["",129],"GMT+1":["",130],"GMT+0":["Etc/GMT",24]},Chile:{EasterIsland:["Pacific/Easter",61],Continental:["America/Santiago",131]},Canada:{Yukon:["America/Whitehorse",132],Saskatchewan:["America/Regina",133],Pacific:["America/Vancouver",134],Newfoundland:["America/St_Johns",135],Mountain:["America/Edmonton",136],Eastern:["America/Toronto",137],Central:["America/Winnipeg",138],Atlantic:["America/Halifax",139]},Brazil:{West:["America/Manaus",140],East:["America/Sao_Paulo",141],DeNoronha:["America/Noronha",142],Acre:["America/Rio_Branco",143]},Australia:{Yancowinna:["Australia/Broken_Hill",144],West:["Australia/Perth",145],Victoria:["Australia/Melbourne",146],Tasmania:["Australia/Hobart",147],Sydney:["",148],South:["Australia/Adelaide",149],Queensland:["Australia/Brisbane",150
2],Perth:["",145],North:["Australia/Darwin",151],NSW:["Australia/Sydney",148],Melbourne:["",146],Lord_Howe:["",152],Lindeman:["",153],LHI:["Australia/Lord_Howe",152],Hobart:["",147],Eucla:["",154],Darwin:["",151],Currie:["Australia/Hobart",147],Canberra:["Australia/Sydney",148],Broken_Hill:["",144],Brisbane:["",150],Adelaide:["",149],ACT:["Australia/Sydney",148]},Atlantic:{Stanley:["",155],St_Helena:["Africa/Abidjan",21],South_Georgia:["",156],Reykjavik:["Africa/Abidjan",21],Madeira:["",157],Jan_Mayen:["Europe/Berlin",85],Faroe:["",158],Faeroe:["Atlantic/Faroe",158],Cape_Verde:["",159],Canary:["",160],Bermuda:["",161],Azores:["",162]},Asia:{Yerevan:["",163],Yekaterinburg:["",164],Yangon:["",71],Yakutsk:["",165],Vladivostok:["",166],Vientiane:["Asia/Bangkok",72],"Ust-Nera":["",167],Urumqi:["",168],Ulan_Bator:["Asia/Ulaanbaatar",169],Ulaanbaatar:["",169],Ujung_Pandang:["Asia/Makassar",170],Tomsk:["",171],Tokyo:["",17],Thimphu:["",172],Thimbu:["Asia/Thimphu",172],Tel_Aviv:["Asia/Jerusalem",19],Tehran:["",20],Tbilisi:["",173],Tashkent:["",174],Taipei:["",6],Srednekolymsk:["",175],Singapore:["",4],Shanghai:["",9],Seoul:["",5],Samarkand:["",176],Sakhalin:["",177],Saigon:["Asia/Ho_Chi_Minh",178],Riyadh:["",179],Rangoon:["Asia/Yangon",71],Qyzylorda:["",180],Qostanay:["",181],Qatar:["",182],Pyongyang:["",183],Pontianak:["",184],Phnom_Penh:["Asia/Bangkok",72],Oral:["",185],Omsk:["",186],Novosibirsk:["",187],Novokuznetsk:["",188],Nicosia:["",93],Muscat:["Asia/Dubai",67],Manila:["",189],Makassar:["",170],Magadan:["",190],Macau:["",191],Macao:["Asia/Macau",191],Kuwait:["Asia/Riyadh",179],Kuching:["",192],Kuala_Lumpur:["Asia/Singapore",4],Krasnoyarsk:["",193],Kolkata:["",194],Khandyga:["",195],Katmandu:["Asia/Kathmandu",196],Kathmandu:["",196],Kashgar:["Asia/Urumqi",168],Karachi:["",197],Kamchatka:["",198],Kabul:["",199],Jerusalem:["",19],Jayapura:["",200],Jakarta:["",201],Istanbul:["Europe/Istanbul",3],Irkutsk:["",202],Hovd:["",203],Hong_Kong:["",22],Ho_Chi_Minh:["",178],Hebron:["",204],Harbin:["Asia/Shanghai",9],Gaza:["",205],Famagusta:["",206],Dushanbe:["",207],Dubai:["",67],Dili:["",208],Dhaka:["",209],Damascus:["",210],Dacca:["Asia/Dhaka",209],Colombo:["",211],Chungking:["Asia/Shanghai",9],Chongqing:["Asia/Shanghai",9],Choibalsan:["Asia/Ulaanbaatar",169],Chita:["",212],Calcutta:["Asia/Kolkata",194],Brunei:["Asia/Kuching",192],Bishkek:["",213],Beirut:["",214],Barnaul:["",215],Bangkok:["",72],Baku:["",216],Bahrain:["Asia/Qatar",182],Baghdad:["",217],Atyrau:["",218],Ashkhabad:["Asia/Ashgabat",219],Ashgabat:["",219],Aqtobe:["",220],Aqtau:["",221],Anadyr:["",222],Amman:["",223],Almaty:["",224],Aden:["Asia/Riyadh",179]},Arctic:{Longyearbyen:["Europe/Berlin",85]},Antarctica:{Vostok:["",225],Troll:["",226],Syowa:["Asia/Riyadh",179],South_Pole:["Pacific/Auckland",11],Rothera:["",227],Palmer:["",228],McMurdo:["Pacific/Auckland",11],Mawson:["",229],Macquarie:["",230],DumontDUrville:["Pacific/Port_Moresby",39],Davis:["",231],Casey:["",232]},America:{Yellowknife:["America/Edmonton",136],Yakutat:["",233],Winnipeg:["",138],Whitehorse:["",132],Virgin:["America/Puerto_Rico",234],Vancouver:["",134],Tortola:["America/Puerto_Rico",234],Toronto:["",137],Tijuana:["",66],Thunder_Bay:["America/Toronto",137],Thule:["",235],Tegucigalpa:["",236],Swift_Current:["",237],St_Vincent:["America/Puerto_Rico",234],St_Thomas:["America/Puerto_Rico",234],St_Lucia:["America/Puerto_Rico",234],St_Kitts:["America/Puerto_Rico",234],St_Johns:["",135],St_Barthelemy:["America/Puerto_Rico",234],Sitka:["",238],Shiprock:["America/Denver",10],Scoresbysund:["",239],Sao_Paulo:["",141],Santo_Domingo:["",240],Santiago:["",131],Santarem:["",241],Santa_Isabel:["America/Tijuana",66],Rosario:["America/Argentina/Cordoba",242],Rio_Branco:["",143],Resolute:["",243],Regina:["",133],Recife:["",244],Rankin_Inlet:["",245],Rainy_River:["America/Winnipeg",138],Punta_Arenas:["",246],Puerto_Rico:["",234],Porto_Velho:["",247],Porto_Acre:["America/Rio_Branco",143],Port_of_Spain:["America/Puerto_Rico",234],"Port-au-Prince":["",248],Phoenix:["",13],Paramaribo:["",249],Pangnirtung:["America/Iqaluit",250],Panama:["",29],Ojinaga:["",251],Nuuk:["",252],Noronha:["",142],Nome:["",253],Nipigon:["America/Toronto",137],New_York:["",28],Nassau:["America/Toronto",137],Montserrat:["America/Puerto_Rico",234],Montreal:["America/Toronto",137],Montevideo:["",254],Monterrey:["",255],Moncton:["",256],Miquelon:["",257],Mexico_City:["",64],Metlakatla:["",258],Merida:["",259],Menominee:["",260],Mendoza:["America/Argentina/Mendoza",261],Mazatlan:["",65],Matamoros:["",262],Martinique:["",263],Marigot:["America/Puerto_Rico",234],Manaus:["",140],Managua:["",264],Maceio:["",265],Lower_Princes:["America/Puerto_Rico",234],Louisville:["America/Kentucky/Louisville",266],Los_Angeles:["",8],Lima:["",267],La_Paz:["",268],Kralendijk:["America/Puerto_Rico",234],Knox_IN:["America/Indiana/Knox",35],Juneau:["",269],Jujuy:["America/Argentina/Jujuy",270],Jamaica:["",18],Iqaluit:["",250],Inuvik:["",271],Indianapolis:["America/Indiana/Indianapolis",36],Hermosillo:["",272],Havana:["",31],Halifax:["",139],Guyana:["",273],Guayaquil:["",274],Guatemala:["",275],Guadeloupe:["America/Puerto_Rico",234],Grenada:["America/Puerto_Rico",234],Grand_Turk:["",276],Goose_Bay:["",277],Godthab:["America/Nuuk",252],Glace_Bay:["",278],Fortaleza:["",279],Fort_Wayne:["America/Indiana/Indianapolis",36],Fort_Nelson:["",280],Ensenada:["America/Tijuana",66
2],El_Salvador:["",281],Eirunepe:["",282],Edmonton:["",136],Dominica:["America/Puerto_Rico",234],Detroit:["",34],Denver:["",10],Dawson_Creek:["",283],Dawson:["",284],Danmarkshavn:["",285],Curacao:["America/Puerto_Rico",234],Cuiaba:["",286],Creston:["America/Phoenix",13],Coyhaique:["",287],Costa_Rica:["",288],Cordoba:["America/Argentina/Cordoba",242],Coral_Harbour:["America/Panama",29],Ciudad_Juarez:["",289],Chihuahua:["",290],Chicago:["",32],Cayman:["America/Panama",29],Cayenne:["",291],Catamarca:["America/Argentina/Catamarca",292],Caracas:["",293],Cancun:["",294],Campo_Grande:["",295],Cambridge_Bay:["",296],Buenos_Aires:["America/Argentina/Buenos_Aires",297],Boise:["",298],Bogota:["",299],Boa_Vista:["",300],"Blanc-Sablon":["America/Puerto_Rico",234],Belize:["",301],Belem:["",302],Barbados:["",303],Bahia_Banderas:["",304],Bahia:["",305],Atka:["America/Adak",37],Atikokan:["America/Panama",29],Asuncion:["",306],Aruba:["America/Puerto_Rico",234],Araguaina:["",307],Antigua:["America/Puerto_Rico",234],Anguilla:["America/Puerto_Rico",234],Anchorage:["",38],Adak:["",37],North_Dakota:{New_Salem:["",308],Center:["",309],Beulah:["",310]},Kentucky:{Monticello:["",311],Louisville:["",266]},Indiana:{Winamac:["",312],Vincennes:["",313],Vevay:["",314],Tell_City:["",315],Petersburg:["",316],Marengo:["",317],Knox:["",35],Indianapolis:["",36]},Argentina:{Ushuaia:["",318],Tucuman:["",319],San_Luis:["",320],San_Juan:["",321],Salta:["",322],Rio_Gallegos:["",323],Mendoza:["",261],La_Rioja:["",324],Jujuy:["",270],Cordoba:["",242],ComodRivadavia:["America/Argentina/Catamarca",292],Catamarca:["",292],Buenos_Aires:["",297]}},Africa:{Windhoek:["",325],Tunis:["",326],Tripoli:["",15],Timbuktu:["Africa/Abidjan",21],Sao_Tome:["",327],"Porto-Novo":["Africa/Lagos",328],Ouagadougou:["Africa/Abidjan",21],Nouakchott:["Africa/Abidjan",21],Niamey:["Africa/Lagos",328],Ndjamena:["",329],Nairobi:["",68],Monrovia:["",330],Mogadishu:["Africa/Nairobi",68],Mbabane:["Africa/Johannesburg",331],Maseru:["Africa/Johannesburg",331],Maputo:["",332],Malabo:["Africa/Lagos",328],Lusaka:["Africa/Maputo",332],Lubumbashi:["Africa/Maputo",332],Luanda:["Africa/Lagos",328],Lome:["Africa/Abidjan",21],Libreville:["Africa/Lagos",328],Lagos:["",328],Kinshasa:["Africa/Lagos",328],Kigali:["Africa/Maputo",332],Khartoum:["",333],Kampala:["Africa/Nairobi",68],Juba:["",334],Johannesburg:["",331],Harare:["Africa/Maputo",332],Gaborone:["Africa/Maputo",332],Freetown:["Africa/Abidjan",21],El_Aaiun:["",335],Douala:["Africa/Lagos",328],Djibouti:["Africa/Nairobi",68],Dar_es_Salaam:["Africa/Nairobi",68],Dakar:["Africa/Abidjan",21],Conakry:["Africa/Abidjan",21],Ceuta:["",336],Casablanca:["",337],Cairo:["",27],Bujumbura:["Africa/Maputo",332],Brazzaville:["Africa/Lagos",328],Blantyre:["Africa/Maputo",332],Bissau:["",338],Banjul:["Africa/Abidjan",21],Bangui:["Africa/Lagos",328],Bamako:["Africa/Abidjan",21],Asmera:["Africa/Nairobi",68],Asmara:["Africa/Nairobi",68],Algiers:["",339],Addis_Ababa:["Africa/Nairobi",68],Accra:["Africa/Abidjan",21],Abidjan:["",21]}},pN=["20250523T094234Z<n>X-LIC-LOCATION:Etc/UTC<n><bs><n><tz>UTC<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Lisbon<n><bs><n><tz>WET<n><of>+0100<n><ot>+0000<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n><bd><n><tz>WEST<n><of>+0000<n><ot>+0100<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Moscow<n><bs><n><tz>MSK<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Istanbul<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Singapore<n><bs><n><tz>+08<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Seoul<n><bs><n><tz>KST<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Taipei<n><bs><n><tz>CST<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Warsaw<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Los_Angeles<n><bd><n><tz>PDT<n><of>-0800<n><ot>-0700<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>PST<n><of>-0700<n><ot>-0800<n><s>
219701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Shanghai<n><bs><n><tz>CST<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Denver<n><bd><n><tz>MDT<n><of>-0700<n><ot>-0600<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>MST<n><of>-0600<n><ot>-0700<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Auckland<n><bd><n><tz>NZDT<n><of>+1200<n><ot>+1300<n><s>19700927T020000<n><r>FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU<n><ed><n><bs><n><tz>NZST<n><of>+1300<n><ot>+1200<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Chatham<n><bd><n><tz>+1345<n><of>+1245<n><ot>+1345<n><s>19700927T024500<n><r>FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU<n><ed><n><bs><n><tz>+1245<n><of>+1345<n><ot>+1245<n><s>19700405T034500<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Phoenix<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Brussels<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Tripoli<n><bs><n><tz>EET<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Kwajalein<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Tokyo<n><bs><n><tz>JST<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Jamaica<n><bs><n><tz>EST<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Jerusalem<n><bd><n><tz>IDT<n><of>+0200<n><ot>+0300<n><s>19700327T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1FR<n><ed><n><bs><n><tz>IST<n><of>+0300<n><ot>+0200<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Tehran<n><bs><n><tz>+0330<n><of>+0330<n><ot>+0330<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Abidjan<n><bs><n><tz>GMT<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Hong_Kong<n><bs><n><tz>HKT<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Honolulu<n><bs><n><tz>HST<n><of>-1000<n><ot>-1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT<n><bs><n><tz>GMT<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/London<n><bd><n><tz>BST<n><of>+0000<n><ot>+0100<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>GMT<n><of>+0100<n><ot>+0000<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Dublin<n><bs><n><tz>IST<n><of>+0000<n><ot>+0100<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><es><n><bd><n><tz>GMT<n><of>+0100<n><ot>+0000<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Cairo<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700424T000000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=-1FR<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701030T000000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/New_York<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Panama<n><bs><n><tz>EST<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Athens<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Havana<n><bs><n><tz>CST<n><of>-0400<n><ot>-0500<n><s>19701101T010000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n><bd><n><tz>CDT<n><of>-0500<n><ot>-0400<n><s>19700308T000000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Chicago<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Pago_Pago<n><bs><n><tz>SST<n><of>-1100<n><ot>-1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Detroit<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Knox<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Indianapolis<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Adak<n><bd><n><tz>HDT<n><of>-1000<n><ot>-0900<n><s>
219700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>HST<n><of>-0900<n><ot>-1000<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Anchorage<n><bd><n><tz>AKDT<n><of>-0900<n><ot>-0800<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AKST<n><of>-0800<n><ot>-0900<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Port_Moresby<n><bs><n><tz>+10<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Tarawa<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Tongatapu<n><bs><n><tz>+13<n><of>+1300<n><ot>+1300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Tahiti<n><bs><n><tz>-10<n><of>-1000<n><ot>-1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Guam<n><bs><n><tz>ChST<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Rarotonga<n><bs><n><tz>-10<n><of>-1000<n><ot>-1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Guadalcanal<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Pitcairn<n><bs><n><tz>-08<n><of>-0800<n><ot>-0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Palau<n><bs><n><tz>+09<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Noumea<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Norfolk<n><bd><n><tz>+12<n><of>+1100<n><ot>+1200<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n><bs><n><tz>+11<n><of>+1200<n><ot>+1100<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Niue<n><bs><n><tz>-11<n><of>-1100<n><ot>-1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Nauru<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Marquesas<n><bs><n><tz>-0930<n><of>-0930<n><ot>-0930<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Kosrae<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Kiritimati<n><bs><n><tz>+14<n><of>+1400<n><ot>+1400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Kanton<n><bs><n><tz>+13<n><of>+1300<n><ot>+1300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Gambier<n><bs><n><tz>-09<n><of>-0900<n><ot>-0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Galapagos<n><bs><n><tz>-06<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Fiji<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Fakaofo<n><bs><n><tz>+13<n><of>+1300<n><ot>+1300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Efate<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Easter<n><bs><n><tz>-06<n><of>-0500<n><ot>-0600<n><s>19700404T220000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SA<n><es><n><bd><n><tz>-05<n><of>-0600<n><ot>-0500<n><s>19700905T220000<n><r>FREQ=YEARLY;BYMONTH=9;BYDAY=1SA<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Bougainville<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Pacific/Apia<n><bs><n><tz>+13<n><of>+1300<n><ot>+1300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Mexico_City<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Mazatlan<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Tijuana<n><bd><n><tz>PDT<n><of>-0800<n><ot>-0700<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>PST<n><of>-0700<n><ot>-0800<n><s>
219701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Dubai<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Nairobi<n><bs><n><tz>EAT<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Indian/Mauritius<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Indian/Maldives<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Yangon<n><bs><n><tz>+0630<n><of>+0630<n><ot>+0630<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Bangkok<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Indian/Chagos<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Zurich<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Kyiv<n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Belgrade<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Volgograd<n><bs><n><tz>MSK<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Vilnius<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Vienna<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Rome<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Ulyanovsk<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Chisinau<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Tirane<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Tallinn<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Berlin<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Sofia<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Simferopol<n><bs><n><tz>MSK<n><of>+0300<n><ot>+0300<n><s>
219700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Saratov<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Samara<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Riga<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Prague<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Paris<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Nicosia<n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Minsk<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Helsinki<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Malta<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Madrid<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Kirov<n><bs><n><tz>MSK<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Kaliningrad<n><bs><n><tz>EET<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Gibraltar<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Budapest<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Bucharest<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Astrakhan<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Europe/Andorra<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-9<n><bs><n><tz>+09<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-8<n><bs><n><tz>+08<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-7<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-6<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-5<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-4<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-3<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>
219700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-2<n><bs><n><tz>+02<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-14<n><bs><n><tz>+14<n><of>+1400<n><ot>+1400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-13<n><bs><n><tz>+13<n><of>+1300<n><ot>+1300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-12<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-11<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-10<n><bs><n><tz>+10<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT-1<n><bs><n><tz>+01<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+9<n><bs><n><tz>-09<n><of>-0900<n><ot>-0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+8<n><bs><n><tz>-08<n><of>-0800<n><ot>-0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+7<n><bs><n><tz>-07<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+6<n><bs><n><tz>-06<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+5<n><bs><n><tz>-05<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+4<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+3<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+2<n><bs><n><tz>-02<n><of>-0200<n><ot>-0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+12<n><bs><n><tz>-12<n><of>-1200<n><ot>-1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+11<n><bs><n><tz>-11<n><of>-1100<n><ot>-1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+10<n><bs><n><tz>-10<n><of>-1000<n><ot>-1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Etc/GMT+1<n><bs><n><tz>-01<n><of>-0100<n><ot>-0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Santiago<n><bs><n><tz>-04<n><of>-0300<n><ot>-0400<n><s>19700405T000000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>-03<n><of>-0400<n><ot>-0300<n><s>19700906T000000<n><r>FREQ=YEARLY;BYMONTH=9;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Whitehorse<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Regina<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Vancouver<n><bd><n><tz>PDT<n><of>-0800<n><ot>-0700<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>PST<n><of>-0700<n><ot>-0800<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/St_Johns<n><bs><n><tz>NST<n><of>-0230<n><ot>-0330<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n><bd><n><tz>NDT<n><of>-0330<n><ot>-0230<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Edmonton<n><bd><n><tz>MDT<n><of>-0700<n><ot>-0600<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>MST<n><of>-0600<n><ot>-0700<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Toronto<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Winnipeg<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Halifax<n><bd><n><tz>ADT<n><of>-0400<n><ot>-0300<n><s>
219700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AST<n><of>-0300<n><ot>-0400<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Manaus<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Sao_Paulo<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Noronha<n><bs><n><tz>-02<n><of>-0200<n><ot>-0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Rio_Branco<n><bs><n><tz>-05<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Broken_Hill<n><bs><n><tz>ACST<n><of>+1030<n><ot>+0930<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>ACDT<n><of>+0930<n><ot>+1030<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Perth<n><bs><n><tz>AWST<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Melbourne<n><bs><n><tz>AEST<n><of>+1100<n><ot>+1000<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>AEDT<n><of>+1000<n><ot>+1100<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Hobart<n><bd><n><tz>AEDT<n><of>+1000<n><ot>+1100<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n><bs><n><tz>AEST<n><of>+1100<n><ot>+1000<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Sydney<n><bs><n><tz>AEST<n><of>+1100<n><ot>+1000<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>AEDT<n><of>+1000<n><ot>+1100<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Adelaide<n><bs><n><tz>ACST<n><of>+1030<n><ot>+0930<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>ACDT<n><of>+0930<n><ot>+1030<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Brisbane<n><bs><n><tz>AEST<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Darwin<n><bs><n><tz>ACST<n><of>+0930<n><ot>+0930<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Lord_Howe<n><bs><n><tz>+1030<n><of>+1100<n><ot>+1030<n><s>19700405T020000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>+11<n><of>+1030<n><ot>+1100<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Lindeman<n><bs><n><tz>AEST<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Australia/Eucla<n><bs><n><tz>+0845<n><of>+0845<n><ot>+0845<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Stanley<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/South_Georgia<n><bs><n><tz>-02<n><of>-0200<n><ot>-0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Madeira<n><bd><n><tz>WEST<n><of>+0000<n><ot>+0100<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>WET<n><of>+0100<n><ot>+0000<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Faroe<n><bd><n><tz>WEST<n><of>+0000<n><ot>+0100<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>WET<n><of>+0100<n><ot>+0000<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Cape_Verde<n><bs><n><tz>-01<n><of>-0100<n><ot>-0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Canary<n><bd><n><tz>WEST<n><of>+0000<n><ot>+0100<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>WET<n><of>+0100<n><ot>+0000<n><s>19701025T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Bermuda<n><bd><n><tz>ADT<n><of>-0400<n><ot>-0300<n><s>
219700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AST<n><of>-0300<n><ot>-0400<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Atlantic/Azores<n><bd><n><tz>+00<n><of>-0100<n><ot>+0000<n><s>19700329T000000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>-01<n><of>+0000<n><ot>-0100<n><s>19701025T010000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Yerevan<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Yekaterinburg<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Yakutsk<n><bs><n><tz>+09<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Vladivostok<n><bs><n><tz>+10<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Ust-Nera<n><bs><n><tz>+10<n><of>+1000<n><ot>+1000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Urumqi<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Ulaanbaatar<n><bs><n><tz>+08<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Makassar<n><bs><n><tz>WITA<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Tomsk<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Thimphu<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Tbilisi<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Tashkent<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Srednekolymsk<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Samarkand<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Sakhalin<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Ho_Chi_Minh<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Riyadh<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Qyzylorda<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Qostanay<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Qatar<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Pyongyang<n><bs><n><tz>KST<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Pontianak<n><bs><n><tz>WIB<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Oral<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Omsk<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Novosibirsk<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Novokuznetsk<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Manila<n><bs><n><tz>PST<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Magadan<n><bs><n><tz>+11<n><of>+1100<n><ot>+1100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Macau<n><bs><n><tz>CST<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Kuching<n><bs><n><tz>+08<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Krasnoyarsk<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Kolkata<n><bs><n><tz>IST<n><of>+0530<n><ot>+0530<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Khandyga<n><bs><n><tz>+09<n><of>+0900<n><ot>+0900<n><s>
219700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Kathmandu<n><bs><n><tz>+0545<n><of>+0545<n><ot>+0545<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Karachi<n><bs><n><tz>PKT<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Kamchatka<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Kabul<n><bs><n><tz>+0430<n><of>+0430<n><ot>+0430<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Jayapura<n><bs><n><tz>WIT<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Jakarta<n><bs><n><tz>WIB<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Irkutsk<n><bs><n><tz>+08<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Hovd<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Hebron<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700328T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SA<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701024T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SA<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Gaza<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700328T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SA<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701024T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SA<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Famagusta<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T030000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T040000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Dushanbe<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Dili<n><bs><n><tz>+09<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Dhaka<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Damascus<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Colombo<n><bs><n><tz>+0530<n><of>+0530<n><ot>+0530<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Chita<n><bs><n><tz>+09<n><of>+0900<n><ot>+0900<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Bishkek<n><bs><n><tz>+06<n><of>+0600<n><ot>+0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Beirut<n><bd><n><tz>EEST<n><of>+0200<n><ot>+0300<n><s>19700329T000000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>EET<n><of>+0300<n><ot>+0200<n><s>19701025T000000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Barnaul<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Baku<n><bs><n><tz>+04<n><of>+0400<n><ot>+0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Baghdad<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Atyrau<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Ashgabat<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Aqtobe<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Aqtau<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Anadyr<n><bs><n><tz>+12<n><of>+1200<n><ot>+1200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Amman<n><bs><n><tz>+03<n><of>+0300<n><ot>+0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Asia/Almaty<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Vostok<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Troll<n><bd><n><tz>+02<n><of>+0000<n><ot>+0200<n><s>19700329T010000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>+00<n><of>+0200<n><ot>+0000<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Rothera<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>
219700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Palmer<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Mawson<n><bs><n><tz>+05<n><of>+0500<n><ot>+0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Macquarie<n><bs><n><tz>AEST<n><of>+1100<n><ot>+1000<n><s>19700405T030000<n><r>FREQ=YEARLY;BYMONTH=4;BYDAY=1SU<n><es><n><bd><n><tz>AEDT<n><of>+1000<n><ot>+1100<n><s>19701004T020000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=1SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Davis<n><bs><n><tz>+07<n><of>+0700<n><ot>+0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Antarctica/Casey<n><bs><n><tz>+08<n><of>+0800<n><ot>+0800<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Yakutat<n><bd><n><tz>AKDT<n><of>-0900<n><ot>-0800<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AKST<n><of>-0800<n><ot>-0900<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Puerto_Rico<n><bs><n><tz>AST<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Thule<n><bd><n><tz>ADT<n><of>-0400<n><ot>-0300<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AST<n><of>-0300<n><ot>-0400<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Tegucigalpa<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Swift_Current<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Sitka<n><bd><n><tz>AKDT<n><of>-0900<n><ot>-0800<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AKST<n><of>-0800<n><ot>-0900<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Scoresbysund<n><bs><n><tz>-02<n><of>-0100<n><ot>-0200<n><s>19701025T000000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n><bd><n><tz>-01<n><of>-0200<n><ot>-0100<n><s>19700328T230000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SA<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Santo_Domingo<n><bs><n><tz>AST<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Santarem<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Cordoba<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Resolute<n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Recife<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Rankin_Inlet<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Punta_Arenas<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Porto_Velho<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Port-au-Prince<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Paramaribo<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Iqaluit<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Ojinaga<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Nuuk<n><bd><n><tz>-01<n><of>-0200<n><ot>-0100<n><s>19700328T230000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SA<n><ed><n><bs><n><tz>-02<n><of>-0100<n><ot>-0200<n><s>19701025T000000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Nome<n><bd><n><tz>AKDT<n><of>-0900<n><ot>-0800<n><s>
219700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AKST<n><of>-0800<n><ot>-0900<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Montevideo<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Monterrey<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Moncton<n><bd><n><tz>ADT<n><of>-0400<n><ot>-0300<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AST<n><of>-0300<n><ot>-0400<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Miquelon<n><bd><n><tz>-02<n><of>-0300<n><ot>-0200<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>-03<n><of>-0200<n><ot>-0300<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Metlakatla<n><bd><n><tz>AKDT<n><of>-0900<n><ot>-0800<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AKST<n><of>-0800<n><ot>-0900<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Merida<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Menominee<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Mendoza<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Matamoros<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Martinique<n><bs><n><tz>AST<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Managua<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Maceio<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Kentucky/Louisville<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Lima<n><bs><n><tz>-05<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/La_Paz<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Juneau<n><bd><n><tz>AKDT<n><of>-0900<n><ot>-0800<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AKST<n><of>-0800<n><ot>-0900<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Jujuy<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Inuvik<n><bd><n><tz>MDT<n><of>-0700<n><ot>-0600<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>MST<n><of>-0600<n><ot>-0700<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Hermosillo<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Guyana<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Guayaquil<n><bs><n><tz>-05<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Guatemala<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Grand_Turk<n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Goose_Bay<n><bs><n><tz>AST<n><of>-0300<n><ot>-0400<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n><bd><n><tz>ADT<n><of>-0400<n><ot>-0300<n><s>
219700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Glace_Bay<n><bd><n><tz>ADT<n><of>-0400<n><ot>-0300<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>AST<n><of>-0300<n><ot>-0400<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Fortaleza<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Fort_Nelson<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/El_Salvador<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Eirunepe<n><bs><n><tz>-05<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Dawson_Creek<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Dawson<n><bs><n><tz>MST<n><of>-0700<n><ot>-0700<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Danmarkshavn<n><bs><n><tz>GMT<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Cuiaba<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Coyhaique<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Costa_Rica<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Ciudad_Juarez<n><bd><n><tz>MDT<n><of>-0700<n><ot>-0600<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>MST<n><of>-0600<n><ot>-0700<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Chihuahua<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Cayenne<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Catamarca<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Caracas<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Cancun<n><bs><n><tz>EST<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Campo_Grande<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Cambridge_Bay<n><bd><n><tz>MDT<n><of>-0700<n><ot>-0600<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>MST<n><of>-0600<n><ot>-0700<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Buenos_Aires<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Boise<n><bd><n><tz>MDT<n><of>-0700<n><ot>-0600<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>MST<n><of>-0600<n><ot>-0700<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Bogota<n><bs><n><tz>-05<n><of>-0500<n><ot>-0500<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Boa_Vista<n><bs><n><tz>-04<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Belize<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Belem<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Barbados<n><bs><n><tz>AST<n><of>-0400<n><ot>-0400<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Bahia_Banderas<n><bs><n><tz>CST<n><of>-0600<n><ot>-0600<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Bahia<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>
219700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Asuncion<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Araguaina<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/North_Dakota/New_Salem<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/North_Dakota/Center<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/North_Dakota/Beulah<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Kentucky/Monticello<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Winamac<n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Vincennes<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Vevay<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Tell_City<n><bd><n><tz>CDT<n><of>-0600<n><ot>-0500<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>CST<n><of>-0500<n><ot>-0600<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Petersburg<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Indiana/Marengo<n><bd><n><tz>EDT<n><of>-0500<n><ot>-0400<n><s>19700308T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=2SU<n><ed><n><bs><n><tz>EST<n><of>-0400<n><ot>-0500<n><s>19701101T020000<n><r>FREQ=YEARLY;BYMONTH=11;BYDAY=1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Ushuaia<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Tucuman<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/San_Luis<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/San_Juan<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Salta<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/Rio_Gallegos<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:America/Argentina/La_Rioja<n><bs><n><tz>-03<n><of>-0300<n><ot>-0300<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Windhoek<n><bs><n><tz>CAT<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Tunis<n><bs><n><tz>CET<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Sao_Tome<n><bs><n><tz>GMT<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Lagos<n><bs><n><tz>WAT<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Ndjamena<n><bs><n><tz>WAT<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Monrovia<n><bs><n><tz>GMT<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Johannesburg<n><bs><n><tz>SAST<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Maputo<n><bs><n><tz>CAT<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Khartoum<n><bs><n><tz>CAT<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Juba<n><bs><n><tz>CAT<n><of>+0200<n><ot>+0200<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/El_Aaiun<n><bs><n><tz>+01<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Ceuta<n><bd><n><tz>CEST<n><of>+0100<n><ot>+0200<n><s>19700329T020000<n><r>FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU<n><ed><n><bs><n><tz>CET<n><of>+0200<n><ot>+0100<n><s>19701025T030000<n><r>FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Casablanca<n><bs><n><tz>+01<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Bissau<n><bs><n><tz>GMT<n><of>+0000<n><ot>+0000<n><s>19700101T000000<n><es><n>","20250523T094234Z<n>X-LIC-LOCATION:Africa/Algiers<n><bs><n><tz>CET<n><of>+0100<n><ot>+0100<n><s>19700101T000000<n><es><n>"];function gN(e){const t=e.split("/");return(3!==t.length||mN[`${t[0]}`]&&mN[`${t[0]}`][`${t[1]}`]&&mN[`${t[0]}`][`${t[1]}`][`${t[2]}`])&&(2!==t.length||mN[`${t[0]}`]&&mN[`${t[0]}`][`${t[1]}`])&&(1!==t.length||mN[`${t[0]}`])?3===t.length?[mN[`${t[0]}`][`${t[1]}`][`${t[2]}`][0],yN(pN[mN[`${t[0]}`][`${t[1]}`][`${t[2]}`][1]])]:2===t.length?[mN[`${t[0]}`][`${t[1]}`][0],yN(pN[mN[`${t[0]}`][`${t[1]}`][1]])]:[mN[`${t[0]}`][0],yN(pN[mN[`${t[0]}`][1]])]:(console.error("Given timezone not valid."),"")}function yN(e){const t={"<br>":"<n>","TZNAME:":"<tz>","TZOFFSETFROM:":"<of>","TZOFFSETTO:":"<ot>","DTSTART:":"<s>","RRULE:":"<r>","BEGIN:DAYLIGHT":"<bd>","END:DAYLIGHT":"<ed>","BEGIN:STANDARD":"<bs>","END:STANDARD":"<es>"};for(const[n,i]of Object.entries(t))e=e.replaceAll(i,n);return e}function _N(e,t=!1){const n=gN(e);if(null==n[1]||""==n[1])return"";const i=""==n[0]?e:n[0],r="TZID="+i,s=["BEGIN:VTIMEZONE\r\nTZID:"+i+"\r\nX-LIC-LOCATION:"+i+"\r\nLAST-MODIFIED:"+n[1].replace(/[^\w_\-:,;=+/<br>]/g,"").replace(/<br>/g,"\r\n")+"END:VTIMEZONE",r];return t?JSON.stringify(s):s}function bN(e,t,n){const i=gN(e);if(null==i[1]||""==i[1])return"";if(!t.match(/^\d{4}-\d{2}-\d{2}$/))return console.error("offset calculation failed: date misspelled [-> YYYY-MM-DD]"),"";if(!n.match(/^\d{2}:\d{2}$/))return console.error("offset calculation failed: time misspelled [-> hh:mm]"),"";if(!i[1].match(/BEGIN:DAYLIGHT/i))return i[1].match(/TZOFFSETTO:([+|-]\d{4})/i)[1];const r=new Date(t+"T"+n+":00"),s=r.getFullYear(),o=r.getMonth()+1,a=r.getDate(),l=r.getHours(),c=i[1].replace(/[^\w_\-:,;=+/<br>]/g,"").split("<br>"),d={1:{},2:{}};let u=0;for(let e=0;e<c.length;e++)if(c[`${e}`].startsWith("TZOFFSETTO")&&(u++,d[`${u}`].offset=c[`${e}`].split(":")[1]),c[`${e}`].startsWith("DTSTART")&&(d[`${u}`].hour=parseInt(c[`${e}`].substr(17,2))),c[`${e}`].startsWith("RRULE")){let t=c[`${e}`].split(";"),n=parseInt(t[1].split("=")[1]);d[`${u}`].month=parseInt(n),d[`${u}`].day=t[2].split("=")[1]}if(d[1].month>d[2].month&&([d[1],d[2]]=[d[2],d[1]]),o!=d[1].month&&o!=d[2].month)return o<d[1].month||o>d[2].month?d[2].offset:d[1].offset;const h=Object.keys(d).find(e=>d[`${e}`].month==o),f=["SU","MO","TU","WE","TH","FR","SA"],m=new Date(s,o,0).getDate();let p=new Date(s,o-1,1).getDay();const g={SU:{},MO:{},TU:{},WE:{},TH:{},FR:{},SA:{}};for(let e=1;e<=m;e++){const t=Object.keys(g[f[`${p}`]]).length+1;g[f[`${p}`]][`${t}`]=e,p++,7==p&&(p=0)}const y=function(){if("-"==d[`${h}`].day[0]){const e=d[`${h}`].day.substr(2,2),t=Object.keys(g[`${e}`]).length+1-parseInt(d[`${h}`].day[1]);return g[`${e}`][`${t}`]}{const e=d[`${h}`].day.substr(1,2);return g[`${e}`][d[`${h}`].day[0]]}}();if(a>y||a==y&&l>=d[`${h}`].hour)return d[`${h}`].offset;return d[`${1==h?2:1}`].offset}let vN=[];function wN(e=!1){return 0==vN.length&&(vN=function(){let e=[];for(const[t,n]of Object.entries(mN))if("object"!=typeof n||Array.isArray(n))e.push(t);else for(const[i,r]of Object.entries(n))if("object"!=typeof r||Array.isArray(r))e.push(t+"/"+i);else for(const[n]of Object.entries(r))e.push(t+"/"+i+"/"+n);return e}()),e?JSON.stringify(vN):vN}const kN="2.13.3",TN={},MN=()=>"undefined"!=typeof window,LN=MN()?()=>!(!/iPad|iPhone|iPod/i.test(navigator.userAgent)||/MSStream/i.test(navigator.userAgent)):()=>!1,SN=MN()?()=>!(!/android/i.test(navigator.userAgent)||/MSStream/i.test(navigator.userAgent)):()=>!1,xN=MN()?()=>!!/^(?:(?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent):()=>!1,ON=()=>!(!SN()&&!LN()),DN=MN()?()=>!!/;
2 ?wv|(?:iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent):()=>!1,YN=MN()?()=>!!/Instagram/i.test(navigator.userAgent):()=>!1,AN=DN()?"_system":"_blank",CN=["apple","google","ical","ms365","outlookcom","msteams","yahoo"],EN=["apple","google","ical"],IN=["msteams"],PN=["ical"],NN=["apple"],RN=[],zN=["debug","proOverride","cspnonce","identifier","name","dates","description","startDate","startTime","endDate","endTime","timeZone","useUserTZ","location","status","uid","organizer","attendee","icsFile","images","recurrence","recurrence_until","recurrence_byDay","recurrence_byMonth","recurrence_byMonthDay","recurrence_weekstart","sequence","recurrence_interval","recurrence_count","availability","created","updated","subscribe","options","optionsMobile","optionsIOS","iCalFileName","listStyle","buttonStyle","trigger","hideIconButton","hideIconList","hideIconModal","hideTextLabelButton","hideTextLabelList","buttonsList","hideBackground","hideCheckmark","hideBranding","size","label","inline","inlineRsvp","customLabels","customCss","lightMode","language","hideRichData","bypassWebViewCheck","blockInteraction","styleLight","styleDark","disabled","hidden","hideButton","pastDateHandling","proxy","fakeMobile","fakeIOS","fakeAndroid","forceOverlay","rsvp","ty","customVar","domain","dev"],HN=["debug","proOverride","cspnonce","attendee","images","size","inline","inlineRsvp","customLabels","customCss","lightMode","language","bypassWebViewCheck","blockInteraction","styleLight","styleDark","disabled","hidden","fakeMobile","fakeIOS","fakeAndroid","forceOverlay","customVar","proxy","domain","dev"],jN=["debug","proOverride","useUserTZ","hideIconButton","hideIconList","hideIconModal","hideTextLabelButton","hideTextLabelList","subscribe","hideBackground","hideCheckmark","hideBranding","inlineRsvp","hideRichData","buttonsList","inline","bypassWebViewCheck","blockInteraction","disabled","hidden","hideButton","proxy","fakeMobile","fakeIOS","fakeAndroid","forceOverlay","dev"],FN=["customLabels","ty","rsvp","customVar"],BN=["dates"],$N=["recurrence_byDay","recurrence_byMonth","recurrence_byMonthDay","images","options","optionsMobile","optionsIOS"],WN=["sequence","recurrence_interval","recurrence_count"],UN={trigger:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200.016"><path d="M132.829 7.699c0-4.248 4.199-7.699 9.391-7.699s9.391 3.451 9.391 7.699v33.724c0 4.248-4.199 7.699-9.391 7.699s-9.391-3.451-9.391-7.699zm-5.941 123.747c2.979 0 5.404 2.425 5.404 5.404s-2.425 5.404-5.404 5.404l-21.077-.065-.065 21.045c0 2.979-2.425 5.404-5.404 5.404s-5.404-2.425-5.404-5.404l.065-21.061-21.045-.081c-2.979 0-5.404-2.425-5.404-5.404s2.425-5.404 5.404-5.404l21.061.065.065-21.045c0-2.979 2.425-5.404 5.404-5.404s5.404 2.425 5.404 5.404l-.065 21.077 21.061.065zM48.193 7.699C48.193 3.451 52.393 0 57.585 0s9.391 3.451 9.391 7.699v33.724c0 4.248-4.199 7.699-9.391 7.699s-9.391-3.451-9.391-7.699zM10.417 73.763h179.167V34.945c0-1.302-.537-2.49-1.4-3.369-.863-.863-2.051-1.4-3.369-1.4h-17.171c-2.881 0-5.208-2.327-5.208-5.208s2.327-5.208 5.208-5.208h17.171c4.183 0 7.975 1.709 10.726 4.46S200 30.762 200 34.945v44.043 105.843c0 4.183-1.709 7.975-4.46 10.726s-6.543 4.46-10.726 4.46H15.186c-4.183 0-7.975-1.709-10.726-4.46C1.709 192.79 0 188.997 0 184.814V78.988 34.945c0-4.183 1.709-7.975 4.46-10.726s6.543-4.46 10.726-4.46h18.343c2.881 0 5.208 2.327 5.208 5.208s-2.327 5.208-5.208 5.208H15.186c-1.302 0-2.49.537-3.369 1.4-.863.863-1.4 2.051-1.4 3.369zm179.167 10.433H10.417v100.618c0 1.302.537 2.49 1.4 3.369.863.863 2.051 1.4 3.369 1.4h169.629c1.302 0 2.49-.537 3.369-1.4.863-.863 1.4-2.051 1.4-3.369zM82.08 30.176c-2.881 0-5.208-2.327-5.208-5.208s2.327-5.208 5.208-5.208h34.977c2.881 0 5.208 2.327 5.208 5.208s-2.327 5.208-5.208 5.208z"/></svg>',apple:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 245.657"><path d="M167.084 130.514c-.308-31.099 25.364-46.022 26.511-46.761-14.429-21.107-36.91-24.008-44.921-24.335-19.13-1.931-37.323 11.27-47.042 11.27-9.692 0-24.67-10.98-40.532-10.689-20.849.308-40.07 12.126-50.818 30.799-21.661 37.581-5.54 93.281 15.572 123.754 10.313 14.923 22.612 31.688 38.764 31.089 15.549-.612 21.433-10.073 40.242-10.073s24.086 10.073 40.546 9.751c16.737-.308 27.34-15.214 37.585-30.187 11.855-17.318 16.714-34.064 17.009-34.925-.372-.168-32.635-12.525-32.962-49.68l.045-.013zm-30.917-91.287C144.735 28.832 150.524 14.402 148.942 0c-12.344.503-27.313 8.228-36.176 18.609-7.956 9.216-14.906 23.904-13.047 38.011 13.786 1.075 27.862-7.004 36.434-17.376z"/></svg>',google:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M152.637 47.363H47.363v105.273h105.273z" fill="#fff"/><path d="M152.637 200L200 152.637h-47.363z" fill="#f72a25"/><path d="M200 47.363h-47.363v105.273H200z" fill="#fbbc04"/><path d="M152.637 152.637H47.363V200h105.273z" fill="#34a853"/><path d="M0 152.637v31.576A15.788 15.788 0 0 0 15.788 200h31.576v-47.363z" fill="#188038"/><path d="M200 47.363V15.788A15.79 15.79 0 0 0 184.212 0h-31.575v47.363z" fill="#1967d2"/><path d="M15.788 0A15.79 15.79 0 0 0 0 15.788v136.849h47.363V47.363h105.274V0z" fill="#4285f4"/><path d="M68.962 129.02c-3.939-2.653-6.657-6.543-8.138-11.67l9.131-3.76c.83 3.158 2.279 5.599 4.346 7.341 2.051 1.742 4.557 2.588 7.471 2.588 2.995 0 5.55-.911 7.699-2.718 2.148-1.823 3.223-4.134 3.223-6.934 0-2.865-1.139-5.208-3.402-7.031s-5.111-2.718-8.496-2.718h-5.273v-9.033h4.736c2.913 0 5.387-.781 7.389-2.376 2.002-1.579 2.995-3.743 2.995-6.494 0-2.441-.895-4.395-2.686-5.859s-4.053-2.197-6.803-2.197c-2.686 0-4.818.716-6.396 2.148s-2.767 3.255-3.451 5.273l-9.033-3.76c1.204-3.402 3.402-6.396 6.624-8.984s7.34-3.89 12.337-3.89c3.695 0 7.031.716 9.977 2.148s5.257 3.418 6.934 5.941c1.676 2.539 2.507 5.387 2.507 8.545 0 3.223-.781 5.941-2.327 8.187-1.546 2.23-3.467 3.955-5.729 5.143v.537a17.39 17.39 0 0 1 7.34 5.729c1.904 2.572 2.865 5.632 2.865 9.212s-.911 6.771-2.718 9.57c-1.823 2.799-4.329 5.013-7.52 6.624s-6.787 2.425-10.775 2.425c-4.622 0-8.887-1.318-12.826-3.988zm56.087-45.312l-10.026 7.243-5.013-7.601 17.985-12.972h6.901v61.198h-9.847z" fill="#1a73e8"/></svg>',ical:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200.016"><path d="M132.829 7.699c0-4.248 4.199-7.699 9.391-7.699s9.391 3.451 9.391 7.699v33.724c0 4.248-4.199 7.699-9.391 7.699s-9.391-3.451-9.391-7.699zm-25.228 161.263c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm-81.803-59.766c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.902 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.902 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.918 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zM25.798 139.079c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.902 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.902 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.918 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zM25.798 168.962c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zm40.902 0c-.553 0-.993-2.327-.993-5.208s.439-5.208.993-5.208h25.7c.553 0 .993 2.327.993 5.208s-.439 5.208-.993 5.208zM48.193 7.699C48.193 3.451 52.393 0 57.585 0s9.391 3.451 9.391 7.699v33.724c0 4.248-4.199 7.699-9.391 7.699s-9.391-3.451-9.391-7.699zM10.417 73.763h179.15V34.945c0-1.302-.537-2.49-1.4-3.369-.863-.863-2.051-1.4-3.369-1.4h-17.155c-2.881 0-5.208-2.327-5.208-5.208s2.327-5.208 5.208-5.208h17.171c4.183 0 7.975 1.709 10.726 4.46S200 30.762 200 34.945v44.043 105.843c0 4.183-1.709 7.975-4.46 10.726s-6.543 4.46-10.726 4.46H15.186c-4.183 0-7.975-1.709-10.726-4.46C1.709 192.79 0 188.997 0 184.814V78.971 34.945c0-4.183 1.709-7.975 4.46-10.726s6.543-4.46 10.726-4.46h18.343c2.881 0 5.208 2.327 5.208 5.208s-2.327 5.208-5.208 5.208H15.186c-1.302 0-2.49.537-3.369 1.4-.863.863-1.4 2.051-1.4 3.3
269zm179.167 10.433H10.417v100.618c0 1.302.537 2.49 1.4 3.369.863.863 2.051 1.4 3.369 1.4h169.629c1.302 0 2.49-.537 3.369-1.4.863-.863 1.4-2.051 1.4-3.369zM82.08 30.176c-2.881 0-5.208-2.327-5.208-5.208s2.327-5.208 5.208-5.208h34.977c2.881 0 5.208 2.327 5.208 5.208s-2.327 5.208-5.208 5.208z"/></svg>',msteams:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 186.047"><path d="M195.349 39.535a20.93 20.93 0 1 1-41.86 0 20.93 20.93 0 1 1 41.86 0zm-55.847 30.233h51.66A8.84 8.84 0 0 1 200 78.605v47.056c0 17.938-14.541 32.479-32.479 32.479h0-.154c-17.938.003-32.481-14.537-32.484-32.474v-.005-51.274a4.62 4.62 0 0 1 4.619-4.619z" fill="#5059c9"/><path d="M149.614 69.767H64.34c-4.823.119-8.637 4.122-8.526 8.944v53.67c-.673 28.941 22.223 52.957 51.163 53.665 28.94-.708 51.836-24.725 51.163-53.665v-53.67c.112-4.823-3.703-8.825-8.526-8.944zm-10.079-39.535a30.233 30.233 0 0 1-60.465 0 30.233 30.233 0 0 1 60.465 0z" fill="#7b83eb"/><path opacity=".1" d="M111.628 69.767v75.209c-.023 3.449-2.113 6.547-5.302 7.86-1.015.43-2.107.651-3.209.651H59.907l-1.628-4.651c-1.628-5.337-2.459-10.885-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z"/><path opacity=".2" d="M106.977 69.767v79.86a8.241 8.241 0 0 1-.651 3.209c-1.313 3.189-4.412 5.279-7.86 5.302H62.093l-2.186-4.651a46.13 46.13 0 0 1-1.628-4.651 56.647 56.647 0 0 1-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z"/><path opacity=".2" d="M102.326 69.767v70.558a8.58 8.58 0 0 1-8.512 8.512H58.279a56.647 56.647 0 0 1-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z"/><path opacity=".1" d="M111.628 45.721v14.651l-2.326.093c-.791 0-1.535-.046-2.326-.093-1.57-.104-3.127-.353-4.651-.744a30.233 30.233 0 0 1-20.93-17.767 25.845 25.845 0 0 1-1.488-4.651h23.209c4.693.018 8.494 3.818 8.512 8.512z"/><use xlink:href="#B" opacity=".2" transform="scale(.08973306)"/><path d="M106.977 50.372v10c-1.57-.104-3.127-.353-4.651-.744a30.233 30.233 0 0 1-20.93-17.767h17.07c4.693.018 8.494 3.818 8.512 8.512zm0 19.395v70.558a8.58 8.58 0 0 1-8.512 8.512H58.279a56.647 56.647 0 0 1-2.465-16.465V78.698c-.112-4.815 3.697-8.811 8.512-8.93z" opacity=".2"/><path opacity=".2" d="M102.326 50.372v9.256a30.233 30.233 0 0 1-20.93-17.767h12.419c4.693.018 8.494 3.818 8.512 8.512z"/><linearGradient id="A" gradientUnits="userSpaceOnUse" x1="17.776" y1="35.199" x2="84.55" y2="150.848"><stop offset="0" stop-color="#5a62c3"/><stop offset=".5" stop-color="#4d55bd"/><stop offset="1" stop-color="#3940ab"/></linearGradient><path fill="url(#A)" d="M8.526 41.86H93.8a8.53 8.53 0 0 1 8.526 8.526v85.274a8.53 8.53 0 0 1-8.526 8.526H8.526A8.53 8.53 0 0 1 0 135.66V
250.386a8.53 8.53 0 0 1 8.526-8.526z"/><path fill="#fff" d="M73.6 74.316H56.553v46.419h-10.86V74.316H28.726v-9.005H73.6z"/><defs><path id="B" d="M1192.167 561.355v111.442c-17.496-1.161-34.848-3.937-51.833-8.293a336.92 336.92 0 0 1-233.25-198.003h190.228c52.304.198 94.656 42.55 94.855 94.854z"/></defs></svg>',ms365:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 239.766"><path d="M200 219.785l-.021-.012V20.591L128.615 0 .322 48.172 0 48.234.016 192.257l43.78-17.134V57.943l84.819-20.279-.012 172.285L.088 192.257l128.515 47.456v.053l71.376-19.753v-.227z"/></svg>',outlookcom:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 175"><path d="M178.725 0H71.275A8.775 8.775 0 0 0 62.5 8.775v9.975l60.563 18.75L187.5 18.75V8.775A8.775 8.775 0 0 0 178.725 0z" fill="#0364b8"/><path d="M197.813 96.281c.915-2.878 2.187-5.855 2.187-8.781-.002-1.485-.795-2.857-1.491-3.26l-68.434-38.99a9.37 9.37 0 0 0-9.244-.519c-.312.154-.614.325-.906.512l-67.737 38.6-.025.013-.075.044a4.16 4.16 0 0 0-2.088 3.6c.541 2.971 1.272 5.904 2.188 8.781l71.825 52.532z" fill="#0a2767"/><path d="M150 18.75h-43.75L93.619 37.5l12.631 18.75L150 93.75h37.5v-37.5z" fill="#28a8ea"/><path d="M150 18.75h37.5v37.5H150z" fill="#50d9ff"/><path d="M150 93.75l-43.75-37.5H62.5v37.5l43.75 37.5 67.7 11.05z" fill="#0364b8"/><path d="M106.25 56.25v37.5H150v-37.5zM150 93.75v37.5h37.5v-37.5zm-87.5-75h43.75v37.5H62.5z" fill="#0078d4"/><path d="M62.5 93.75h43.75v37.5H62.5z" fill="#064a8c"/><path d="M126.188 145.113l-73.706-53.75 3.094-5.438 68.181 38.825a3.3 3.3 0 0 0 2.625-.075l68.331-38.937 3.1 5.431z" fill="#0a2767" opacity=".5"/><path d="M197.919 91.106l-.088.05-.019.013-67.738 38.588c-2.736 1.764-6.192 1.979-9.125.569l23.588 31.631 51.588 11.257v-.001c2.434-1.761 3.876-4.583 3.875-7.587V87.5c.001 1.488-.793 2.862-2.081 3.606z" fill="#1490df"/><path d="M200 165.625v-4.613l-62.394-35.55-7.531 4.294a9.356 9.356 0 0 1-9.125.569l23.588 31.631 51.588 11.231v.025a9.362 9.362 0 0 0 3.875-7.588z" opacity=".05"/><path d="M199.688 168.019l-68.394-38.956-1.219.688c-2.734 1.766-6.19 1.984-9.125.575l23.588 31.631 51.587 11.256v.001a9.38 9.38 0 0 0 3.562-5.187z" opacity=".1"/><path d="M51.455 90.721c-.733-.467-1.468-1.795-1.455-3.221v78.125c-.007 5.181 4.194 9.382 9.375 9.375h131.25c1.395-.015 2.614-.366 3.813-.813.638-.258 1.252-.652 1.687-.974z" fill="#28a8ea"/><path d="M112.5 141.669V39.581a8.356 8.356 0 0 0-8.331-8.331H62.687v46.6l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031V150h54.169a8.356 8.356 0 0 0 8.331-8.331z" opacity=".1"/><path d="M106.25 147.919V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 68.75h47.919a8.356 8.356 0 0 0 8.331-8.331z" opacity=".2"/><path d="M106.25 135.419V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 56.25h47.919a8.356 8.356 0 0 0 8.331-8.331z" opacity=".2"/><path d="M100 135.419V45.831a8.356 8.356 0 0 0-8.331-8.331H62.687v40.35l-10.5 5.987-.031.012-.075.044A4.162 4.162 0 0 0 50 87.5v.031-.031 56.25h41.669a8.356 8.356 0 0 0 8.331-8.331z" opacity=".2"/><path d="M8.331 37.5h83.337A8.331 8.331 0 0 1 100 45.831v83.338a8.331 8.331 0 0 1-8.331 8.331H8.331A8.331 8.331 0 0 1 0 129.169V45.831A8.331 8.331 0 0 1 8.331 37.5z" fill="#0078d4"/><path d="M24.169 71.675a26.131 26.131 0 0 1 10.263-11.337 31.031 31.031 0 0 1 16.313-4.087 28.856 28.856 0 0 1 15.081 3.875 25.875 25.875 0 0 1 9.988 10.831 34.981 34.981 0 0 1 3.5 15.938 36.881 36.881 0 0 1-3.606 16.662 26.494 26.494 0 0 1-10.281 11.213 30 30 0 0 1-15.656 3.981 29.556 29.556 0 0 1-15.425-3.919 26.275 26.275 0 0 1-10.112-10.85 34.119 34.119 0 0 1-3.544-15.744 37.844 37.844 0 0 1 3.481-16.563zm10.938 26.613a16.975 16.975 0 0 0 5.769 7.463 15.069 15.069 0 0 0 9.019 2.719 15.831 15.831 0 0 0 9.631-2.806 16.269 16.269 0 0 0 5.606-7.481 28.913 28.913 0 0 0 1.787-10.406 31.644 31.644 0 0 0-1.687-10.538 16.681 16.681 0 0 0-5.413-7.75 14.919 14.919 0 0 0-9.544-2.956 15.581 15.581 0 0 0-9.231 2.744 17.131 17.131 0 0 0-5.9 7.519 29.85 29.85 0 0 0-.044 21.5z" fill="#fff"/></svg>',yahoo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 177.803"><path d="M0 43.284h38.144l22.211 56.822 22.5-56.822h37.135L64.071 177.803H26.694l15.308-35.645L.001 43.284zm163.235 45.403H121.64L158.558 0 200 .002zm-30.699 8.488c12.762 0 23.108 10.346 23.108 23.106s-10.345 23.106-23.108 23.106a23.11 23.11 0 0 1-23.104-23.106 23.11 23.11 0 0 1 23.104-23.106z"/></svg>',close:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M2.321 13.529a7.927 7.927 0 0 1 0-11.208 7.927 7.927 0 0 1 11.208 0l86.471 86.471L186.47 2.321a7.927 7.927 0 0 1 11.209 0 7.927 7.927 0 0 1 0 11.208l-86.474 86.469 86.472 86.473a7.927 7.927 0 0 1-11.209 11.208l-86.471-86.471-86.469 86.471a7.927 7.927 0 0 1-11.208-11.208l86.471-86.473z"/></svg>',location:'<svg viewBox="0 0 200 266.42" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m148.54 230.43c-12.12 13.291-26.234 25.193-42.083 34.82-1.9513 1.431-4.5964 1.6044-6.7645 0.21681-23.416-14.895-43.08-32.782-58.539-52.23-21.334-26.755-34.755-56.414-39.351-84.99-4.6831-28.966-0.30354-56.848 14.114-79.505 5.6805-8.9543 12.944-17.106 21.79-24.153 20.337-16.196 43.557-24.76 66.713-24.586 22.288 0.17345 44.295 8.4773 63.309 25.844 6.6778 6.0707 12.293 13.03 16.89 20.575 15.502 25.54 18.841 58.105 12.033 91.104-6.7212 32.608-23.416 65.737-48.11 92.839zm-48.544-178.91c27.492 0 49.758 22.288 49.758 49.758 0 27.492-22.288 49.758-49.758 49.758-27.492 0-49.758-22.267-49.758-49.758-0.02168-27.492 22.267-49.758 49.758-49.758z" stroke-width="2.1681"/></svg>',warning:'<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="m100 0c27.613 0 52.613 11.195 70.711 29.293 18.094 18.094 29.289 43.098 29.289 70.707 0 27.613-11.195 52.613-29.289 70.711-18.098 18.094-43.098 29.289-70.711 29.289-27.609 0-52.613-11.195-70.707-29.289-18.098-18.098-29.293-43.098-29.293-70.711 0-27.609 11.195-52.613 29.293-70.707 18.094-18.098 43.098-29.293 70.707-29.293zm57.66 42.34c-14.758-14.754-35.145-23.883-57.66-23.883-22.516 0-42.902 9.1289-57.66 23.883-14.754 14.758-23.883 35.145-23.883 57.66 0 22.516 9.1289 42.902 23.883 57.66 14.758 14.754 35.145 23.883 57.66 23.883 22.516 0 42.902-9.1289 57.66-23.883 14.754-14.758 23.883-35.145 23.883-57.66 0-22.516-9.1289-42.902-23.883-57.66z" fill="#f44336" fill-rule="nonzero" stroke-width=".39062"/><g transform="matrix(3.8384 0 0 3.8384 2277.8 -576.85)" style="shape-inside:url(#rect7396);white-space:pre" aria-label="!"><path d="m-563.8 161.59-0.65341 20.185h-5.8381l-0.65341-20.185zm-3.5796 29.503q-1.5199 0-2.6136-1.0795-1.0796-1.0796-1.0796-2.6136 0-1.5057 1.0796-2.571 1.0938-1.0796 2.6136-1.0796 1.4631 0 2.571 1.0796 1.1222 1.0653 1.1222 2.571 0 1.0227-0.52557 1.8608-0.51137 0.83807-1.3494 1.3352-0.82387 0.49715-1.8182 0.49715z"/></g></svg>',checkmark:'<svg version="1.1" viewBox="0 0 87.41 79.72" xmlns="http://www.w3.org/2000/svg"><path d="m2.076 33.666s6.0748-0.59297 17.413 4.2983c9.3883 4.5751 11.891 8.3955 11.891 8.3955 5.38-8.65 11.11-16.6 17.16-23.9 10.412-12.578 24.613-22.448 24.613-22.448l14.257-0.012228s-19.308 19.294-32.483 38.51-22.877 41.21-22.877 41.21-9.3948-18.164-14.53-24.53-10.77-11.59-17.52-16.22z" fill="#45b555"/></svg>',rsvp:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewB
2ox="0 0 104.31 122.88"><g><path d="M25.85,63.15c-0.04-0.12-0.08-0.28-0.1-0.42c-0.22-1.89-0.43-3.98-0.62-5.78c-0.26-2.64-0.55-5.69-0.76-7.83 c-0.14-1.45-0.6-2.83-1.27-3.86c-0.45-0.66-0.95-1.15-1.51-1.39c-0.45-0.18-1-0.2-1.57,0.02c-0.78,0.3-1.65,0.93-2.62,2.03 c-0.86,0.98-1.53,2.29-2.09,3.68c-0.79,2.03-1.26,4.19-1.45,5.67c-0.02,0.1-0.02,0.18-0.06,0.26L8.42,86.07 c-0.08,0.4-0.24,0.76-0.48,1.04c-1.81,2.33-2.95,4.33-3.28,5.95c-0.24,1.19,0,2.15,0.79,2.9l19.8,19.8 c1.26,1.21,2.72,1.97,4.47,2.29c1.91,0.36,4.14,0.16,6.7-0.54c0.04,0,0.1-0.02,0.14-0.02c0.97-0.26,2.24-0.57,3.46-0.88 c5.31-1.29,9.94-2.43,14.23-6.33l5.52-5.76c0.05-0.1,0.14-0.18,0.22-0.26s0.62-0.62,1.35-1.31c3.78-3.69,8.45-8.25,5.61-12.24 l-2.21-2.21c-1.07,1.04-2.21,2.05-3.3,3.02c-1,0.88-1.93,1.69-2.78,2.55c-0.91,0.91-2.38,0.91-3.3,0c-0.91-0.92-0.91-2.38,0-3.3 c0.86-0.86,1.91-1.79,3-2.76c3.74-3.3,8.03-7.07,5.73-10.38l-2.19-2.19c-0.12-0.12-0.22-0.26-0.31-0.4c-1.26,1.29-2.64,2.52-4,3.72 c-1,0.88-1.93,1.69-2.78,2.55c-0.91,0.91-2.38,0.91-3.3,0s-0.91-2.38,0-3.3c0.86-0.86,1.91-1.79,3-2.76 c3.74-3.3,8.03-7.07,5.73-10.38l-2.19-2.19c-0.16-0.16-0.28-0.31-0.38-0.5l-6.42,6.42c-0.91,0.91-2.38,0.91-3.3,0s-0.91-2.38,0-3.3 l17.22-17.25c2.88-2.88,3.54-5.88,2.78-8.15c-0.28-0.83-0.74-1.57-1.31-2.14s-1.31-1.03-2.14-1.31c-2.24-0.74-5.23-0.06-8.19,2.9 l-30.2,30.2c-0.91,0.91-2.38,0.91-3.3,0s-0.91-2.38,0-3.3l3.07-3.07L25.85,63.15L25.85,63.15L25.85,63.15z M83.23,24.31 c-1.22,1.3-3.24,1.34-4.52,0.14c-1.3-1.22-1.34-3.24-0.14-4.52l8.82-9.39c1.22-1.3,3.25-1.34,4.52-0.14 c1.3,1.22,1.34,3.24,0.14,4.52L83.23,24.31L83.23,24.31L83.23,24.31L83.23,24.31z M43.96,23.65c1.3,1.22,1.34,3.25,0.14,4.52 c-1.22,1.3-3.25,1.34-4.52,0.14l-9.4-8.82c-1.29-1.23-1.33-3.25-0.14-4.52c1.22-1.3,3.25-1.34,4.52-0.14L43.96,23.65L43.96,23.65 L43.96,23.65z M63.69,15.96c0.05,1.76-1.34,3.24-3.09,3.3s-3.24-1.34-3.3-3.09L56.91,3.3c-0.06-1.75,1.34-3.24,3.09-3.3 c1.76-0.05,3.24,1.34,3.29,3.09L63.69,15.96L63.69,15.96L63.69,15.96z M76.88,63.31c-1.3-1.22-1.34-3.25-0.14-4.52 c1.22-1.3,3.24-1.34,4.52-0.14l9.39,8.82c1.3,1.22,1.34,3.24,0.14,4.52c-1.22,1.3-3.24,1.34-4.52,0.14L76.88,63.31L76.88,63.31 L76.88,63.31z M88.36,44.35c-1.75,0.06-3.24-1.34-3.3-3.09c-0.05-1.75,1.34-3.24,3.09-3.3l12.86-0.43c1.75-0.06,3.24,1.34,3.3,3.09 s-1.34,3.24-3.09,3.3L88.36,44.35L88.36,44.35L88.36,44.35z M60.88,58.97c0.17,0.1,0.34,0.22,0.5,0.38l2.29,2.29 c0.12,0.12,0.24,0.28,0.34,0.42c2.57,3.52,2.17,6.66,0.42,9.52c0.31,0.12,0.62,0.29,0.86,0.54l2.29,2.29 c0.12,0.12,0.24,0.28,0.34,0.42c2.76,3.8,2.07,7.12,0,10.14c0.1,0.05,0.17,0.14,0.28,0.24l2.29,2.29c0.12,0.12,0.24,0.28,0.34,0.42 c5.31,7.26-1.02,13.42-6.1,18.39l-1.31,1.31l-5.67,5.95l-0.18,0.17c-5.19,4.71-10.33,5.97-16.28,7.42c-1,0.24-2,0.5-3.4,0.86 c-0.04,0-0.06,0.02-0.1,0.02c-3.22,0.88-6.14,1.09-8.76,0.62c-2.66-0.48-4.97-1.67-6.9-3.56L2.31,99.29 c-2-1.93-2.69-4.31-2.12-7.14c0.43-2.26,1.75-4.77,3.81-7.47L9.3,54.74v-0.12c0.24-1.71,0.78-4.24,1.71-6.68 c0.71-1.83,1.67-3.62,2.92-5.07c1.51-1.71,3-2.76,4.47-3.32c1.81-0.69,3.54-0.6,5.07,0.06c1.43,0.6,2.64,1.69,3.56,3.08 c1.12,1.67,1.85,3.8,2.05,6.02c0.16,1.83,0.48,4.85,0.78,7.81l0.24,2.47L53,36.07c4.4-4.4,9.16-5.27,12.97-4.02 c1.53,0.5,2.88,1.33,4,2.45s1.95,2.47,2.45,4c1.26,3.8,0.4,8.63-3.92,12.95l-7.59,7.59L60.88,58.97L60.88,58.97L60.88,58.97z"/></g></svg>'};async function VN(e){return e=function(e){for(let t=0;t<jN.length;t++){const n=jN[`${t}`];if(e[`${n}`]){if("boolean"!=typeof e[`${n}`]){const t=e[`${n}`].toString().trim().toLowerCase()||"";e[`${n}`]=""===t||"true"===t}}else e[`${n}`]=!1}return e}(e),e=function(e){if(e.dates)for(let t=0;t<e.dates.length;t++)ZN(e.dates[`${t}`]);else ZN(e);e.language&&""!==e.language&&vz.includes(e.language)||(e.language="en");return e}(e),e=function(e){e.recurrence&&""!==e.recurrence&&(e=function(e){const t=e.dates?.[0].startDate||e.startDate,n=e.dates?.[0].startTime||e.startTime,i=e.dates?.[0].endDate||e.endDate||t,r=e.dates?.[0].endTime||e.endTime||"",s=e.dates?.[0].timeZone||e.timeZone||"UTC",o=function(){if(r&&""!==r&&n&&""!==n){const e=n&&""!==n?new Date(`${t}T${n}:00${a(bN(s,t,n))}`):new Date(`${t}T00:00:00${a(bN(s,t,"00:00"))}`);return(r&&""!==r?new Date(`${i}T${r}:00${a(bN(s,i,r))}`):new Date(`${i}T00:00:00${a(bN(s,i,"00:00"))}`)).getTime()-e.getTime()}return 0}();function a(e){if(!e||"Z"===e||"+0000"===e||"-0000"===e||"+00:00"===e||"-00:00"===e)return"Z";const t=String(e).replace(/^GMT/i,"");if(/^[+-]\d{2}:\d{2}$/.test(t))return t;if(/^[+-]\d{4}$/.test(t))return`${t.slice(0,3)}:${t.slice(3)}`;const n=t.startsWith("-")?"-":"+",i=t.replace(/\D/g,"").padStart(4,"0").slice(0,4);return`${n}${i.slice(0,2)}:${i.slice(2)}`}const l=n&&""!==n?bN(s,t,n):"",c=function(){if(n&&""!==n){const e=a(l);return new Date(`${t}T${n}:00${e}`)}const e=a(bN(s,t,"00:00"));return new Date(`${t}T00:00:00${e}`)}(),d=!(n&&""!==n),u=function(e,t,n,i){const r=cz(e);if(i&&r.UNTIL instanceof Date){const e=new Date(r.UNTIL);e.setUTCHours(23,59,59,999),r.UNTIL=e}const s=new Date,o=new Date(s.getTime()-n),a=r.BYHOUR?36e5:864e5;let l=t;const c=[];let d=0,u=1e4;for(;!(r.UNTIL&&l>r.UNTIL);){if(uz(l,r,t)&&hz(l,r,t)){if(c.push(l),d++,r.COUNT&&d>=r.COUNT)break;if(!r.COUNT&&!r.UNTIL&&(i?l>=o:l>o))break}if(--u<=0)break;l=new Date(l.getTime()+a)}let h=null,f=0;for(const e of c){if(i?e>=o:e>o){h=e;break}f++}h||(c.length>1?(h=c[c.length-1],f-=1):1===c.length?h=c[0]:(h=t,f=1));return{nextOccurrence:h,adjustedCount:r.COUNT?r.COUNT-f:d-f}}(e.recurrence,c,o,d);if(!u||!u.nextOccurrence)return e;function h(e,t,n){if(!(e instanceof Date&&isFinite(e.getTime())))return{date:"",time:""};try{const i=n?{timeZone:t,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}:{timeZone:t,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit"},r=new Intl.DateTimeFormat("en-CA",i).formatToParts(e),s=e=>r.find(t=>t.type===e)?.value||"";return{date:`${s("year")}-${s("month")}-${s("day")}`,time:n?`${s("hour")}:${s("minute")}`:""}}catch{return{date:"",time:""}}}const f=/;BYHOUR=/i.test(e.recurrence),m=h(u.nextOccurrence,s,!1).date;let p="";n&&""!==n&&(p=f?h(u.nextOccurrence,s,!0).time:n);if(!m)return e;e.startDate=m,p&&(e.startTime=p);const g=p?new Date(`${e.startDate}T${p}:00${a(bN(s,e.startDate,p))}`):new Date(`${e.startDate}T00:00:00${a(bN(s,e.startDate,"00:00"))}`),y=new Date(g.getTime()+o),_=h(y,s,!(!r||""===r));_.date&&(e.endDate=_.date,r&&""!==r&&(e.endTime=_.time));(e.recurrence_count&&""!==e.recurrence_count||e.recurrence_until&&""!==e.recurrence_until)&&(u.adjustedCount<2?(e.recurrence="",e.recurrence_frequency="",e.re
2currence_interval=""):(e.recurrence_count=u.adjustedCount,e.recurrence=e.recurrence.replace(/;?COUNT=\d+/i,";COUNT="+e.recurrence_count),e.recurrence_until&&""!==e.recurrence_until&&(e.recurrence_until="",e.recurrence=e.recurrence.replace(/;?UNTIL=\w+/i,";COUNT="+e.recurrence_count),e.dates&&e.dates[0].recurrence&&(e.dates[0].recurrence=e.dates[0].recurrence.replace(/;?UNTIL=\w+/i,";COUNT="+e.recurrence_count)))));return e}(e=function(e){if(e.recurrence=e.recurrence.replace(/\s+/g,"").toUpperCase(),/^RRULE:/i.test(e.recurrence)){e.recurrence_simplyfied=!1;const t=cz(e.recurrence,!1);e.recurrence_until=t.UNTIL,e.recurrence_count=t.COUNT,e.recurrence_byDay=t.BYDAY,e.recurrence_byMonth=t.BYMONTH,e.recurrence_byMonthDay=t.BYMONTHDAY,e.recurrence_interval=t.INTERVAL,e.recurrence_frequency=t.FREQ}else e.recurrence_simplyfied=!0,e.recurrence_interval&&""!==e.recurrence_interval||(e.recurrence_interval=1),(!e.recurrence_weekstart||""===e.recurrence_weekstart|e.recurrence_weekstart.length>2)&&(e.recurrence_weekstart="MO"),e.recurrence_frequency=e.recurrence,e.recurrence="RRULE:FREQ="+e.recurrence+";WKST="+e.recurrence_weekstart+";INTERVAL="+e.recurrence_interval,e.recurrence_until&&""!==e.recurrence_until&&(e.recurrence_until=e.recurrence_until.replace(/[-:]/g,""),e.recurrence_until.length<9&&(e.recurrence_until+="T235959Z"),e.recurrence=e.recurrence+";UNTIL="+e.recurrence_until),e.recurrence_count&&""!==e.recurrence_count&&(e.recurrence=e.recurrence+";COUNT="+e.recurrence_count),e.recurrence_byDay&&""!==e.recurrence_byDay&&(e.recurrence=e.recurrence+";BYDAY="+e.recurrence_byDay),e.recurrence_byMonth&&""!==e.recurrence_byMonth&&(e.recurrence=e.recurrence+";BYMONTH="+e.recurrence_byMonth),e.recurrence_byMonthDay&&""!==e.recurrence_byMonthDay&&(e.recurrence=e.recurrence+";BYMONTHDAY="+e.recurrence_byMonthDay);return e}(e)));return e}(e),e=function(e){const{options:t,source:n}=function(e){let t="general",n=e.options||["ical"];LN()||e.fakeIOS?(e.optionsIOS&&e.optionsIOS.length>0&&(t="ios",n=e.optionsIOS),e.optionsMobile&&e.optionsMobile.length>0&&(t="mobile",n=e.optionsMobile)):(SN()||e.fakeMobile||e.fakeAndroid)&&e.optionsMobile&&e.optionsMobile.length>0&&(t="mobile",n=e.optionsMobile);return{options:n,source:t}}(e);let{newOptions:i,iCalGiven:r,appleGiven:s}=function(e,t){let n=[],i=!1,r=!1;for(let s=0;s<e.length;s++){const o=qN(e[`${s}`]);"apple"===o&&(r=!0),"ical"===o&&(i=!0),QN(o,t)||n.push(o)}return{newOptions:n,iCalGiven:i,appleGiven:r}}(t,e);i=function(e,t){if(e.subscribe&&e.icsFile&&e.icsFile.startsWith("https://calendar.google.com/calendar/")&&!e.icsFile.endsWith(".ics"))return["google"];return t}(e,i),({newOptions:i,iCalGiven:r}=function(e,t){0===e.length&&(e.push("ical"),t=!0);return{newOptions:e,iCalGiven:t}}(i,r));const o="general"!==n&&(t.includes("ical")||t.includes("apple"));return i=function(e,t,n,i,r=!1){r||((LN()||t.fakeIOS)&&n&&!i?(e.push("apple"),e=e.filter(e=>"ical"!==e)):(SN()||t.fakeMobile||t.fakeAndroid)&&i&&!n&&(e.push("ical"),e=e.filter(e=>"apple"!==e)));return e}(i,e,r,s,o),i.sort(),e.options=i,e}(e),(e=function(e){e.inlineRSVP&&(e.inline=!0);e.listStyle&&""!==e.listStyle||(e.listStyle="dropdown");"modal"===e.listStyle&&(e.trigger="click");e.buttonStyle&&""!==e.buttonStyle&&"default"!=e.buttonStyle?"simple"!=e.buttonStyle&&"round"!=e.buttonStyle&&"text"!=e.buttonStyle&&"date"!=e.buttonStyle&&"neumorphism"!=e.buttonStyle||(e.trigger="click"):e.buttonStyle="default";"default"!=e.buttonStyle&&"3d"!=e.buttonStyle&&"flat"!=e.buttonStyle||e.hideTextLabelList||!e.hideTextLabelButton||"dropdown"!=e.listStyle&&"dropdown-static"!=e.listStyle&&"dropup-static"!=e.listStyle||(e.listStyle="overlay");e.buttonsList&&"date"==e.buttonStyle&&(e.buttonsList=!1);return e}(e)).sizes=function(e){const t=[];if(t.l=t.m=t.s=16,e&&""!==e){const n=e.split("|");for(let e=0;e<n.length;e++)n[`${e}`]=parseInt(n[`${e}`]);n[0]>=0&&n[0]<11&&(t.l=t.m=t.s=10+n[0]),n.length>2?(n[1]>=0&&n[1]<11&&(t.m=10+n[1]),n[2]>=0&&n[2]<11&&(t.s=10+n[2])):2==n.length&&n[1]>=0&&n[1]<11&&(t.m=t.s=10+n[1])}return t}(e.size),e.lightMode=function(e=""){if("system"==e&&MN()){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2k":"light"}if("bodyScheme"!=e&&"dark"!=e)return"light";return e}(e.lightMode),e=XN(e=function(e){e.language.length>2&&(e.language=e.language.substring(0,2));yz.includes(e.language)?e.rtl=!0:e.rtl=!1;return e}(e)),e=await async function(e){if(!e.rsvp||!e.proKey||0===Object.keys(e.rsvp).length)return e;if(e.rsvp.expired=function(){return!!(e.rsvp&&e.rsvp.expires&&new Date(e.rsvp.expires)<new Date)}(),e.rsvp.max){const t=await kR(e.proKey,e.dev);e.rsvp.seatsLeft=e.rsvp.max-t,e.rsvp.seatsLeft<1&&(e.rsvp.bookedOut=!0),(e.rsvp.expired||e.rsvp.bookedOut)&&(e.blockInteraction=!0),e.blockInteraction&&(e.disabled=!0)}return e}(e)}function ZN(e){e.timeZone&&""!==e.timeZone||(e.timeZone="GMT"),e.status&&""!==e.status||(e.status="CONFIRMED"),e.sequence&&""!==e.sequence?(e.sequence=parseInt(e.sequence),(isNaN(e.sequence)||e.sequence<0)&&(e.sequence=0)):e.sequence=0}function qN(e){return e.split("|")[0].toLowerCase().replace("microsoft","ms").replace(/\./,"")}function QN(e,t){return function(e,t){const n=(LN()||t.fakeIOS)&&PN.includes(e)&&(!t.optionsIOS||0===t.optionsIOS.length)&&(!t.optionsMobile||0===t.optionsMobile.length),i=(SN()||t.fakeMobile||t.fakeAndroid)&&NN.includes(e)&&(!t.optionsMobile||0===t.optionsMobile.length);return n||i}(e,t)||function(e,t){if(!t.recurrence||""===t.recurrence)return!1;const n=!EN.includes(e),i=(LN()||t.fakeIOS)&&"google"===e;return n||i}(e,t)||function(e,t){return t.subscribe&&IN.includes(e)}(e,t)||function(e,t){return(ON()||t.fakeMobile)&&t.subscribe&&("ms365"===e||"outlookcom"===e)}(e,t)}function XN(e){e.dates&&Array.isArray(e.dates)||(e.dates=[{name:e.name}]),e.recurrence&&""!==e.recurrence&&(e.dates[0].recurrence=e.recurrence);for(let t=0;t<e.dates.length;t++)e=nR(e=iR(e=tR(e=eR(e=JN(e=KN(e=GN(e,t),t),t),t),t),t),t);e=function(e){(!e.pastDateHandling||"disable"!==e.pastDateHandling&&"hide"!==e.pastDateHandling)&&(e.pastDateHandling="none");if(e.allOverdue=function(){for(let t=0;t<e.dates.length;t++)if(!e.dates[`${t}`].overdue)return!1;return!0}(),e.allOverdue)"disable"===e.pastDateHandling?e.disabled=!0:"hide"===e.pastDateHandling&&(e.hidden=!0);else if("hide"===e.pastDateHandling&&e.dates.length>1){const t=[];for(let n=0;n<e.dates.length;n++)e.dates[`${n}`].overdue||t.push(e.dates[`${n}`]);e.dates=t}e.allCancelled=function(){for(let t=0;t<e.dates.length;t++)if(!e.dates[`${t}`].status||"cancelled"!==e.dates[`${t}`].status.toLowerCase())return!1;return!0}(),(e.disabled||e.hidden)&&(e.blockInteraction=!0);return e}(e);const t=new Date;return e.created&&""!==e.created||(e.created=VR(t,"clean",!0)),e.updated&&""!==e.updated||(e.updated=VR(t,"clean",!0)),e.dates.length>1&&e.dates.sort((e,t)=>e.timestamp-t.timestamp),e}function GN(e,t){const n=e.dates[`${t}`],i=["description","startDate","startTime","endDate","endTime","timeZone","useUserTZ","location","status","sequence","availability","organizer","attendee"];return 1===e.dates.length&&i.unshift("name"),i.forEach(t=>{(e[`${t}`]&&""!==e[`${t}`]||"sequence"===t&&0===e[`${t}`])&&(n[`${t}`]=e[`${t}`])}),e}function KN(e,t){const n=e.dates[`${t}`],i=function(e){function t(e){return/^\d\d\d\d-\d\d-\d\d(?:T\d\d:\d\d)?(?::\d\d)?(?:.\d\d\d)?Z?(?:\+(?:\d|\d\d|\d\d\d|\d\d\d\d))?$/i.test(e)}function n(e){return/^today(?:\+(?:\d|\d\d|\d\d\d|\d\d\d\d))?$/i.test(e)}e.endDate&&""!==e.endDate||(e.endDate=e.startDate);if(["start","end"].forEach(function(i){const r=e[i+"Date"];if(t(r)||n(r)){if((/\+/.test(r)||n(r))&&(e[i+"Date"]=function(e){const t=new Date,n=t.getUTCFullYear()+"-"+(t.getUTCMonth()+1)+"-"+t.getUTCDate(),i=(e=e.replace(/today/gi,n)).split("+"),r=i[0].split("-"),s=new Date(Date.UTC(r[0],r[1]-1,r[2].substring(0,2)));i[1]&&i[1]>0&&s.setDate(s.getDate()+parseInt(i[1]));try{return s.toISOString().replace(/T(\d{2}:\d{2}:\d{2}\.\d{3})Z/g,"")}catch{return!1}}(r)),e[i+"Date"]){const t=e[i+"Date"].split("T");t[1]&&(e[i+"Date"]=t[0],e[i+"Time"]=t[1])}e[i+"Time"]&&e[i+"Time"].length>5&&(e[i+"Time"]=e[i+"Time"].substring(0,5))}else e[i+"Date"]="badly-formed"}),"currentBrowser"===e.timeZone||e.useUserTZ){let t=Intl.DateTimeFormat().resolvedOptions().timeZone||"GMT";if(wN().includes(t)||(t=function(e){if(!e)return"GMT";
2return{PST:"PST8PDT",PDT:"PST8PDT",MST:"MST7MDT",MDT:"MST7MDT",CST:"CST6CDT",CDT:"CST6CDT",EST:"EST5EDT",EDT:"EST5EDT",HDT:"US/Hawaii",HST:"US/Hawaii",AKST:"US/Alaska",AKDT:"US/Alaska",IST:"Asia/Jerusalem",IDT:"Asia/Jerusalem",AEST:"Australia/Brisbane",AEDT:"Australia/ACT",ACST:"Australia/North",ACDT:"Australia/South",NZST:"NZ",NZDT:"NZ",BST:"Europe/London",AST:"America/Puerto_Rico",ADT:"Canada/Atlantic",WEST:"Europe/Lisbon"}[`${e.toUpperCase()}`]||"GMT"}(t)),e.useUserTZ&&e.startTime&&""!==e.startTime&&e.endTime&&""!==e.endTime){const n=ZR(e.startDate,e.startTime,e.timeZone,t),i=ZR(e.endDate,e.endTime,e.timeZone,t);e.startDate=n[0],e.startTime=n[1],e.endDate=i[0],e.endTime=i[1]}e.timeZone=t}return e}(n);return n.startDate=i.startDate,n.endDate=i.endDate,n.startTime=i.startTime,n.endTime=i.endTime,n.timeZone=i.timeZone,n.timestamp=sR("timestamp",n.startDate,n.startTime,n.timeZone),n.overdue=sR("overdue",n.endDate,n.endTime,n.timeZone),e}function JN(e,t){const n=e.dates[`${t}`];return n.uid||(0===t&&e.uid&&""!==e.uid?n.uid=e.uid:e.uid&&""!==e.uid?n.uid=`${e.uid}-${t+1}`:n.uid=az()),e}function eR(e,t){const n=e.dates[`${t}`];return n.status=lz(n.status,"upper"),n.availability=lz(n.availability,"lower"),e}function tR(e,t){let n=e.dates[`${t}`].description;if(n){n=n.replace(/(\\r\\n|\\n|\\r|<br(\s*\/?)>)/g,"");const i=KR(n,!0),r=KR(n,!0,!0);n=KR(n),e.dates[`${t}`]={...e.dates[`${t}`],description:n,descriptionHtmlFree:i,descriptionHtmlFreeICal:r}}else e.dates[`${t}`].descriptionHtmlFree=e.dates[`${t}`].descriptionHtmlFreeICal=e.dates[`${t}`].description="";return e}function nR(e,t){const n=e.dates[`${t}`];return n.location&&n.location.startsWith("http")?n.onlineEvent=!0:n.onlineEvent=!1,e}function iR(e,t){if(!e.customVar)return e;const n=e.dates[`${t}`];for(const t in e.customVar){const i=e.customVar[`${t}`];n.name=rR(n.name,t,i),n.location=rR(n.location,t,i)}return e}function rR(e,t,n){const i="%%"+t.replace(/[^\w\-.]/g,"")+"%%";return e?e.replace(new RegExp(i,"gi"),n):e}function sR(e,t,n=null,i){try{const r=function(){if(n){const e=bN(i,t,n);return new Date(t+" "+n+":00 GMT"+e)}return new Date(t)}();if("timestamp"===e)return r.getTime();n||r.setDate(r.getDate()+1);const s=(new Date).toISOString();return r.getTime()<new Date(s).getTime()}catch{return!1}}async function oR(e){if(!(e.name&&""!==e.name||e.dates&&0!==e.dates.length))throw new Error("Add to Calendar Button generation failed: required name information missing");if(e.dates&&e.dates.length>0){if(!0===e.subscribe&&e.dates.length>1)throw new Error("Add to Calendar Button generation failed: a subscription calendar cannot be a multi-date setup");const t=["name"];return["name","startDate"].every(function(n){for(let i=0;i<e.dates.length;i++)if(!t.includes(`${n}`)&&(!e.dates[`${i}`][`${n}`]||""===e.dates[`${i}`][`${n}`])||t.includes(`${n}`)&&(!e.dates[`${i}`][`${n}`]||""===e.dates[`${i}`][`${n}`])&&(!e[`${n}`]||""===e[`${n}`])){if(!e.subscribe||"startDate"!==n)throw new Error("Add to Calendar Button generation failed: required setting missing [dates array object #"+(i+1)+"/"+e.dates.length+"] => ["+n+"]");e.dates[`${i}`].startDate="today"}return!0})}return["startDate"].every(function(t){if(!e[`${t}`]||""===e[`${t}`]){if(!e.subscribe||"startDate"!==t)throw new Error("Add to Calendar Button generation failed: required setting missing ["+t+"]");e.startDate="today"}return!0})}async function aR(e){const t="Add to Calendar Button generation ("+e.identifier+")";try{return await lR(e,t),await async function(e,t){if(!["default","simple","3d","flat","round","neumorphism","text","date","custom","none"].includes(e.buttonStyle))throw new Error(t+" failed: provided buttonStyle invalid");if(e.customCss&&""!==e.customCss&&(!XR(e.customCss,!1)||!/\.css(?:$|\?)/.test(e.customCss)))throw new Error(t+" failed: customCss provided, but no valid url");if((!e.customCss||""===e.customCss)&&"custom"===e.buttonStyle)throw new Error(t+' failed: buttonStyle "custom" selected, but no customCss file provided');if(e.rsvp&&("date"===e.buttonStyle||"none"===e.buttonStyle))throw new Error(t+" failed: buttonStyle "+e.buttonStyle+" is not compatible with the RSVP functionality");return!0}(e,t),await async function(e,t){if(!0===e.subscribe&&(!e.icsFile||""===e.icsFile))throw new Error(t+" failed: a subscription calendar requires a valid explicit ics file as well");return!0}(e,t),await async function(e,t){if(!/^\d{8}T\d{6}Z$/.test(e.created))throw new Error(t+" failed: created date format not valid. Needs to be a full ISO-8601 UTC date and time string, formatted YYYYMMDDTHHMMSSZ");return!0}(e,t),await async function(e,t){if(!/^\d{8}T\d{6}Z$/.test(e.updated))throw new Error(t+" failed: updated date format not valid. Needs to be a full ISO-8601 UTC date and time string, formatted YYYYMMDDTHHMMSSZ");return!0}(e,t),await async function(e,t){const n=e.options.every(e=>{if(!CN.includes(e))throw new Error(`${t}
2 failed: invalid option [${e}]`);return!0});return n}(e,t),await async function(e,t){try{for(let n=0;n<e.dates.length;n++){const i=function(){return 1===e.dates.length?"":" [dates array object #"+(n+1)+"/"+e.dates.length+"] "}();await lR(e,t,n,i),await cR(e,t,n,i),await dR(e,t,n,i),await uR(e,t,n,i),await hR(e,t,n,i),await fR(e,t,n,i),await mR(e,t,n,i),await pR(e,t,n,i),await gR(e,t,n,i)}return!0}catch(e){throw new Error(e.message)}}(e,t),await async function(e,t){if(e.recurrence&&""!==e.recurrence&&e.dates.length>1)throw new Error(t+" failed: RRULE and multi-date set at the same time");if(e.recurrence&&""!==e.recurrence&&!/^RRULE:[\w=;,:+\-/\\]+$/i.test(e.recurrence))throw new Error(t+" failed: RRULE data misspelled");return!0}(e,t),e.recurrence_simplyfied&&await async function(e,t){if(e.recurrence_interval&&(e.recurrence_interval<1||e.recurrence_interval%1!=0))throw new Error(t+" failed: recurrence data (interval) misspelled");if(e.recurrence_until&&""!==e.recurrence_until&&!/^\d{8}T\d{6}Z$/.test(e.recurrence_until))throw new Error(t+" failed: recurrence data (until) misspelled - must be in format YYYYMMDDTHHMMSSZ");if(e.recurrence_count&&(e.recurrence_count<1||e.recurrence_count%1!=0))throw new Error(t+" failed: recurrence data (count) misspelled");if(e.recurrence_byMonth&&""!==e.recurrence_byMonth&&!/^[\d,]+$/.test(e.recurrence_byMonth))throw new Error(t+" failed: recurrence data (byMonth) misspelled");if(e.recurrence_byMonthDay&&""!==e.recurrence_byMonthDay&&!/^[\d,]+$/.test(e.recurrence_byMonthDay))throw new Error(t+" failed: recurrence data (byMonthDay) misspelled");if(e.recurrence_byDay&&""!==e.recurrence_byDay&&!/^(?:[\d,-]|MO|TU|WE|TH|FR|SA|SU)+$/im.test(e.recurrence_byDay))throw new Error(t+" failed: recurrence data (byDay) misspelled");if(e.recurrence_weekstart&&""!==e.recurrence_weekstart&&!/^(?:MO|TU|WE|TH|FR|SA|SU)$/im.test(e.recurrence_weekstart))throw new Error(t+" failed: recurrence data (weekstart) misspelled");return!0}(e,t),!0}catch(e){throw new Error(e.message)}}async function lR(e,t,n="",i=""){const r=""!==n&&e.dates[`${n}`].icsFile?e.dates[`${n}`].icsFile:""===n&&e.icsFile?e.icsFile:"";if(""!==r&&(!XR(r,!1)||!e.icsFile.startsWith("https://")&&!e.icsFile.startsWith("http://")))throw new Error(t+" failed: explicit ics file path not valid"+i);return!0}async function cR(e,t,n,i){if(!["tentative","confirmed","cancelled"].includes(e.dates[`${n}`].status.toLowerCase()))throw new Error(t+" failed: event status needs to be TENTATIVE, CONFIRMED, or CANCELLED"+i);return!0}async function dR(e,t,n,i){if(e.dates[`${n}`].availability&&""!==e.dates[`${n}`].availability&&"free"!==e.dates[`${n}`].availability&&"busy"!==e.dates[`${n}`].availability)throw new Error(t+' failed: event availability needs to be "free" or "busy"'+i);return!0}async function uR(e,t,n,i){if(e.dates[`${n}`].organizer&&""!==e.dates[`${n}`].organizer){const r=e.dates[`${n}`].organizer.split("|");if(2!==r.length||r[0].length>50||r[1].length>100||!GR(r[1]))throw new Error(t+' failed: organizer needs to match the schema "NAME|EMAIL" with a valid email address, where the name is <50 and email <100 characters'+i)}return!0}async function hR(e,t,n,i){if(e.dates[`${n}`].attendee&&""!==e.dates[`${n}`].attendee){if(!e.dates[`${n}`].organizer||""===e.dates[`${n}`].organizer)throw new Error(t+" failed: if an attendee is set, you also need to set the organizer"+i);const r=e.dates[`${n}`].attendee.split("|");if(1===r.length&&GR(r[0]))return!0;if(2!==r.length||r[0].length>50||r[1].length>100||!GR(r[1]))throw new Error(t+' failed: attendee needs to be a valid email address or match the schema "NAME|EMAIL" with EMAIL being a valid email address'+i)}return!0}async function fR(e,t,n,i){return/^(?:\w|-){1,254}$/.test(e.dates[`${n}`].uid)||(e.debug&&console.warn(t+": UID not valid. May only contain alpha, digits, and dashes; and be less than 255 characters. Falling back to an automated value!"+i),e.dates[`${n}`].uid=az()),!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e.dates[`${n}`].uid)&&e.debug&&console.warn(t+": UID is highly recommended to be a hex-encoded random Universally Unique Identifier (UUID)!"+i),!0}async function mR(e,t,n,i){return e.dates[`${n}`].sequence&&(e.dates[`${n}`].sequence<0||e.dates[`${n}`].sequence%1!=0)&&(e.debug&&console.log(t+": sequence needs to be a full number >= 0. Used the default 0 instead"+i),e.dates[`${n}`].sequence=0),!0}async function pR(e,t,n,i){if(!wN().includes(e.dates[`${n}
2`].timeZone))throw new Error(t+" failed: invalid time zone given"+i);return!0}async function gR(e,t,n,i){const r=e.dates[`${n}`],s={};["startDate","endDate"].forEach(e=>{const n=r[`${e}`];if(10!==n.length)throw new Error(`${t} failed: date misspelled [-> YYYY-MM-DD]${i}`);const o=n.split("-");if(3!==o.length)throw new Error(`${t} failed: date misspelled [${e}: ${n}]${i}`);s[`${e}`]=new Date(o[0],o[1]-1,o[2])});if(["startTime","endTime"].forEach(e=>{const n=r[`${e}`];if(n){if(5!==n.length)throw new Error(`${t} failed: time misspelled [-> HH:MM]${i}`);const r=n.split(":");if(2!==r.length||r[0]>23||r[1]>59)throw new Error(`${t} failed: time misspelled [${e}: ${n}]${i}`);const o="startTime"===e?"startDate":"endDate";s[`${o}`]=new Date(s[`${o}`].getTime()+36e5*parseInt(r[0],10)+6e4*parseInt(r[1],10))}}),r.startTime&&!r.endTime||!r.startTime&&r.endTime)throw new Error(`${t} failed: if you set a starting or end time, the respective other one also needs to be defined${i}`);if(s.endDate<s.startDate)throw new Error(`${t} failed: end date before start date${i}`);return!0}function yR(e,t,n="",i=null,r=!1,s=!1){"open"==t?_R(e,n,i,r,s):"close"==t||i.classList.contains("atcb-active")||e.querySelector(".atcb-active-modal")?bR(e,r):_R(e,n,i,r,s)}async function _R(e,t,n=null,i=!1,r=!1){if(e.querySelector(".atcb-list")||e.querySelector(".atcb-modal"))return;gz("openList",t.identifier,t.identifier),RN.active=t.identifier;const s=function(e,t){const n=document.createElement("div");n.classList.add("atcb-list"),n.setAttribute("part","atcb-list"),n.role="list",t.rtl&&n.classList.add("atcb-rtl");let i=0;if(t.options.forEach(function(r){const s=document.createElement("div");s.classList.add("atcb-list-item"),s.setAttribute("part","atcb-list-item"),s.role="link",s.tabIndex=0,i++,s.dataset.optionNumber=i,n.append(s),xR(e,t,s,r,!t.hideIconList)}),"modal"===t.listStyle){const r=document.createElement("div");r.classList.add("atcb-list-item","atcb-list-item-close"),r.setAttribute("part","atcb-list-item-close"),r.role="button",r.tabIndex=0,i++,r.dataset.optionNumber=i,n.append(r),xR(e,t,r,"close",!t.hideIconList)}return n}(e,t),o=document.createElement("div");o.classList.add("atcb-list-wrapper"),o.setAttribute("part","atcb-list-wrapper"),t.hideTextLabelList&&o.classList.add("atcb-no-text"),n?(n.classList.add("atcb-active"),n.setAttribute("aria-expanded",!0),"modal"===t.listStyle?(n.classList.add("atcb-modal-style"),s.classList.add("atcb-modal")):(o.append(s),o.classList.add("atcb-dropdown"),"overlay"===t.listStyle&&o.classList.add("atcb-dropoverlay")),r&&s.classList.add("atcb-generated-button")):s.classList.add("atcb-modal");const a=DR(e,t.trigger,"modal"===t.listStyle,!t.hideBackground);if("modal"===t.listStyle){const n=await IR(e,t);n.querySelector(".atcb-modal-host-initialized").append(a),a.append(s),t.hideBranding||YR(n,!1),oz(s,t.sizes),rz(n),sz(a)}else t.forceOverlay&&(e=await async function(e,t){const n=await IR(e,t);sz(n.querySelector(".atcb-modal-host-initialized"));const i=Array.from(e.children);return i.forEach(e=>{"STYLE"!=e.tagName&&n.querySelector(".atcb-modal-host-initialized").append(e.cloneNode(!0))}),n.querySelector("button.atcb-button").removeAttribute("id"),e.host.classList.add("atcb-shadow-hide"),e.querySelector(".atcb-initialized").style.opacity="0",nz(e,n),window.addEventListener("scroll",iz),window.addEventListener("resize",iz),n.querySelector(".atcb-modal-host-initialized")}(e,t),n=e.querySelector("button.atcb-button")),e.querySelector(".atcb-initialized").append(o),o.append(s),"default"!=t.buttonStyle&&o.classList.add("atcb-style-"+t.buttonStyle),t.hideBranding||YR(e),e.append(a),oz(s,t.sizes),o.style.display="none",setTimeout(function(){o.style.display="block","dropdown-static"===t.listStyle?tz(e,n,o,!0):"dropup-static"===t.listStyle?tz(e,n,o,!1,!0):tz(e,n,o)},5),sz(a);const l=function(){const n=e.querySelector(".atcb-list-item");if(n)return n;const i=document.getElementById(t.identifier+"-modal-host");return i?i.shadowRoot.querySelector(".atcb-list-item"):void 0}();l&&(i?l.focus():(l.focus({preventScroll:!0}),l.blur()))}function bR(e,t=!1){const n=document.getElementById(e.host.getAttribute("atcb-button-id")+"-modal-host"),i=n&&
20!==n.length?n.shadowRoot.querySelectorAll(".atcb-modal[data-modal-nr]"):[];if(i.length>1){n.shadowRoot.querySelectorAll('.atcb-modal[data-modal-nr="'+i.length+'"]')[0].remove();const e=n.shadowRoot.querySelectorAll('.atcb-modal[data-modal-nr="'+(i.length-1)+'"]')[0];e.classList.remove("atcb-hidden");let r=e;const s=e.getElementsByTagName("button");s.length>0&&(r=s[0]),r.focus(),t||r.blur()}else{const i=function(){const t=e.querySelector(".atcb-active, .atcb-active-modal");return t||document.querySelector(".atcb-active, .atcb-active-modal")}();i&&(i.focus({preventScroll:!0}),t||i.blur()),Array.from(e.querySelectorAll(".atcb-active")).forEach(e=>{e.classList.remove("atcb-active"),e.setAttribute("aria-expanded",!1)}),Array.from(e.querySelectorAll(".atcb-active-modal")).forEach(e=>{e.classList.remove("atcb-active-modal")}),Array.from(document.querySelectorAll(".atcb-active")).forEach(e=>{e.classList.remove("atcb-active"),e.setAttribute("aria-expanded",!1)}),Array.from(document.querySelectorAll(".atcb-active-modal")).forEach(e=>{e.classList.remove("atcb-active-modal")}),n&&n.remove(),document.body.classList.remove("atcb-modal-no-scroll"),document.documentElement.classList.remove("atcb-modal-no-scroll"),Array.from(e.querySelectorAll(".atcb-list-wrapper")).concat(Array.from(e.querySelectorAll(".atcb-list"))).concat(Array.from(e.querySelectorAll("#atcb-reference"))).concat(Array.from(e.querySelectorAll("#atcb-bgoverlay"))).forEach(e=>e.remove());const r=document.querySelector(".atcb-shadow-hide");r&&(r.shadowRoot.querySelector(".atcb-initialized").style.opacity="1",r.classList.remove("atcb-shadow-hide"),window.removeEventListener("scroll",iz),window.removeEventListener("resize",iz)),RN.active=""}}async function vR(e,t){let n=e,i=t;e.host||(n=n.shadowRoot,i=await VN(i));const r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5A3.375 3.375 0 006.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0015 2.25h-1.5a2.251 2.251 0 00-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 00-9-9z" /></svg>';if(!(i.proKey&&""!==i.proKey||window.location.hostname.match(/^(localhost|.*\.add-to-calendar-pro.com)$/)))return;const s=await IR(n,i);sz(s.querySelector(".atcb-modal-host-initialized"));const o=i.ty;"link"!==o.type&&"form"!==o.type||o.url&&""!==o.url&&o.url.startsWith("http")||(o.type="text"),o.headline&&""!==o.headline||(o.headline=wz("thankyou",i)+"!");let a='<div class="pro"><p id="ty-success-msg">'+wz("form.success",i)+'</p><div id="ty-content">';o.text&&""!==o.text&&(a+=KR(o.text)),"share"===o.type&&(a+=`<p class="pro-pt pro-share-buttons">\n <a href="mailto:?subject=${encodeURIComponent(wz("label.share.email.subject",i))}&body=%0A➞%20${encodeURIComponent(o.url)}%0A%0A" target="_blank" rel="noopener" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border btn-flex">\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" /></svg>\n ${wz("label.share.email",i)}\n </a>\n <button id="atcb-ty-share-copy" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border btn-flex">\n ${r}\n ${wz("label.share.copy",i)}\n </button>\n </p>`);let l={};if("form"===o.type){const e=!o.text||""===o.text||void 0===o.text,t=o.button_label&&""!==o.button_label?o.button_label:wz("submit",i);if(a+='<form id="'+i.identifier+'-ty-form" class="pro-form'+(e?" no-intro":"")+'">',o.fields&&o.fields.length>0){const e=o.fields.find(e=>"header"===e.name&&"hidden"===e.type);if(e&&e.default&&""!==e.default&&e.default.startsWith("{"))try{l=JSON.parse(e.default),0===Object.keys(l).length&&(l.atcb=!0),o.fields=o.fields.filter(e=>"header"!==e.name)}catch{}const t=TR(o.fields,i.identifier+"-ty");o.fields=t.fields,a+=t.html}a+='<p id="submit-error"></p>',a+='<p class="pro-pt"><button type="submit" id="pro-form-submit" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border">'+t+'</button><span id="pro-form-submitting" class="pro-waiting"><span>.</span><span>.</span><span>.</span></span></p>',a+="</form>"}if("link"===o.type){const e=o.button_label&&""!==o.button_label?o.button_label:wz("continue",i);a+='<p class="pro-pt"><a href="'+o.url+'" target="_blank" rel="noopener" class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border">'+e+"</a></p>"}if(a+="</div></div>",await AR(s,i,"checkmark",o.headline,a),"share"===o.type){const e=s.getElementById("atcb-ty-share-copy");e.addEventListener("click",async function(){try{await fz(o.url),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5"><path stroke-linecap="round" stroke-linejoin="round" d="M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0118 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3l1.5 1.5 3-3.75" /></svg>'+wz("label.share.copied",i)+"!",setTimeout(function(){e.innerHTML=r+wz("label.share.copy",i)},3e3)}catch(e){console.error("Error copying to clipboard:",e)}}),e.addEventListener("keyup",function(t){"Enter"===t.key&&(t.preventDefault(),e.click())})}if("form"===o.type){const e=s.getElementById(i.identifier+"-ty-form"),t=s.getElementById("submit-error"),n=s.getElementById("pro-form-submit"),r=s.getElementById("pro-form-submitting");n.addEventListener("click",async function(a){a.preventDefault(),r.style.display="block",n.style.display="none";let c=LR(s,o.fields);if(c||(t.textContent=wz("form.error.required",i)+"."),c){const e=[];let n=!1;o.fields.forEach(t=>{if("label"!==t.type)if("radio"===t.type){if(!n){s.querySelectorAll('[name="'+t.name+'"]').forEach(function(n){n.checked&&e.push({name:t.name,value:n.value})}),n=!0}}else"checkbox"===t.type?(e.push({name:t.name,value:s.getElementById(t.fieldId).checked}),n=!1):(e.push({name:t.name,value:s.getElementById(t.fieldId).value}),n=!1)});if(!0===await SR(o.url,e,l))return s.getElementById("ty-success-msg").style.display="block",void(s.getElementById("ty-content").style.display="none");
2t.textContent=wz("form.error.sending",i)+"."}e.classList.add("form-error"),r.style.display="none",n.style.display="block"}),n.addEventListener("keyup",function(e){"Enter"===e.key&&(e.preventDefault(),n.click())})}}async function wR(e,t,n,i=!1){const r=t.rsvp,s=!r.text||""===r.text||void 0===r.text,o=!r.headline||""===r.headline||void 0===r.headline;let a="",l='<div class="pro">';const c="true"===localStorage.getItem(t.proKey+"-rsvp-sent")||null;c&&(l+='<div id="rsvp-sent-content">',l+="<p>"+wz("form.success.already",t)+"</p>",t.hideButton||(l+='<div id="rsvp-atcb"></div>'),t.inlineRsvp&&(l+='<button id="pro-form-restart" '+(t.disabled&&"disabled")+' class="atcb-modal-btn atcb-modal-btn btn-small atcb-modal-btn-border">'+wz("label.rsvp.restart",t)+"</button>"),l+="</div>"),l+='<div id="rsvp-success-msg"><p>'+wz("form.success.sent",t)+'</p><p id="rsvp-success-msg-email">'+wz("form.success.email",t)+'</p><p id="rsvp-success-msg-doi">'+wz("form.success.doi",t)+"</p></div>",l+='<div id="rsvp-success-msg-demo">'+wz("form.success.demo",t)+"</div>",l+='<div id="rsvp-content">',r.text&&""!==r.text&&(l+=KR(r.text)),l+='<form id="'+t.identifier+'-rsvp-form" class="pro-form'+(s?" no-intro":"")+(o?" no-headline":"")+'">';const d=t.proKey||"demo-rsvp";!1===r.initial_confirmation?(l+='<div id="rsvp-status-group">',l+="<p>"+wz("form.status",t)+"</p>",l+='<div class="pro-field pro-field-type-radio"><div><input type="radio" name="'+d+'-status" id="'+t.identifier+'-rsvp-status-confirmed" aria-label="'+wz("form.status.confirmed",t)+'" checked value="confirmed" '+(t.disabled&&"disabled")+' /><label for="'+t.identifier+'-rsvp-status-confirmed" class="status-confirmed"><span>'+wz("form.status.confirmed",t)+"</span></label></div>",!0===r.maybe_option&&(l+='<div><input type="radio" name="'+d+'-status" id="'+t.identifier+'-rsvp-status-undecided" aria-label="'+wz("form.status.undecided",t)+'" value="undecided" '+(t.disabled&&"disabled")+' /><label for="'+t.identifier+'-rsvp-status-undecided" class="status-undecided"><span>'+wz("form.status.undecided",t)+"</span></label></div>"),l+='<div><input type="radio" name="'+d+'-status" id="'+t.identifier+'-rsvp-status-declined" aria-label="'+wz("form.status.declined",t)+'" value="declined" '+(t.disabled&&"disabled")+' /><label for="'+t.identifier+'-rsvp-status-declined" class="status-declined"><span>'+wz("form.status.declined",t)+"</span></label></div></div>",l+="</div>"):a+='<input type="hidden" name="'+d+'-status" id="'+t.identifier+'-rsvp-status-confirmed" value="confirmed" />';const u=r.maxpp||1;1===u?a+='<input type="hidden" name="'+d+'-amount" id="'+t.identifier+'-rsvp-amount" value="1" />':(l+='<div class="pro-field"><label for="'+t.identifier+'-rsvp-amount">'+wz("form.amount",t)+" ("+wz("form.max",t)+" "+u+")<span>*</span></label>",l+='<input type="number" name="'+d+'-amount" min="1" max="'+u+'" id="'+t.identifier+'-rsvp-amount" '+(t.disabled&&"disabled")+' aria-label="'+wz("form.amount",t)+'" value="1" /></div>');const h=function(){if(t.attendee&&""!==t.attendee){const e=t.attendee.split("|");return e.length>1?e[1]:e[0]}return null}(),f=r.fields?.find(e=>"email"===e.name);if(f?r.fields=r.fields.map(e=>"email"===e.name?{...e,required:!0,type:"email",default:""!==h?h:e.default}:e):h?a+='<input type="hidden" name="email" id="'+t.identifier+'-rsvp-email" value="'+h+'" />':(l+='<div class="pro-field"><label for="'+t.identifier+'-rsvp-email">'+wz("form.email",t)+"<span>*</span></label>",l+='<input type="email" name="email" id="'+t.identifier+'-rsvp-email" '+(t.disabled&&"disabled")+' aria-label="'+wz("form.email",t)+'" value="" /></div>'),r.fields&&r.fields.length>0){const e=TR(r.fields,t.identifier+"-rsvp",t.disabled);r.fields=e.fields,l+=e.html}l+=a,l+='<p id="submit-error"></p>',l+='<p class="pro-pt"><button type="submit" id="pro-form-submit" '+(t.disabled&&"disabled")+' class="atcb-modal-btn atcb-modal-btn-primary atcb-modal-btn-border">'+wz("submit",t)+'</button><span id="pro-form-submitting" class="pro-waiting"><span>.</span><span>.</span><span>.</span></span></p>',r.seatsLeft&&r.seatsLeft>0&&(l+='<p class="pro-form-fine">'+wz("form.seatsleft",t)+": <b>"+r.seatsLeft+"</b></p>"),l+="</form>",l+="</div></div>";let m=null;if(t.inlineRsvp){m=e;const i=document.createElement("div");if(i.classList.add("atcb-modal-box","rsvp-inline-wrapper"),i.setAttribute("part","atcb-modal-box"),t.rtl&&i.classList.add("atcb-rtl"),n.append(i),r.headline){const e=document.createElement("div");e.classList.add("atcb-modal-headline"),i.append(e),e.innerHTML=r.headline}const s=document.createElement("div");if(s.classList.add("atcb-modal-content"),i.append(s),!t.hideBranding){const e=YR(m,!1,!0);i.append(e)}if(r.expired)return void(s.innerHTML='<div class="pro"><p>'+wz("label.rsvp.expired",t)+"</p></div>");if(r.bookedOut)return void(s.innerHTML='<div class="pro"><p>'+wz("label.rsvp.bookedout",t)+"</p></div>");s.innerHTML=l}else m=await IR(e,t),sz(m.querySelector(".atcb-modal-host-initialized")),await AR(m,t,void 0,r.headline,l,[{type:"none",label:wz("label.rsvp.restart",t),small:!0,primary:!0,id:"pro-form-restart"},{type:"close",label:wz("close",t),small:!0,id:"modal-btn-close"},{type:"close",label:wz("cancel",t),small:!0,id:"modal-btn-cancel"}],[],i,{}
2,!1);c&&(m.getElementById("rsvp-content").style.display="none");const p=m.getElementById("modal-btn-close"),g=m.getElementById("modal-btn-cancel"),y=m.getElementById("pro-form-restart");if(gz("openRSVP",t.identifier,t.identifier),t.debug&&console.log('RSVP form for "'+t.identifier+'" created'),c){g&&(g.style.display="none");const n=m.getElementById("rsvp-atcb");if(n&&!t.hideButton){const i=JSON.parse(JSON.stringify(t));i.hideTextLabelButton=!0,i.hideIconButton=!1,i.buttonsList=!0,OR(e,n,i)}}else p&&(p.style.display="none"),y&&(y.style.display="none");const _=m.getElementById(t.identifier+"-rsvp-form"),b=m.getElementById("submit-error"),v=m.getElementById("pro-form-submit"),w=m.getElementById("pro-form-submitting"),k=m.getElementById("pro-form-restart");v&&(v.addEventListener("click",async function(e){e.preventDefault(),w.style.display="block",v.style.display="none";const n=[{type:"number",name:t.proKey+"-amount",fieldId:t.identifier+"-rsvp-amount",required:!0}];f||n.push({type:"email",name:"email",fieldId:t.identifier+"-rsvp-email",required:!0});let i=LR(m,[...n,...r.fields]);const s=m.getElementById(t.identifier+"-rsvp-amount"),o=parseInt(s.value)||1;if(r.maxpp&&r.maxpp>0&&o>r.maxpp&&(s.classList.add("error"),i=!1),i||(b.textContent=wz("form.error.required",t)+"."),i){if(!t.proKey||""===t.proKey)return m.getElementById("rsvp-success-msg-demo").style.display="block",m.getElementById("rsvp-content").style.display="none",gz("successRSVP",t.identifier,t.identifier),g&&(g.style.display="none"),void(p&&(p.style.display="block"));let e=JSON.parse(JSON.stringify(r.fields));const n=[];n.push({name:"prokey",value:t.proKey}),n.push({name:"language",value:t.language});const i=m.querySelector('[name="'+t.proKey+'-status"]:checked');if(n.push({name:"status",value:i?i.value:"confirmed"}),n.push({name:"amount",value:o}),f){const t=e.find(e=>"email"===e.name)?.fieldId;n.push({name:"email",value:m.getElementById(t).value}),e=e.filter(e=>e.fieldId!==t)}else n.push({name:"email",value:m.getElementById(t.identifier+"-rsvp-email").value});const s={};let a=!1;e.forEach(e=>{if("label"!==e.type)if("radio"===e.type){if(!a){m.querySelectorAll('[name="'+e.name+'"]').forEach(function(t){t.checked&&(s[e.name]=t.value)}),a=!0}}else"checkbox"===e.type?(s[e.name]=m.getElementById(e.fieldId).checked,a=!1):(s[e.name]=m.getElementById(e.fieldId).value,a=!1)}),Object.keys(s).length>0&&n.push({name:"payload",value:s});const l=await SR(`https://api${t.dev?"-dev":""}.add-to-calendar-pro.com/24586219-9910-41fe-9b59-df53de9db7af`,n,{rsvp:!0});if("doi"===l||!0===l)return m.getElementById("rsvp-success-msg").style.display="block","doi"===l?m.getElementById("rsvp-success-msg-doi").style.display="block":m.getElementById("rsvp-success-msg-email").style.display="block",m.getElementById("rsvp-content").style.display="none",g&&(g.style.display="none"),p&&(p.style.display="block"),gz("successRSVP",t.identifier,t.identifier),void localStorage.setItem(t.proKey+"-rsvp-sent",!0);l.error&&2===l.error?b.textContent=wz("form.error.email",t)+".":l.error&&5===l.error?b.textContent=wz("label.rsvp.expired",t)+".":l.error&&6===l.error?b.textContent=o>1?wz("form.error.bookedoutmany",t)+".":wz("label.rsvp.bookedout",t)+".":b.textContent=wz("form.error.sending",t)+"."}_.classList.add("form-error"),w.style.display="none",v.style.display="block"}),v.addEventListener("keyup",function(e){"Enter"===e.key&&(e.preventDefault(),v.click())})),k&&(k.addEventListener("click",function(e){e.preventDefault(),m.getElementById("rsvp-sent-content").style.display="none",m.getElementById("rsvp-content").style.display="block",p&&(p.style.display="none"),y&&(y.style.display="none"),g&&(g.style.display="block")}),k.addEventListener("keyup",function(e){"Enter"===e.key&&(e.preventDefault(),k.click())}))}async function kR(e,t=!1){try{const n=await fetch(`https://api${t?"-dev":""}.add-to-calendar-pro.com/dffb8bbd-ee5e-4a4f-a7ea-503af98ca468?prokey=${e}`,{method:"GET"});if(!n.ok)throw new Error("Network response was not ok");const i=await n.json();return parseInt(i.total)}catch(e){console.error("Error:",e)}return 0}function TR(e,t="",n=!1){let i="",r="",s=0,o="",a=!1;for(let l=1;l<=e.length;l++){a=!1;const c=e[l-1];if("label"!==c.type&&(!c.name||""===c.name)){a=!0;continue}("radio"===o&&"radio"!==c.type||"radio"!==o)&&(s=l),e[l-1].fieldId=t+"-"+l;const d="radio"===c.type?c.placeholder||"":c.default||"",u=c.label||"",h="radio"===c.type?"":c.placeholder||"";let f="";"hidden"===o||l!==s||1===l||a||(f+="</div>
2"),"hidden"!==c.type&&l===s&&(f+='<div class="pro-field pro-field-type-'+c.type+'">'),"label"===c.type?f+="<p>"+u+"</p>":("radio"===c.type&&(f+="<div>"),"hidden"===c.type?r+='<input type="hidden" name="'+c.name+'" id="'+c.fieldId+'" value="'+d+'" />':f+=MR(c.type,c.name,u,c.fieldId,c.required,d,c.default,h,n),"radio"===c.type&&(f+="</div>")),i+=f,o=c.type}return"hidden"!==o&&(i+="</div>"),i+=r,{html:i,fields:e}}function MR(e,t,n,i,r=!1,s,o=null,a="",l=!1){let c="";return"text"!==e&&"email"!==e&&"number"!==e||""===n||(c+='<label for="'+i+'">'+n+(r?"<span>*</span>":"")+"</label>"),c+='<input type="'+e+'"'+("number"===e?' min="0"':"")+("checkbox"!==e&&"radio"!==e||!o||"true"!==o&&!0!==o?"":" checked")+' name="'+t+'" id="'+i+'" placeholder="'+a+'" '+(l&&"disabled")+' aria-label="'+n+'" value="'+s+'" />',"checkbox"!==e&&"radio"!==e||""===n&&!r||(c+='<label for="'+i+'">'+n+(r?"<span>*</span>":"")+"</label>"),c}function LR(e,t){let n=!0;return t.forEach(function(t){if("label"!==t.type&&"radio"!==t.type){const i=e.getElementById(t.fieldId);if("checkbox"!==t.type){if(i.value=QR(i.value.trim()),"number"===t.type&&(i.value=i.value.replace(/\D/g,"")),"email"===t.type&&""!==i.value&&!GR(i.value))return i.classList.add("error"),void(n=!1);if(t.required&&""===i.value)return i.classList.add("error"),void(n=!1);i.classList.remove("error")}else{if(t.required&&!1===i.checked)return i.classList.add("error"),void(n=!1);i.classList.remove("error")}}if("radio"===t.type){const i=e.querySelectorAll('[name="'+t.name+'"]');let r=!1;if(i.forEach(function(e){e.checked&&(r=!0)}),!1===r)return i[0].classList.add("error"),void(n=!1);i[0].classList.remove("error")}}),n}async function SR(e,t,n={}){let i=new FormData,r={},s={};0===Object.keys(n).length?(t.forEach(e=>{i.append(e.name,e.value)}),s={method:"POST",body:i}):(n["Cache-Control"]="no-cache",n["Content-Type"]="application/json",n.Accept="*/*",t.forEach(e=>{r[e.name]=e.value}),s={method:"POST",headers:n,body:JSON.stringify(r)});try{const t=await fetch(e,s),n=await t.json();return t.ok?!n.status||"doi"!==n.status||"doi":(console.error("Network response was not ok"),!!n.error&&n)}catch(e){return console.error("Error:",e),!1}}function xR(e,t,n,i,r=!1,s="",o=!1){switch(i){case"trigger":case"rsvp":default:n.id=t.identifier,t.blockInteraction||(n.addEventListener("keyup",function(r){("Enter"===r.key||"Space"==r.code||"Alt"===r.key&&"Control"===r.key&&"Space"===r.code)&&(r.preventDefault(),"rsvp"===i?wR(e,t,n,!0):yR(e,"auto",t,n,!0,!0))}),n.addEventListener("touchend",pz(r=>{r.preventDefault(),"rsvp"===i?wR(e,t,n):yR(e,"auto",t,n,!1,!0)})),"click"===t.trigger||"rsvp"===i?n.addEventListener("mouseup",pz(r=>{r.preventDefault(),"rsvp"===i?wR(e,t,n):yR(e,"auto",t,n,!1,!0)})):n.addEventListener("mouseenter",function(){yR(e,"open",t,n,!1,!0)}));break;case"apple":case"google":case"ical":case"msteams":case"ms365":case"outlookcom":case"yahoo":n.id=t.identifier+"-"+i,t.blockInteraction||(n.addEventListener("click",pz(async()=>{o?(e.querySelector("#"+n.id)?.blur(),gz("openSingletonLink",n.id,t.identifier)):(yR(e,"close"),gz("openCalendarLink",n.id,t.identifier)),await NR(e,i,t)})),n.addEventListener("keyup",async function(r){"Enter"===r.key&&(r.preventDefault(),o?(e.querySelector("#"+n.id)?.blur(),gz("openSingletonLink",n.id,t.identifier)):(yR(e,"close"),gz("openCalendarLink",n.id,t.identifier)),await NR(e,i,t,"all",!0))}));break;case"close":n.id=t.identifier+"-close",n.addEventListener("click",mz(()=>{gz("closeList","List Close Button",RN.active),yR(e,"close")})),n.addEventListener("keyup",function(n){"Enter"===n.key&&(n.preventDefault(),gz("closeList","List Close Button",RN.active),yR(e,"close",t,"all",!0))})}!function(e,t,n,i,r,s){!e.buttonsList&&s&&(n="trigger");const o=function(){if("none"!=e.pastDateHandling){let t=!0;for(let n=0;n<e.dates.length;n++)if(!e.dates[`${n}`].overdue){t=!1;break}if(t)return wz("expired",e)}return wz("label.addtocalendar",e)}();""===r&&(r=1===e.options.length||"trigger"===n?o:wz("close"===n?"close":n,e));if("date"===e.buttonStyle&&("trigger"===n||s))return;if(t.setAttribute("aria-label",s?wz("label.addtocalendar",e)+" ("+wz(n,e)+"): "+e.name:"trigger"===n?r+": "+e.name:r),i){const e=document.createElement("div");e.classList.add("atcb-icon"),e.setAttribute("part","trigger"===n?"atcb-button-icon":"atcb-list-icon"),e.classList.add(`atcb-icon-${n}`),e.innerHTML=UN[`${n}`],t.append(e)}if(("trigger"===n||s)&&!e.hideTextLabelButton||!s&&"trigger"!==n&&!e.hideTextLabelList){const e=document.createElement("span");e.classList.add("atcb-text"),e.setAttribute("part","trigger"===n?"atcb-button-text":"atcb-list-text"),e.textContent=r,t.append(e)}}
2(t,n,i,r,s,o)}function OR(e,t,n){const i=!!(1===n.options.length||n.buttonsList&&"date"!=n.buttonStyle);(i?n.options:["default"]).forEach(function(r,s){const o=document.createElement("div");o.classList.add("atcb-button-wrapper"),o.setAttribute("part","atcb-button-wrapper"),n.rtl&&o.classList.add("atcb-rtl"),t.append(o),oz(o,n.sizes);const a=document.createElement("button");if(a.classList.add("atcb-button"),a.setAttribute("part","atcb-button"),n.disabled&&a.setAttribute("disabled",!0),n.hideTextLabelButton&&a.classList.add("atcb-no-text"),"click"===n.trigger&&a.classList.add("atcb-click"),"overlay"===n.listStyle&&a.classList.add("atcb-dropoverlay"),a.type="button",a.setAttribute("aria-expanded",!1),o.append(a),"date"===n.buttonStyle&&ER(n,a,"all",i),i){a.classList.add("atcb-single");const t=n.buttonsList&&n.options.length>1?wz(`${n.options[`${s}`]}`,n):n.label;xR(e,n,a,r,!n.hideIconButton,t,!0),a.id=n.identifier,n.buttonsList&&(a.id=n.identifier+"-"+r)}else{xR(e,n,a,"trigger",!n.hideIconButton,n.label);const t=document.createElement("div");t.classList.add("atcb-dropdown-anchor"),a.append(t)}if(!(n.hideCheckmark||n.hideTextLabelButton||n.buttonsList||n.disabled||n.allCancelled)){const e=document.createElement("div");e.classList.add("atcb-checkmark"),e.innerHTML=UN.checkmark,a.append(e)}}),n.debug&&console.log('Add to Calendar Button "'+n.identifier+'" created')}function DR(e,t="",n=!1,i=!0,r=!0){const s=n?document.createElement("dialog"):document.createElement("div");if(n&&s.setAttribute("open",!0),s.id="atcb-bgoverlay",i||s.classList.add("atcb-no-bg"),s.role="button",s.tabIndex=0,r){s.addEventListener("mouseup",pz(t=>{t.target===t.currentTarget&&(gz("closeList","Background Hit",RN.active),yR(e,"close"))}));let n=!1;s.addEventListener("touchstart",pz(()=>n=!1),{passive:!0}),s.addEventListener("touchmove",pz(()=>n=!0),{passive:!0}),s.addEventListener("touchend",mz(t=>{!1===n&&t.target===t.currentTarget&&(gz("closeList","Background Hit",RN.active),yR(e,"close"))}),{passive:!0}),"click"!==t?s.addEventListener("mousemove",pz(t=>{t.target===t.currentTarget&&(gz("closeList","Background Hit",RN.active),yR(e,"close"))})):s.classList.add("atcb-click")}return s}function YR(e,t=!0,n=!1,i=!1){const r=document.createElement("div");if(r.id="atcb-reference",i)r.innerHTML='Using the <a href="https://add-to-calendar-pro.com" target="_blank" rel="noopener referrer">Add to Calendar Button</a>, licensed under the Elastic License 2.0 (ELv2).',r.style.display="none !important",r.classList.add("atcb-attribution"),e.append(r);else if(setTimeout(()=>{r.innerHTML='<a href="https://add-to-calendar-pro.com" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52.916 2.8305"><path d=
vendor: 6,804 bytes, line 2
2"M51.446 1.2565c.0708-.2518.293-.4511.5555-.4783.2211-.042.4641.0128.622.18.2474.2472.3045.6146.2916.9503v.8594h-.8307l-.0027-1.0447c-.0079-.1547-.1075-.343-.2868-.3238-.2049.0128-.3115.2421-.295.4257v.9428h-.823l-.0027-1.0435c-.0076-.1569-.1131-.3412-.2918-.3252-.2069.008-.311.2351-.2939.4188v.9499h-.8307V.8237h.8307v.4019c.0906-.2264.2876-.4188.5368-.449.2878-.0533.6071.0705.7509.3331.0279.0465.0509.0959.0699.1468zm-3.9843.5228c-.0102.1874.107.3914.3024.424.1869.0419.3799-.0941.4215-.2776.0535-.1967-.0023-.4493-.2015-.5411-.1767-.0892-.4107.0032-.483.1865-.0297.0649-.0391.1374-.0392.2082zm-.7691 0c.0037-.2984.1395-.5957.3792-.7774.3035-.2327.7168-.2798 1.0829-.2005.3299.0729.6352.3018.7481.6275.1337.3797.0441.8526-.2795 1.1099-.3184.2561-.7624.3092-1.152.2184-.3379-.0788-.6426-.3312-.7369-.6717a1.092 1.092 0 0 1-.0417-.3063zm-.2351-.3308c-.1638-.0482-.3406-.0889-.5104-.0492s-.2742.2154-.2664.3837c-.0082.1705.0998.3468.2712.3876.1657.0389.3389.0016.4979-.0492l.0769.5499c-.2369.1272-.5165.1434-.7791.1149-.3236-.0401-.6353-.2311-.7805-.529-.1237-.2511-.139-.5539-.0485-.8181.108-.3075.3782-.5432.6902-.6287.2064-.058.4286-.0585.6371-.0119.1027.0253.198.0732.2884.1269l-.0769.523zm-2.6877.9806c-.003-.1221.066-.2371.1643-.3062.1303-.0934.3092-.1186.4572-.0533.132.054.2426.1752.2607.3197s-.0575.2836-.1746.3603c-.1633.1093-.3947.1063-.5517-.0135-.0951-.0715-.1577-.187-.1559-.307zm-3.046-1.0111c-.0091-.4276.1794-.8577.5181-1.1231.3714-.2958.8865-.3488 1.3384-.2477.4065.0946.7695.3811.9242.7731.2302.553.1173 1.2562-.3406 1.6606-.4021.3563-.9997.4264-1.5018.273-.4407-.1312-.7876-.5106-.8926-.9564a1.565 1.565 0 0 1-.0458-.3795zm1.4499.6961c.2631.014.4813-.2093.5326-.4557.0785-.3033.0224-.6834-.2491-.8753-.2182-.159-.5514-.1019-.704.1211-.1692.2437-.1902.5756-.088.8501.0775.2087.2816.3661.5085.3597zm-1.631.6458c-.1978.0602-.4078.0938-.6123.0464-.2697-.0443-.5044-.2371-.6009-.4927-.0701-.1852-.1026-.3819-.154-.5728h-.1846v1.0268h-.8614V.0601l1.3192.0034c.3398.0217.7177.1323.9118.434.152.2456.127.584-.0389.8163-.0979.1284-.2387.2162-.3846.2807.0316.1513.0475.3167.1461.4418.1193.1187.3064.1031.4596.0812v.6422zm-.871-1.8651c.0103-.138-.1243-.231-.25-.2384-.1427-.0193-.2871-.0088-.4307-.0115v.5422c.1905-.0038.3947.0138.5678-.0796a.234.234 0 0 0 .1128-.2126zM35.573.0603l1.1424.0047c.3439.0209.7218.1098.9446.3944.2252.2934.2163.7545-.0512 1.0195-.279.2859-.698.3701-1.0838.362-.0329.0105-.1126-.0258-.102.0281v.8987h-.8499V.0603zm1.0192 1.2345c.1672.0054.3805-.0562.4233-.2409.0425-.1434-.0225-.3102-.1619-.3724-.1328-.0705-.2859-.0537-.4306-.0559v.6615c.0561.0073.1128.0073.1692.0077zm-2.5176.2226h1.0576v.4653h-1.0576zM32.3311.8234h.8307v.4019q.0942-.2384.25-.348.1577-.1115.3615-.1115l.1154.6442q-.375 0-.5519.0808-.175.0788-.175.2538v1.023h-.8307zm-1.2257 1.5791c-.0937.2116-.2986.3716-.5319.3897-.3887.0533-.7844-.1743-.9578-.5217-.2044-.381-.1519-.892.1543-1.2049.2461-.2614.6627-.389.9973-.2285.1574.0799.2779.2236.3381.3886V.7662h.8268v2.0017h-.8268v-.3653zm0-.6345c-.0052-.2449-.2747-.4425-.5088-.3585-.217.0615-.3402.3271-.243.5316.0896.2161.3875.3078.5783.1678.1106-.0747.179-.2073.1735-.3408zM27.7118.7662c.2401-.008.4923.1021.6064.3222.0351.0816.045.0806.0397.0023V.1721l.8307-.1231v2.7189h-.8307v-.3653c-.0907.2158-.3003.3744-.5356.39-.3605.0507-.7279-.1432-.9123-.4525-.2569-.3983-.1992-.9693.1456-1.2985.173-.1702.412-.2772.6563-.2754zm.6461 1.0018c-.0048-.2526-.2909-.4519-.5276-.3518-.2324.0782-.3309.3933-.1843.5898.1239.1938.425.2285.5871.0636.0811-.0768.1287-.1897.1248-.3015zM24.139.8233h.7922v.4019c.1006-.2169.2949-.397.5347-.4408.2696-.0572.58.0085.76.2293.2045.2403.2438.5692.2358.8734v.8802h-.8268l-.0022-1.1213c-.004-.1252-.0677-.2748-.2066-.2939-.2045-.0306-.3739.1457-.4412.3226-.0292.0785-.0098.1646-.0154.2467v.8459h-.8306V.8233zm-1.0416 1.4236c.2011-.0002.3981-.0574.5807-.1384l.0961.5288c-.3198.1421-.6806.1894-1.027.145-.3369-.0473-.6587-.2545-.8007-.5699-.1588-.3469-.1132-.7886.1413-1.0788.2741-.3191.7406-.4335 1.1413-.3308.2768.0734.5008.3019.5751.5779.0429.146.0624.3015.043.453l-1.1806.1538c.0368.134.158.2311.2944.2482.0449.0082.0907.0114.1363.0114zm.1461-.7557c-.0268-.1234-.1257-.237-.2578-.244-.143-.0241-.2868.0725-.325.2111-.0103.0527-.0737.2029.0271.1552l.5558-.1223zm-1.4939 1.1721c-.2463.1208-.5356.1686-.805.1092-.227-.0527-.3993-.2481-.4518-.4712-.0545-.2125-.0296-.4333-.0353-.6502V.1714l.8307-.1231.0011 1.9292c.002.1378.1537.1938.2711.1813.0651.0169.1819-.1.162.0152l.0274.4893zm-2.5115-.2609c-.0937.2116-.2986.3716-.5319.3897-.3887.0533-.7844-.1743-.9578-.5217-.2044-.381-.1519-.892.1543-1.2049.2461-.2614.6627-.389.9973-.2285.1574.0799.2779.2236.3381.3886V.7661h.8268v2.0017h-.8268v-.3653zm0-.6345c-.0052-.2449-.2747-.4425-.5088-.3585-.217.0615-.3402.3271-.243.5316.0896.2161.3875.3078.5783.1678.1106-.0747.179-.2073.1735-.3408zm-2.3726.35c.1696.0054.3334-.0479.4884-.1115l.1077.6249c-.5137.3026-1.2229.2625-1.6732-.1399-.2959-.2444-.4693-.6191-.4819-1.0009-.0323-.4791.181-.9792.5853-1.2496.4565-.3128 1.0898-.3142 1.5659-.0438l-.1038.6115c-.2721-.1029-.5957-.168-.8667-.0274-.2291.1239-.3077.4039-.2984.6481-.0043.2465.1061.5161.3427.6212.1037.0495.2198.0676.3339.0676zm-2.923-.6005h1.0576v.4653h-1.0576zm-1.7829.2619c-.0102.1874.107.3914.3024.424.1869.0419.3799-.0941.4215-.2776.0535-.1967-.0023-.4493-.2015-.5411-.1767-.0892-.4107.0032-.4831.1865-.0297.0649-.0391.1374-.0392.2082zm-.7691 0c.0037-.2984.1395-.5957.3792-.7774.3035-.2327.7168-.2798 1.0829-.2005.33.0729.6352.3018.7481.6275.1337.3797.0441.8526-.2795 1.1099-.3184.2561-.7624.3092-1.152.2184-.3379-.0788-.6426-.3312-.7369-.6717a1.092 1.092 0 0 1-.0417-.3063zm-.1976.8841c-.2463.1208-.5356.1686-.805.1092-.227-.0527-.3993-.2481-.4518-.4712-.0557-.2169-.0286-.4422-.0334-.6635l.0019-.3551h-.25V.7943h.3115l.3653-.7461h.4v.7461h.4538v.4884h-.4538l.0011.6943c.0034.1365.1541.1943.2715.1818.0768.006.1848-.0959.1624.0301l.0265.4744zm-2.7861-1.146h1.0575v.4653H8.4068zM6.5412.7662c.2401-.008.4923.1021.6064.3223.0351.0816.045.0806.0397.0023V.172l.8307-.1231v2.7189h-.8307v-.3653c-.0907.2158-.3003.3744-.5356.39-.3605.0507-.7279-.1432-.9123-.4525-.2569-.3983-.1992-.9693.1456-1.2985.173-.1702.412-.2772.6563-.2754zm.6461 1.0018c-.0048-.2526-.2909-.4519-.5276-.3518-.2324.0782-.3308.3933-.1843.5898.1239.1938.425.2285.5871.0636.0811-.0768.1287-.1897.1248-.3015zM3.7956.7662c.2401-.008.4923.1021.6064.3222.0351.0816.045.0806.0397.0023V.172l.8307-.1231v2.7189h-.8307v-.3653c-.0907.2158-.3003.3744-.5356.39-.3605.0507-.7279-.1432-.9123-.4525-.2569-.3983-.1992-.9693.1456-1.2985.173-.1702.4119-.2772.6563-.2754zm.6461 1.0018c-.0048-.2526-.2909-.4519-.5276-.3518-.2324.0782-.3308.3933-.1843.5898.1239.1938.425.2285.5871.0636.0811-.0768.1287-.1897.1248-.3015zM.7498.0603h1.196l.7845 2.7074h-.9268l-.1038-.5192H.9997l-.1115.5192h-.8883zm.8576 1.7037L1.3497.5795 1.0843 1.764z
2"/></svg></a>'},500),t)e.querySelector(".atcb-initialized .atcb-list-wrapper").append(r);else{if(n)return r;(window.innerHeight>1e3||window.innerWidth>1e3)&&(e.append(r),r.classList.add("fixed-ref"))}if(n)return null}async function AR(e,t,n="",i,r="",s=[],o=[],a=!1,l={},c=!0){RN.active=t.identifier;const d=!i||""===i||void 0===i,u=await IR(e,t,!1),h=function(){const n=u.getElementById("atcb-bgoverlay");if(!n){const n=DR(e,"click",!0,!t.hideBackground,c);return u.querySelector(".atcb-modal-host-initialized").append(n),n}return n}(),f=document.createElement("div");f.classList.add("atcb-modal"),h.append(f);const m=u.querySelectorAll(".atcb-modal").length;f.dataset.modalNr=m,f.tabIndex=0,f.focus({preventScroll:!0}),f.blur();const p=function(){const n=e.getElementById(t.identifier);return n||document.getElementById(t.identifier)}();p&&p.classList.add("atcb-active-modal");const g=document.createElement("div");if(g.classList.add("atcb-modal-box"),g.setAttribute("part","atcb-modal-box"),t.rtl&&g.classList.add("atcb-rtl"),f.append(g),oz(g,t.sizes),sz(h),""!==n&&!t.hideIconModal){const e=document.createElement("div");e.classList.add("atcb-modal-icon"),e.innerHTML=UN[`${n}`],g.append(e)}if(!d){const e=document.createElement("div");e.classList.add("atcb-modal-headline"),e.textContent=i,g.append(e)}if(""!==r){const e=document.createElement("div");e.classList.add("atcb-modal-content"),d&&e.classList.add("no-headline"),e.innerHTML=r,g.append(e)}if(t.hideBranding||YR(u,!1),o.length>1){const n=document.createElement("div");n.classList.add("atcb-modal-content"),g.append(n);const i=document.createElement("div");i.classList.add("atcb-modal-content-subevents"),n.append(i);for(let n=1;n<o.length;n++){const r=document.createElement("button");r.type="button",r.id=t.identifier+"-"+o[0]+"-"+n,RN[`${t.identifier}`][`${o[0]}`][n-1]>0&&r.classList.add("atcb-saved"),r.classList.add("atcb-subevent-btn"),i.append(r),ER(t,r,n,!1,!0),t.dates[n-1].overdue&&"none"!==t.pastDateHandling?r.setAttribute("disabled",!0):(1===n&&a&&r.focus(),r.addEventListener("click",mz(async()=>{gz("openSubEventLink",r.id,t.identifier),r.blur(),await NR(e,o[0],t,o[`${n}`],a,!0)})))}}0===s.length&&s.push({type:"close",label:wz("close",t),small:!0});const y=document.createElement("div");
2if(y.classList.add("atcb-modal-buttons"),g.append(y),s.forEach((n,i)=>{let r;switch(n.href&&""!==n.href?(r=document.createElement("a"),r.setAttribute("target",AN),r.setAttribute("href",n.href),r.setAttribute("rel","noopener")):(r=document.createElement("button"),r.type="button"),n.id&&""!==n.id&&(r.id=n.id),r.classList.add("atcb-modal-btn"),n.primary&&r.classList.add("atcb-modal-btn-primary"),n.small&&r.classList.add("btn-small"),n.label&&""!==n.label||(n.label=wz("modal.button.default",t)),r.textContent=n.label,y.append(r),0===i&&o.length<2&&a&&r.focus(),n.type){default:case"close":r.addEventListener("click",mz(()=>{gz("closeList","Modal Close Button",RN.active),bR(e)})),r.addEventListener("keyup",function(t){("Enter"===t.key||"Space"==t.code||"Alt"===t.key&&"Control"===t.key&&"Space"===t.code)&&(gz("closeList","Modal Close Button",RN.active),yR(e,"close","","",!0))});break;case"yahoo2nd":r.addEventListener("click",mz(async()=>{bR(e),await CR(e,t)})),r.addEventListener("keyup",async function(n){("Enter"===n.key||"Space"==n.code||"Alt"===n.key&&"Control"===n.key&&"Space"===n.code)&&(yR(e,"close","","",!0),await CR(e,t,a))});break;case"2timeslink":r.addEventListener("click",mz(async()=>{bR(e),await NR(e,l.type,t,l.id,a,!1,!0)})),r.addEventListener("keyup",async function(n){("Enter"===n.key||"Space"==n.code||"Alt"===n.key&&"Control"===n.key&&"Space"===n.code)&&(yR(e,"close","","",!0),await NR(e,l.type,t,l.id,a,!1,!0))});case"none":}}),m>1){u.querySelector('.atcb-modal[data-modal-nr="'+(m-1)+'"]').classList.add("atcb-hidden")}rz(u,f)}async function CR(e,t,n){RR(e,t),await NR(e,"yahoo2nd",t,"all",n)}function ER(e,t,n="all",i=!1,r=!1){"all"!==n?n=parseInt(n)-1:1===e.dates.length&&(n=0);const s=function(e,t="en",n="all",i=!1,r=!1,s=!1,o=!1){i&&(e=XN({dates:e}).dates);let a,l,c,d,u={},h={},f=[],m="",p="";const g=Intl.DateTimeFormat().resolvedOptions().timeZone;"all"===n?(u=UR(e[0]),h=UR(e[e.length-1]),c=r?g:e[0].timeZone,d=r?g:e[e.length-1].timeZone):(u=UR(e[`${n}`]),h=u,c=r?g:e[`${n}`].timeZone,d=c);a=new Date(u.start),l=new Date(h.end),u.allday&&(c="GMT");h.allday&&(d="GMT");const y=["global","world-wide","worldwide","online"],_=function(){let t=0,i=e.length-1;for("all"!=n&&(t=i=n);t<=i;t++){if(!function(){return!(!e[`${t}`].location||""===e[`${t}`].location||!y.includes(e[`${t}`].location.toLowerCase().trim()))}()&&!e[`${t}`].onlineEvent)return!1}return!0}();_?c=d=g:(u.allday||g===c||c===d||(m="("+c+")"),(!h.allday&&g!==d||c!==d)&&(p="("+d+")"));const b=new Date,v=!s&&a.getFullYear()===b.getFullYear(),w=!s&&l.getFullYear()===b.getFullYear(),k=qR(c,v,t),T=qR(d,w,t);if(a.toLocaleDateString(t,T.DateLong)===l.toLocaleDateString(t,T.DateLong))if(u.allday)v||f.push(a.toLocaleDateString(t,k.DateLong));else{let e="";e=v?a.toLocaleString(t,k.Time):a.toLocaleString(t,k.DateTimeLong),"en"===t&&(e=e.replace(/:00/,"")),f.push(e),""===m||o||f.push(m),f.push("-"),e=l.toLocaleTimeString(t,T.Time),"en"===t&&(e=e.replace(/:00/,"")),f.push(e),""===p||o||f.push(p)}else{if(u.allday)f.push(a.toLocaleDateString(t,k.DateLong));else{let e="";e=v?a.toLocaleString(t,k.Time):a.toLocaleString(t,k.DateTimeLong),"en"===t&&(e=e.replace(/:00/,"")),f.push(e)}if(""===m||o||f.push(m),f.push("-"),h.allday)f.push(l.toLocaleDateString(t,T.DateLong));else{let e=l.toLocaleString(t,T.DateTimeLong);"en"===t&&(e=e.replace(/:00/,"")),f.push(e)}""===p||o||f.push(p)}return f}(e.dates,e.language,n,!1,!1,r),o="all"!==n&&"cancelled"===e.dates[`${n}`].status.toLowerCase()||"all"===n&&e.allCancelled?wz("date.status.cancelled",e)+"<br>"+wz("date.status.cancelled.cta",e):"none"!==e.pastDateHandling&&("all"===n&&e.allOverdue||"all"!==n&&e.dates[`${n}`].overdue)?wz("expired",e):e.label&&""!==e.label?e.label:wz("label.addtocalendar",e),a="all"!==n&&"cancelled"===e.dates[`${n}`].status.toLowerCase()||"all"===n&&e.allCancelled?wz("date.status.cancelled",e):"",l=0===s.length?wz("recurring",e)+" ⟳":"⟳";let c=!1;if("all"===n){if(n=0,!e.allOverdue)for(let t=0;t<e.dates.length;t++)if(!e.dates[`${t}`].overdue){n=t;break}c=!0}const d=new Date(UR(e.dates[`${n}`]).start),u=UR(e.dates[`${n}`]).allday,h=e.dates[`${n}`].timeZone,f=document.createElement("div");f.classList.add("atcb-date-btn-left"),t.append(f);
2const m=document.createElement("div");m.classList.add("atcb-date-btn-day"),f.append(m);const p=document.createElement("div");p.classList.add("atcb-date-btn-month"),m.textContent=d.toLocaleString(e.language,{day:"numeric",timeZone:u?"UTC":h}),p.textContent=d.toLocaleString(e.language,{month:"short",timeZone:u?"UTC":h}),f.append(p);const g=document.createElement("div");g.classList.add("atcb-date-btn-right"),t.append(g);const y=document.createElement("div");y.classList.add("atcb-date-btn-details"),g.append(y);const _=document.createElement("div");_.classList.add("atcb-date-btn-headline");const b=e.dates.length>1&&c?e.name:e.dates[`${n}`].name;if(_.textContent=b,y.append(_),e.dates[`${n}`].location&&""!==e.dates[`${n}`].location&&!e.dates[`${n}`].onlineEvent||""!==a){const t=document.createElement("div");if(t.classList.add("atcb-date-btn-content"),y.append(t),""!=a)t.classList.add("atcb-date-btn-cancelled"),t.textContent=a;else{const i=document.createElement("span");i.classList.add("atcb-date-btn-content-icon"),i.innerHTML=UN.location,t.append(i);const r=document.createElement("span");r.classList.add("atcb-date-btn-content-location"),r.textContent=e.dates[`${n}`].location,t.append(r)}}else if(""===e.dates[`${n}`].description||0!==s.length||e.recurrence&&""!==e.recurrence)_.style.lineClamp="2",0!=s.length||null!=e.recurrence&&""!=e.recurrence||(g.style.alignSelf="center",_.style.textAlign="center",_.style.lineClamp="2");else{const t=document.createElement("div");t.classList.add("atcb-date-btn-content"),t.textContent=e.dates[`${n}`].descriptionHtmlFree,t.style.overflow="hidden",t.style.display="-webkit-box",t.style.webkitLineClamp="2",t.style.lineClamp="2",y.append(t)}if(s.length>0||null!=e.recurrence&&""!=e.recurrence){const t=document.createElement("div");t.classList.add("atcb-date-btn-content"),y.append(t);const n=document.createElement("span");n.classList.add("atcb-date-btn-content-icon"),n.innerHTML=UN.ical,t.append(n);const i=document.createElement("span");if(i.classList.add("atcb-date-btn-content-text"),t.append(i),s.forEac
2h(function(e){const t=document.createElement("span");t.textContent=e,i.append(t)}),null!=e.recurrence&&""!=e.recurrence){const e=document.createElement("span");e.innerHTML=l,i.append(e)}}const v=document.createElement("div");if(v.classList.add("atcb-date-btn-hover"),v.innerHTML=o,g.append(v),!e.hideCheckmark&&"cancelled"!==e.dates[`${n}`].status.toLowerCase()){const e=document.createElement("div");e.classList.add("atcb-checkmark"),e.innerHTML=UN.checkmark,t.append(e)}if(!e.dates[`${n}`].overdue||"none"===e.pastDateHandling){const e=document.createElement("div");e.classList.add("atcb-date-btn-plus"),e.innerHTML="+",t.append(e)}const w=o.replace(/<br>/g," ").replace(/\+\s/g,"")+(i?" ("+wz(e.options[0],e)+")":"")+": "+b+(e.dates[`${n}`].location&&""!==e.dates[`${n}`].location?", "+e.dates[`${n}`].location:"")+", "+s.join(" ");t.setAttribute("aria-label",w)}async function IR(e,t,n=!0){const i=document.getElementById(t.identifier+"-modal-host");if(i){if(!n)return i.shadowRoot;i.remove()}let r=document.createElement("div");r.id=t.identifier+"-modal-host",e.host.hasAttribute("cspnonce")&&r.setAttribute("cspnonce",e.host.getAttribute("cspnonce")),r.setAttribute("atcb-button-id",t.identifier),r.classList.add("add-to-calendar"),r.style.transform="translate3D(0, 0, 0)",r.style.visibility="visible",r.style.opacity="1",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="100%",r.style.height="100%",r.style.display="flex",r.style.zIndex="13999998",document.body.append(r),r.attachShadow({mode:"open",delegateFocus:!0});const s=document.createElement("template");return s.innerHTML='<div class="atcb-modal-host-initialized"></div>',r.shadowRoot.append(s.content.cloneNode(!0)),Yz(r.shadowRoot,t),await Cz(r.shadowRoot,null,t),r.shadowRoot}function PR(e,t){const n=[];
2if(n.push('"eventSchedule": { "@type": "Schedule"'),n.push('"scheduleTimezone":"'+e.dates[0].timeZone+'"'),e.recurrence_interval&&""!==e.recurrence_interval&&e.recurrence_frequency&&""!==e.recurrence_frequency){const t="P"+e.recurrence_interval+e.recurrence_frequency.substring(0,1);n.push('"repeatFrequency":"'+t+'"')}if(e.recurrence_byDay&&""!==e.recurrence_byDay){const t=function(){if(/\d/.test(e.recurrence_byDay))return'"'+e.recurrence_byDay+'"';{const t=e.recurrence_byDay.split(","),n={MO:"https://schema.org/Monday",TU:"https://schema.org/Tuesday",WE:"https://schema.org/Wednesday",TH:"https://schema.org/Thursday",FR:"https://schema.org/Friday",SA:"https://schema.org/Saturday",SU:"https://schema.org/Sunday"},i=[];for(let e=0;e<t.length;e++)i.push('"'+n[t[`${e}`]]+'"');return"["+i.join(",")+"]"}}();n.push('"byDay":'+t)}if(e.recurrence_byMonth&&""!==e.recurrence_byMonth){const t=e.recurrence_byMonth.includes(",")?"["+e.recurrence_byMonth+"]":e.recurrence_byMonth;n.push('"byMonth":"'+t+'"')}if(e.recurrence_byMonthDay&&""!==e.recurrence_byMonthDay){const t=e.recurrence_byMonthDay.includes(",")?"["+e.recurrence_byMonthDay+"]":e.recurrence_byMonthDay;n.push('"byMonthDay":"'+t+'"')}return e.recurrence_count&&""!==e.recurrence_count&&n.push('"repeatCount":"'+e.recurrence_count+'"'),e.recurrence_until&&""!==e.recurrence_until&&n.push('"endDate":"'+e.recurrence_until+'"'),e.startTime&&""!==e.startTime&&e.endTime&&""!==e.endTime&&(n.push('"startTime":"'+e.startTime+':00"'),n.push('"endTime":"'+e.endTime+':00"'),n.push('"duration":"'+t.duration+'"')),n.push('"startDate":"'+e.startDate+'" }'),n}async function NR(e,t,n,i="all",r=!1,s=!1,o=!1){let a=t;if("apple"===t&&(a="ical"),"all"!==i?i=parseInt(i)-1:1==n.dates.length&&(i=0),n.subscribe)await async function(e,t,n,i,r){const s=i.icsFile.replace("https://","webcal://");let o=!1;switch(n){case"ical":if(SN()||i.fakeAndroid){zR(i,i.icsFile,t);break}zR(i,s,t,e,r);break;case"google":!function(e,t){const n="https://calendar.google.com/calendar/u/0/r?cid=",i="calendar.google.com/calendar?cid=";let r=!1;const s=/^(?:webcal:\/\/|\/\/)calendar\.google\.com\/.*\?cid=/.test(t)?(r=!0,t.replace(/^(.)*\?cid=/,"")):encodeURIComponent(t);if((SN()||e.fakeAndroid)&&r){if(DN())FR(e,"google",n+s,!0);else{FR(e,"google","intent://"+i+s+"#Intent;scheme=https;package=com.google.android.calendar;S.browser_fallback_url="+encodeURIComponent(n+s)+";end",!0)}return}FR(e,"google",n+s,!0)}(i,s);break;case"ms365":HR(i,s,i.name);break;case"outlookcom":HR(i,s,i.name,"outlookcom");break;case"yahoo":if(i.proxy)return void FR(i,"yahoo","",!0);try{await fz(i.icsFile),o=!0}catch(e){console.warn(e),o=!1}return void AR(e,i,"yahoo",wz("modal.subscribe.yahoo.h",i),wz("modal.clipboard.text",i)+"<br>"+wz("modal.subscribe.yahoo.text",i),[{label:wz("modal.subscribe.yahoo.button",i),primary:!0,type:"yahoo2nd",href:"https://www.yahoo.com/calendar"},{label:wz("cancel",i)}],[],r);case"yahoo2nd":try{await fz(i.icsFile),o=!0}catch(e){console.warn(e),o=!1}return void AR(e,i,"yahoo",wz("modal.subscribe.yahoo.h",i),wz("modal.clipboard.text",i)+"<br>"+wz("modal.subscribe.yahoo.text",i),[{label:wz("modal.subscribe.yahoo.button",i),type:"none",href:"https://www.yahoo.com/calendar"},{label:wz("cancel",i)}],[],r)}RR(e,i)}(e,t,a,n,r);else if("all"===i)!function(e,t,n,i,r,s){if("ical"===n&&!i.dates.some(e=>"cancelled"===e.status.toLowerCase())&&i.dates.every(e=>(e.organizer||"")===(i.dates[0].organizer||""))){BR(e,i,t,"all",r);for(let e=0;e<RN[`${i.identifier}`][`${t}`].length;e++)RN[`${i.identifier}`][`${t}`][`${e}`]++;return void RR(e,i,s)}if(!s){const n=[t];for(let e=0;e<i.dates.length;e++)n.push(e+1);AR(e,i,t,wz("modal.multidate.h",i),wz("modal.multidate.text",i),[],n,r)}}(e,t,a,n,r,s);else if("cancelled"===n.dates[`${i}`].status.toLowerCase()&&"ical"!==a)AR(e,n,"warning",wz("date.status.cancelled",n),wz("date.status.cancelled.cta",n),[],[],r);else{switch(a){case"ical":BR(e,n,t,i,r);break;case"google":!function(e,t,n="all"){const i=[];ON()||e.fakeMobile?i.push("https://calendar.google.com/calendar/render?action=TEMPLATE&"):i.push("https://calendar.google.com/calendar/r/eventedit?");const r=UR(t,"clean","google");i.push("dates="+encodeURIComponent(r.start)+"%2F"+encodeURIComponent(r.end)),!t.timeZone||""===t.timeZone||/GMT[+|-]\d{1,2}|Etc\/U|Etc\/Zulu|CET|CST6CDT|EET|EST|MET|MST|PST8PDT|WET|PST|PDT|MDT|CST|CDT|EDT|EEST|CEST|HST|HDT|AKST|AKDT|AST|ADT|AEST|AEDT|NZST|NZDT|IST|IDT|WEST|ACST|ACDT|BST/i.test(t.timeZone)||r.allday||i.push("ctz="+t.timeZone);t.name&&""!==t.name&&i.push("text="+encodeURIComponent(t.name));const s=[];t.description&&""!==t.description&&s.push(t.description);t.location&&""!==t.location&&(i.push("location="+encodeURIComponent(t.location)),(LN()||e.fakeIOS)&&(s.length>0&&s.push("<br><br>"),s.push("📍: "+t.location)));s.length>0&&i.push("details="+encodeURIComponent(s.join("")));t.recurrence&&""!==t.recurrence&&i.push("recur="+encodeURIComponent(t.recurrence));if(t.availability&&""!==t.availability){const e="free"==t.availability?"crm=AVAILABLE&trp=false":"crm=BUSY&trp=true";i.push(e)}let o=i.join("&");if((SN()||e.fakeAndroid)&&!DN()){const e=encodeURIComponent(o);o="intent://"+o.slice(8)+"#Intent;scheme=https;package=com.google.android.calendar;S.browser_fallback_url="+e+";end"}FR(e,"google",o,!1,n)}(n,n.dates[`${i}`],i);break;case"msteams":!function(e,t,n="all"){const i=[],r="https://teams.microsoft.com/l/meeting/new?",s=UR(t,"delimiters","msteams",!0);!s.allday||ON()||e.fakeMobile?(i.push("startTime="+encodeURIComponent(s.start)),i.push("endTime="+encodeURIComponent(s.end))):(i.push("startTime="+s.start),i.push("endTime="+s.end));t.name&&""!==t.name&&i.push("subject="+encodeURIComponent(t.name));let o="";t.location&&""!==t.location&&(o=t.location,o+=" // ",i.push("location="+encodeURIComponent(o)));t.descriptionHtmlFree&&""!=t.descriptionHtmlFree&&i.push("content="+o+encodeURIComponent(t.descriptionHtmlFree));FR(e,"msteams",r+i.join("&"),!1,n)}(n,n.dates[`${i}`],i);break;case"ms365":jR(n,n.dates[`${i}`],i);break;case"outlookcom":jR(n,n.dates[`${i}`],i,"outlookcom");break;
2case"yahoo":!function(e,t,n="all"){const i=[];i.push("https://calendar.yahoo.com/?v=60");const r=UR(t,"clean");if(r.allday)if(r.start===r.end)i.push("dur=allday&st="+encodeURIComponent(r.start));else{const e=JSON.parse(JSON.stringify(t));e.startTime="00:00",e.endTime="23:59",e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone;const n=UR(e,"clean");i.push("st="+encodeURIComponent(n.start)+"&et="+encodeURIComponent(n.end))}else i.push("st="+encodeURIComponent(r.start)+"&et="+encodeURIComponent(r.end));t.name&&""!==t.name&&i.push("title="+encodeURIComponent(t.name));t.location&&""!==t.location&&i.push("in_loc="+encodeURIComponent(t.location));t.descriptionHtmlFree&&""!==t.descriptionHtmlFree&&i.push("desc="+encodeURIComponent(t.descriptionHtmlFree));FR(e,"yahoo",i.join("&"),!1,n)}(n,n.dates[`${i}`],i)}const o=document.getElementById(n.identifier+"-modal-host");if(o){const e=o.shadowRoot.getElementById(n.identifier+"-"+t+"-"+(i+1));e&&e.classList.add("atcb-saved")}"cancelled"!==n.dates[`${i}`].status.toLowerCase()&&RN[`${n.identifier}`][`${t}`][`${i}`]++;0==RN[`${n.identifier}`][`${t}`].filter(function(e){return e<1}).length&&RR(e,n,s)}}function RR(e,t,n=!1){const i=e.getElementById(t.identifier);i&&i.classList.add("atcb-saved"),function(e,t){gz("success",t.identifier,t.identifier),t.ty&&!0&&setTimeout(()=>{vR(e,t)},1e3)}(e,t),n&&e.querySelectorAll(".atcb-modal[data-modal-nr]").length<2&&yR(e,"close")}function zR(e,t,n,i=null,r=!1){!LN()||xN()?FR(e,n,t,!0):$R(i,t,e,r)}function HR(e,t,n,i="ms365"){const r=[],s="outlookcom"==i?"https://outlook.live.com/calendar/0/addfromweb/?":"https://outlook.office.com/calendar/0/addfromweb/?";r.push("url="+encodeURIComponent(t)),r.push("name="+encodeURIComponent(n)),FR(e,i,s+r.join("&"),!0)}function jR(e,t,n="all",i="ms365"){const r=[],s=ON()||e.fakeMobile?"/calendar/0/deeplink/compose?path=%2Fcalendar%2Faction%2Fcompose&rru=addevent":"/calendar/0/action/compose?rru=addevent",o="outlookcom"==i?"https://outlook.live.com"+s:"https://outlook.office.com"+s;r.push(o);const a=UR(t,"delimiters","microsoft");r.push("startdt="+a.start),r.push("enddt="+a.end),a.allday&&r.push("allday=true"),t.name&&""!==t.name&&r.push("subject="+encodeURIComponent(t.name)),t.location&&""!==t.location&&r.push("location="+encodeURIComponent(t.location)),t.description&&""!==t.description&&r.push("body="+encodeURIComponent(t.description)),FR(e,i,r.join("&"),!1,n)}function FR(e,t,n="",i=!1,r=null,s=""){if(""===s&&(s=AN),e.proxy&&e.proKey&&""!==e.proKey){const s=i?"s":"o",o=function(){const t=[];return e.attendee&&""!==e.attendee&&t.push("attendee="+encodeURIComponent(e.attendee)),e.customVar&&"object"==typeof e.customVar&&Object.keys(e.customVar).length>0&&t.push("customvar="+encodeURIComponent(JSON.stringify(e.customVar))),e.dates&&e.dates.length>1&&null!==r&&"all"!==r&&t.push("sub-event="+r),t.length>0?"?"+t.join("&"):""}();if(!XR(n=`https://${e.domain?e.domain:e.dev?"dev.caldn.net":"caldn.net"}/${e.proKey}/${s}/${t}${o}`))return}if(XR(n)){const e=window.open(n,s);e&&e.focus()}}function BR(e,t,n,i="all",r=!1){"all"!==i&&(i=parseInt(i));const s=function(e,t){const n="all"!=t&&0!=t?"-"+parseInt(t)+1:"";if(null!=e.iCalFileName&&""!=e.iCalFileName)return e.iCalFileName+n;if(null!=e.icsFile&&""!=e.icsFile){const t=e.icsFile.split("/").pop().split(".")[0];if(""!=t)return t+n}return"event"+n}(t,i),o=function(){const n=e.host.getAttribute("attendee")||"",r=e.host.getAttribute("customVar")||"";return t.attendee&&""!==t.attendee&&""!==n||t.customVar&&""!==t.customVar&&""!==r?"":"all"!==i&&t.dates[`${i}`].icsFile&&""!==t.dates[`${i}`].icsFile?t.dates[`${i}`].icsFile:t.icsFile&&""!==t.icsFile?t.icsFile:""}();if(t.proxy)return void FR(t,n,"",!1,i);if(""!==o&&(!LN()&&!t.fakeIOS||!DN()||t.bypassWebViewCheck))return void WR(o,s);const a=new Date,l=["BEGIN:VCALENDAR","VERSION:2.0"];l.push("PRODID:-// https://add-to-calendar-pro.com // button v"+kN+" //EN"),l.push("CALSCALE:GREGORIAN"),"all"===i?t.dates[0].organizer&&""!==t.dates[0].organizer?l.push("METHOD:REQUEST"):l.push("METHOD:PUBLISH"):t.dates[`${i}`].status&&"cancelled"===t.dates[`${i}`].status.toLowerCase()?l.push("METHOD:CANCEL"):t.dates[`${i}`].organizer&&""!==t.dates[`${i}`].organizer?l.push("METHOD:REQUEST"):l.push("METHOD:PUBLISH");const c=[],d="all"!=i?i:0,u="all"!=i?i:t.dates.length-1;for(let e=d;e<=u;e++){const n=UR(t.dates[`${e}`],"clean","ical"),i=function(){if(n.allday)return";VALUE=DATE";if(t.dates[`${e}`].timeZone&&""!==t.dates[`${e}`].timeZone){const n=/GMT[+|-]\d{1,2}|Etc\/U|Etc\/Zulu|CET|CST6CDT|EET|EST|MET|MST|PST8PDT|WET|PST|PDT|MDT|CST|CDT|EDT|EEST|CEST|HST|HDT|AKST|AKDT|AST|ADT|AEST|AEDT|NZST|NZDT|IST|IDT|WEST|ACST|ACDT|BST/i.test(t.dates[`${e}`].timeZone)?"GMT":t.dates[`${e}`].timeZone,i=_N(n);return c.includes(n)||l.push(i[0]),c.push(n),";"+i[1]}}();if(l.push("BEGIN:VEVENT"),t.dates[`${e}`].uid&&""!==t.dates[`${e}`].uid&&l.push("UID:"+t.dates[`${e}`].uid),l.push("DTSTAMP:"+VR(a,"clean",!0)),l.push("DTSTART"+i+":"+n.start),l.push("DTEND"+i+":"+n.end),l.push("SUMMARY:"+ez(t.dates[`${e}`].name)),t.dates[`${e}`].descriptionHtmlFreeICal&&""!==t.dates[`${e}`].descriptionHtmlFreeICal&&l.push("DESCRIPTION:"+ez(t.dates[`${e}`].descriptionHtmlFreeICal)),t.dates[`${e}`].description&&""!==t.dates[`${e}`].description&&l.push('X-ALT-DESC;FMTTYPE=text/html:\r\n <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">\r\n <HTML><BODY>\r\n '+ez(t.dates[`${e}`].description)+"\r\n </BODY></HTML>"),t.dates[`${e}`].location&&""!==t.dates[`${e}`].location&&l.push("LOCATION:"+ez(t.dates[`${e}`].location)),t.dates[`${e}`].organizer&&""!==t.dates[`${e}`].organizer){const n=t.dates[`${e}`].organizer.split("|");l.push("ORGANIZER;CN="+ez(n[0],!0)+":MAILTO:"+n[1])}if(t.dates[`${e}`].attendee&&""!==t.dates[`${e}`].attendee){const n=t.dates[`${e}`].attendee.split("|");2===n.length?l.push("ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN="+ez(n[0],!0)+";X-NUM-GUESTS=0:mailto:"+n[1]):l.push("ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN="+n[0]+";X-NUM-GUESTS=0:mailto:"+n[0])}
2if(t.recurrence&&""!==t.recurrence&&l.push(t.recurrence),t.dates[`${e}`].availability&&""!==t.dates[`${e}`].availability){const n=function(){return"free"==t.dates[`${e}`].availability?"TRANSPARENT":"OPAQUE"}();l.push("TRANSP:"+n)}l.push("SEQUENCE:"+t.dates[`${e}`].sequence),l.push("STATUS:"+t.dates[`${e}`].status),l.push("CREATED:"+t.created),l.push("LAST-MODIFIED:"+t.updated),l.push("END:VEVENT")}l.push("END:VCALENDAR");const h=function(){if(""!==o)return o;const e=function(e){const t=e.split("\r\n"),n=[];for(let e of t){if(!e||e.length<=65){n.push(e);continue}let t="",i=0;const r=[];for(;i<e.length;){const n=e.charAt(i),s=n.charCodeAt(0)>=55296&&n.charCodeAt(0)<=56319,o=i>0&&"\\"===e.charAt(i-1);(t+n).length>65&&!s&&!o&&(r.push(t),t=""),t+=n,i++,s&&i<e.length&&(t+=e.charAt(i),i++)}t.length>0&&r.push(t),n.push(r[0]);for(let e=1;e<r.length;e++)n.push(" "+r[`${e}`])}return n.join("\r\n")}(l.join("\r\n"));return"data:text/calendar;charset=utf-8,"+encodeURIComponent(e)}();LN()&&!xN()||DN()&&(LN()||SN()&&YN())?$R(e,h,t,r):WR(h,s)}async function $R(e,t,n,i){let r=!1;try{await fz(t),r=!0}catch(e){console.warn(e),r=!1}!LN()||xN()?AR(e,n,"warning",wz("modal.webview.ical.h",n),wz("modal.webview.ical.text",n)+"<br>"+wz("modal.clipboard.text",n)+"<br>"+wz("modal.webview.ical.steps",n),[],[],i):AR(e,n,"warning",wz("modal.opensafari.ical.h",n),wz("modal.opensafari.ical.text",n)+"<br>"+wz("modal.clipboard.text",n)+"<br>"+wz("modal.opensafari.ical.steps",n),[],[],i)}function WR(e,t){try{const n=document.createElementNS("http://www.w3.org/1999/xhtml","a");n.rel="noopener",n.href=e,ON()?n.target="_self":n.target="_blank",n.download=t+".ics";const i=new MouseEvent("click",{view:window,button:0,bubbles:!0,cancelable:!1});n.dispatchEvent(i),(window.URL||window.webkitURL).revokeObjectURL(n.href)}catch(e){console.error(e)}}function UR(e,t="delimiters",n="general",i=!1){if(e.startTime&&""!==e.startTime&&e.endTime&&""!==e.endTime){const r=new Date(e.startDate+"T"+e.startTime+":00.000+00:00");e.endDate||(e.endDate=e.startDate);const s=new Date(e.endDate+"T"+e.endTime+":00.000+00:00"),o=s-r,a=Math.floor(o/1e3/60/60),l=Math.floor((o-60*a*60*1e3)/1e3/60%60),c=a<10?"0"+a+":"+("0"+l).slice(-2):a+":"+("0"+l).slice(-2);if(("ical"==n||"google"==n)&&!/GMT[+|-]\d{1,2}|Etc\/U|Etc\/Zulu|CET|CST6CDT|EET|EST|MET|MST|PST8PDT|WET|PST|PDT|MDT|CST|CDT|EDT|EEST|CEST|HST|HDT|AKST|AKDT|AST|ADT|AEST|AEDT|NZST|NZDT|IST|IDT|WEST|ACST|ACDT|BST/i.test(e.timeZone))return{start:VR(r,"clean",!0,!0),end:VR(s,"clean",!0,!0),duration:c,allday:!1};const d=bN(e.timeZone,e.startDate,e.startTime),u=bN(e.timeZone,e.endDate,e.endTime);if(i){const e=d.slice(0,3)+":"+d.slice(3),t=u.slice(0,3)+":"+u.slice(3);return{start:r.toISOString().replace(".000Z",e),end:s.toISOString().replace(".000Z",t),duration:c,allday:!1}}const h=-1*parseInt(d[0]+1)*(60*(60*parseInt(d.substring(1,3))+parseInt(d.substring(3,5)))*1e3),f=-1*parseInt(u[0]+1)*(60*(60*parseInt(u.substring(1,3))+parseInt(u.substring(3,5)))*1e3);return r.setTime(r.getTime()+h),s.setTime(s.getTime()+f),{start:VR(r,t),end:VR(s,t),duration:c,allday:!1}}{const i=e.startDate.split("-"),r=e.endDate?e.endDate.split("-"):i,s=new Date(Date.UTC(i[0],i[1]-1,i[2],12,0,0)),o=new Date(Date.UTC(r[0],r[1]-1,r[2],12,0,0));if(("google"===n||"microsoft"===n&&!ON()||"msteams"===n||"ical"===n)&&o.setDate(o.getDate()+1),"msteams"===n){if(ON()){const e=s.getTimezoneOffset(),n=e<0?"+"+("0"+Math.abs(e/60)).slice(-2)+":"+("0"+Math.abs(e%60)).slice(-2):"-"+("0"+Math.abs(e/60)).slice(-2)+":"+("0"+Math.abs(e%60)).slice(-2);return{start:VR(s,t,!1,!0)+"T00:00:00"+n,end:VR(o,t,!1,!0)+"T00:00:00"+n,allday:!0}}return{start:VR(s,t,!1,!0)+"+00:00",end:VR(o,t,!1,!0)+"+00:00",allday:!0}}return{start:VR(s,t,!1),end:VR(o,t,!1),allday:!0}}}function VR(e,t="delimiters",n=!0,i=!1){const r=n?"clean"==t?/(-|:|(\.\d{3}))/g:/(\.\d{3})/g:"clean"==t?/(-|T(\d{2}:\d{2}:\d{2}\.\d{3})Z)/g:/T(\d{2}:\d{2}:\d{2}\.\d{3})Z/g;return i?e.toISOString().replace(r,"").replace("Z",""):e.toISOString().replace(r,"")}function ZR(e,t,n,i){const r=new Date(`${e}T${t}:00Z`),s=bN(n,e,t),o=new Date(r.getTime()-function(e){const t="+"===e[0]?1:-1;return(60*parseInt(e.substring(1,3),10)+parseInt(e.substring(3,5),10))*t*6e4}(s)),a=new Intl.DateTimeFormat("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",timeZone:i,hourCycle:"h23"}
2).format(o);return[e,t]=a.split(", ")}function qR(e,t=!1,n="en"){const i="en"===n?"h12":"h23";return t?{DateLong:{timeZone:e,month:"short",day:"numeric"},DateTimeLong:{timeZone:e,month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hourCycle:i},Time:{timeZone:e,hour:"numeric",minute:"2-digit",hourCycle:i}}:{DateLong:{timeZone:e,year:"numeric",month:"numeric",day:"numeric"},DateTimeLong:{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",hourCycle:i},Time:{timeZone:e,hour:"numeric",minute:"2-digit",hourCycle:i}}}function QR(e,t=!0){const n=(t?JSON.stringify(e):e.toString()).replace(/(<(?!br)([^>]+)>)/gi,"");return t?JSON.parse(n):n}function XR(e,t=!0){return!e||!e.match(/((\.\.\/)|(\.\.\\)|(%2e%2e%2f)|(%252e%252e%252f)|(%2e%2e\/)|(%252e%252e\/)|(\.\.%2f)|(\.\.%252f)|(%2e%2e%5c)|(%252e%252e%255c)|(%2e%2e\\)|(%252e%252e\\)|(\.\.%5c)|(\.\.%255c)|(\.\.%c0%af)|(\.\.%25c0%25af)|(\.\.%c1%9c)|(\.\.%25c1%259c))/gi)||(t&&console.error("Seems like the generated URL includes at least one security issue and got blocked. Please check the calendar button parameters!"),!1)}function GR(e){return!!/^.{0,70}@.{1,30}\.[a-z]{2,9}$/i.test(e)}function KR(e,t=!1,n=!1){return e=t?(e=(e=(e=(e=(e=n?e.replace(/(\[br\s?\/?\]|\{br\s?\/?\}|(\[\/p\](?=.))|(\{\/p\}(?=.)))/gi,"\\n"):e.replace(/(\[br\s?\/?\]|\{br\s?\/?\}|(\[\/p\](?=.))|(\{\/p\}(?=.)))/gi," ")).replace(/\[url\](.+?)\[\/url\]/gi,(e,t)=>t.split("|")[0])).replace(/\{url\}(.+?)\{\/url\}/gi,(e,t)=>t.split("|")[0])).replace(/\[\/?(hr|[pbui]|strong|em|li|ul|ol|h\d)\]/gi,"")).replace(/\{\/?(hr|[pbui]|strong|em|li|ul|ol|h\d)\}/gi,"")).replace(/&[#a-z0-9]{1,9};/gi,""):(e=(e=(e=e.replace(/\[url\]((?:(?!\[\/url\]).)*)\[\/url\]/gi,function(e,t){return JR(t)})).replace(/\{url\}((?:(?!\[\/url\]).)*)\{\/url\}/gi,function(e,t){return JR(t)})).replace(/\[(\/)?(br|hr|[pbui]|strong|em|li|ul|ol|h\d)(\s?\/?)\]/gi,"<$1$2$3>")).replace(/\{(\/)?(br|hr|[pbui]|strong|em|li|ul|ol|h\d)(\s?\/?)\}/gi,"<$1$2$3>")}function JR(e){const t=e.split("|"),n=t.length>1&&""!=t[1]?t[1]:t[0];return'<a href="'+t[0]+'" target="'+AN+'" rel="noopener">'+n+"</a>"}function ez(e,t=!1){return e=t?e.replace(/"/g,""):e.replace(/\\/g,"\\\\").replace(/(,|;)/g,"\\$1").replace(/\\\\n/g,"\\n")}function tz(e,t,n,i=!1,r=!1){let s=!1;const o=t;null!==t.querySelector(".atcb-dropdown-anchor")&&(t=t.querySelector(".atcb-dropdown-anchor"),s=!0),n.style.position="relative",n.style.display="inline-block";let a=t.getBoundingClientRect();const l=o.getBoundingClientRect(),c=o.parentNode.getBoundingClientRect(),d=document.documentElement.clientHeight;if(!0!==s||n.classList.contains("atcb-dropoverlay")){n.style.minWidth=l.width+20+"px";const e=n.getBoundingClientRect();n.style.width=e.width+"px";const t=Math.round((l.width-e.width)/2);n.style.margin=-Math.round((e.height+l.height)/2)+"px "+t+"px 0 "+t+"px"}else{let e=n.getBoundingClientRect();n.style.width=e.width+"px",n.classList.contains("atcb-dropup")||!i&&a.top+e.height>d-20&&2*l.top+l.height-a.top-e.height>20||r?(o.classList.add("atcb-dropup"),n.classList.add("atcb-dropup"),n.style.bottom=c.bottom-l.bottom+(a.top-l.top)+"px"):(n.style.top=l.top-c.top+(a.top-l.top)+"px",o.classList.contains("atcb-dropup")&&o.classList.remove("atcb-dropup")),a=t.getBoundingClientRect(),n.classList.contains("atcb-style-simple")||n.classList.contains("atcb-style-round")||n.classList.contains("atcb-style-text")||n.classList.contains("atcb-style-neumorphism")||(n.style.minWidth=a.width+"px",n.classList.contains("atcb-dropdown")&&(n.style.maxWidth=a.width+"px")),e=n.getBoundingClientRect(),n.style.left=Math.round(a.left-c.left-(e.width-a.width)/2)+"px"}n.style.position="absolute",n.style.display="block";const u=e.querySelector("#atcb-reference");u&&o.classList.contains("atcb-dropup")&&(o.parentNode.after(u),u.classList.add("atcb-dropup"))}function nz(e,t){const n=e.querySelector(".atcb-initialized ").getBoundingClientRect(),i=t.querySelector(".atcb-initialized");let r=n.width;n.width<250&&(r=250),i.style.width=r+"px",i.style.height=n.height+"px",i.style.top=n.top+"px",i.style.left=n.left+"px"}function iz(){const e=RN.active;if(null!==e&&""!==e){nz(document.querySelector("add-to-calendar-button[atcb-button-id="+e+"]").shadowRoot,document.querySelector("div[atcb-button-id="+e+"]").shadowRoot)}}function rz(e,t=null){null!=function(){if(null!=t)return t;{const t=e.querySelectorAll(".atcb-modal");return 0===t.length?null:t[t.length-1]}}()&&(document.body.classList.add("atcb-modal-no-scroll"),document.documentElement.classList.add("atcb-modal-no-scroll"))}function sz(e){e.style.width=window.innerWidth+"px",e.style.height=window.innerHeight+100+"px"}function oz(e,t){e.style.setProperty("--base-font-size-l",t.l+"px"),e.style.setProperty("--base-font-size-m",t.m+"px"),e.style.setProperty("--base-font-size-s",t.s+"px")}function az(){const e=([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16));return e}function lz(e,t){if(!t||!e)return e;switch(t){case"upper":return e.toString().toUpperCase();case"lower":return e.toString().toLowerCase();default:return e}}function cz(e,t=!0){const n=e.replace("RRULE:","").split(";").reduce((e,t)=>
2{const[n,i]=t.split("=");return e[`${n}`]=i,e},{});if(!n.FREQ)throw new Error("RRULE must have FREQ");if(n.FREQ=n.FREQ.toUpperCase(),n.INTERVAL=n.INTERVAL?parseInt(n.INTERVAL.toString(),10):1,n.COUNT=n.COUNT?parseInt(n.COUNT.toString(),10):null,n.UNTIL){const e=n.UNTIL.toString();n.UNTIL=t?new Date(Date.UTC(parseInt(e.slice(0,4),10),parseInt(e.slice(4,6),10)-1,parseInt(e.slice(6,8),10),parseInt(e.slice(9,11)||"0",10),parseInt(e.slice(11,13)||"0",10))):e}if(n.BYWEEKDAY||n.BYDAY){const e=(n.BYWEEKDAY||n.BYDAY)?.toString();if(t){const{plainWeekdays:t,ordinals:i}=function(e){const t=e?e.toString().split(","):[],n=e=>{switch(e){case"SU":return 0;case"MO":return 1;case"TU":return 2;case"WE":return 3;case"TH":return 4;case"FR":return 5;case"SA":return 6;default:return}},i=[],r=[];for(const e of t){const t=e.trim().toUpperCase();if(t.length<2)continue;const s=n(t.slice(-2));if(void 0===s)continue;const o=t.slice(0,t.length-2);if(o){let e=1,t=o;if("+"===t[0]?t=t.slice(1):"-"===t[0]&&(e=-1,t=t.slice(1)),!t||t.length>2)continue;if("string"!=typeof t||!/^\d+$/.test(t))continue;const n=parseInt(t,10);if(n<1||n>53)continue;r.push({n:e*n,day:s})}else i.push(s)}return{plainWeekdays:i,ordinals:r}}(e);n.BYWEEKDAY=t.length?t:null,n.BYDAY_ORDINALS=i.length?i:null}else n.BYWEEKDAY=n.BYWEEKDAY||n.BYDAY}return n.BYMONTH=t&&n.BYMONTH?n.BYMONTH.toString().split(",").map(e=>parseInt(e,10)):n.BYMONTH,n.BYYEARDAY=t&&n.BYYEARDAY?n.BYYEARDAY.toString().split(",").map(e=>parseInt(e,10)):n.BYYEARDAY,n.BYMONTHDAY=t&&n.BYMONTHDAY?n.BYMONTHDAY.toString().split(",").map(e=>parseInt(e,10)):n.BYMONTHDAY,n.BYWEEKNO=t&&n.BYWEEKNO?n.BYWEEKNO.toString().split(",").map(e=>parseInt(e,10)):n.BYWEEKNO,n.BYHOUR=t&&n.BYHOUR?n.BYHOUR.toString().split(",").map(e=>parseInt(e,10)):n.BYHOUR,n}function dz(e){const t=new Date(Date.UTC(e.getUTCFullYear(),0,1));return Math.floor((e.getTime()-t.getTime())/864e5)+1}function uz(e,t,n){const i=parseInt(t.INTERVAL.toString(),10)||1;switch(t.FREQ){case"YEARLY":return(e.getUTCFullYear()-n.getUTCFullYear())%i===0;case"MONTHLY":return(12*(e.getUTCFullYear()-n.getUTCFullYear())+(e.getUTCMonth()-n.getUTCMonth()))%i===0;case"WEEKLY":{const t=Math.floor((e.getTime()-n.getTime())/864e5);return Math.floor(t/7)%i===0}case"DAILY":return Math.floor((e.getTime()-n.getTime())/864e5)%i===0;default:return!0}}function hz(e,t,n){return!!function(e,t){if(t.BYMONTH&&!t.BYMONTH.includes(e.getUTCMonth()+1))return!1;if(t.BYYEARDAY&&!t.BYYEARDAY.includes(dz(e)))return!1;if(t.BYMONTHDAY&&!t.BYMONTHDAY.includes(e.getUTCDate()))return!1;if(t.BYWEEKNO&&!t.BYWEEKNO.includes(function(e){const t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));t.setUTCDate(t.getUTCDate()+4-(t.getUTCDay()||7));const n=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t.getTime()-n.getTime())/864e5+1)/7)}(e)))return!1;const n=!(!t.BYWEEKDAY||!t.BYWEEKDAY.length),i=n?t.BYWEEKDAY.includes(e.getUTCDay()):null;let r=null;if(t.BYDAY_ORDINALS&&Array.isArray(t.BYDAY_ORDINALS)&&t.BYDAY_ORDINALS.length>0){const n=e.getUTCDay(),i=e.getUTCFullYear(),s=e.getUTCMonth(),o=dz(e),a=new Date(Date.UTC(i,s+1,0)).getUTCDate(),l=dz(new Date(Date.UTC(i,11,31))),c=(t,n)=>{if(0===t)return!1;if(t>0){const r=1+(n-new Date(Date.UTC(i,s,1)).getUTCDay()+7)%7+7*(t-1);return r>=1&&r<=a&&e.getUTCDate()===r}{const r=new Date(Date.UTC(i,s+1,0)),o=(r.getUTCDay()-n+7)%7,l=r.getUTCDate()-o+7*(t+1);return l>=1&&l<=a&&e.getUTCDate()===l}},d=(e,t)=>{if(0===e)return!1;if(e>0){const n=1+(t-new Date(Date.UTC(i,0,1)).getUTCDay()+7)%7+7*(e-1);return n>=1&&n<=l&&o===n}{const n=new Date(Date.UTC(i,11,31)).getUTCDay(),r=l-(n-t+7)%7+7*(e+1);return r>=1&&r<=l&&o===r}},u=t.BYDAY_ORDINALS.some(({n:e,day:i})=>i===n&&("MONTHLY"===t.FREQ?c(e,i):"YEARLY"===t.FREQ&&(t.BYMONTH&&t.BYMONTH.length>0?c(e,i):!t.BYWEEKNO&&d(e,i))));r=u}return(!1!==i||!1!==r)&&((!1!==i||null!==r)&&((!1!==r||null!==i)&&!(t.BYHOUR&&!t.BYHOUR.includes(e.getUTCHours()))))}(e,t)&&!!function(e,t,n){if(!t.BYHOUR&&e.getUTCHours()!==n.getUTCHours())return!1;const i=!(!t.BYWEEKDAY||!t.BYWEEKDAY.length)||!(!t.BYDAY_ORDINALS||!t.BYDAY_ORDINALS.length);return!("WEEKLY"===t.FREQ&&!i&&e.getUTCDay()!==n.getUTCDay())&&(!("MONTHLY"===t.FREQ&&!t.BYMONTHDAY&&!i&&e.getUTCDate()!==n.getUTCDate())&&
2(!("YEARLY"===t.FREQ&&!t.BYMONTH&&e.getUTCMonth()!==n.getUTCMonth())&&!!("YEARLY"!==t.FREQ||t.BYMONTHDAY||i||t.BYYEARDAY||t.BYWEEKNO||e.getUTCDate()===n.getUTCDate())))}(e,t,n)}async function fz(e){const t=(e??"").toString().trim();if(!t)throw new Error("No value to copy!");if((()=>{try{return!("undefined"==typeof window||!("isSecureContext"in window)||!window.isSecureContext)||(!("undefined"==typeof window||!window.location||"https:"!==window.location.protocol)||!("undefined"==typeof window||!window.location||"localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname))}catch{return!1}})()&&"undefined"!=typeof navigator&&navigator.clipboard){try{if("function"==typeof navigator.clipboard.writeText)return await navigator.clipboard.writeText(t),"Copied!"}catch{}try{if("undefined"!=typeof window&&void 0!==window.ClipboardItem&&"function"==typeof navigator.clipboard.write){const e="text/plain",n=new Blob([t],{type:e}),i=[new ClipboardItem({[e]:n})];return await navigator.clipboard.write(i),"Copied!"}}catch{}}if((()=>{if("undefined"==typeof window||"undefined"==typeof document)return!1;if(!document.queryCommandSupported||!document.queryCommandSupported("copy"))return!1;const e=document.createElement("textarea"),n=document.activeElement;e.value=t,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="fixed",e.style.top="-9999px",e.style.left="-9999px",e.style.opacity="0",e.style.outline="none",e.style.pointerEvents="none",e.style.fontSize="12pt",document.body.appendChild(e);try{e.focus(),e.select(),LN()&&(e.selectionStart=0,e.selectionEnd=t.length);const i=document.execCommand("copy");return document.body.removeChild(e),n&&"function"==typeof n.focus&&n.focus(),i}catch{return document.body.removeChild(e),n&&"function"==typeof n.focus&&n.focus(),!1}})())return"Copied!";throw new Error("Clipboard copy not supported in this environment")}function mz(e,t=200){let n;return(...i)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(this,i)},t)}}function pz(e,t=300){let n;return(...i)=>{n||e.apply(this,i),clearTimeout(n),n=setTimeout(()=>{n=void 0},t)}}function gz(e,t,n){const i=function(){const e=document.getElementById(n);return e||document.querySelector('[atcb-button-id="'+n+'"]')}();i&&i.setAttribute("atcb-last-event",e+":"+t),MN()&&function(e,t){let n="";switch(e){case"initialization":n="Initialized";break;case"openList":case"openCalendarLink":case"openSingletonLink":case"openSubEventLink":case"openRSVP":n="Opened";break;case"closeList":n="Closed";break;case"success":case"successRSVP":n="Saved"}const i="openRSVP"===e||"successRSVP"===e?"Add-to-Calendar-RSVP":"Add-to-Calendar-Button";(window.dataLayer=window.dataLayer||[]).push({eventCategory:i,eventAction:n,eventLabel:t,event:e})}(e,t)}const yz=["ar","fa","he"],_z={apple:"Apple",google:"Google",ms365:"Microsoft 365",msteams:"Microsoft Teams",outlookcom:"Outlook.com",yahoo:"Yahoo"},bz={en:{"label.addtocalendar":"Add to Calendar",ical:"iCal File",..._z,"modal.button.default":"Click me","modal.webview.ical.h":"Open your browser","modal.webview.ical.text":"Unfortunately, in-app browsers have problems with the way we generate the calendar file.","modal.clipboard.text":"We automatically copied a magical URL into your clipboard.","modal.webview.ical.steps":"<ol><li><strong>Open another browser</strong> on your phone, ...</li><li><strong>Paste</strong> the clipboard content and go.</li></ol>","modal.opensafari.ical.h":"Open Safari","modal.opensafari.ical.text":"Unfortunately, iOS has some problems generating and opening the calendar file outside of Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Open Safari</strong>, ...</li><li><strong>Paste</strong> the clipboard content and go.</li></ol>","modal.multidate.h":"This is an event series","modal.multidate.text":"Add the individual events one by one:","date.status.cancelled":"This date got cancelled.","date.status.cancelled.cta":"Please update your calendar!","modal.subscribe.yahoo.h":"Add Calendar to Yahoo","modal.subscribe.yahoo.text":'<ol><li>Open now the Yahoo Calendar.</li><li>Click the "Actions" tab.</li><li>Hit "Follow Other Calendars".</li><li>Set a name and paste the clipboard content into the url field.</li></ol>',"modal.subscribe.yahoo.button":"Open Yahoo Calendar",close:"Close",continue:"Continue",cancel:"Cancel",expired:"Expired",recurring:"Recurring",thankyou:"Thank y
2ou",submit:"Submit","label.rsvp":"RSVP","label.share.email":"Share via Email","label.share.copy":"Copy Link","label.share.copied":"Copied","label.share.email.subject":"Save this event","form.error.required":"You did not properly fill all required fields","form.error.sending":"There was a problem sending your response. Please try again later","form.success":"Sent successfully!"},de:{"label.addtocalendar":"Im Kalender speichern",ical:"iCal-Datei",..._z,"modal.button.default":"Klick mich","modal.webview.ical.h":"Ãffne deinen Browser","modal.webview.ical.text":"Leider haben In-App-Browser Probleme mit der Art, wie wir Kalender-Dateien erzeugen.","modal.clipboard.text":"Wir haben automatisch eine magische URL in deine Zwischenablage kopiert.","modal.webview.ical.steps":"<ol><li><strong>Ãffne einen anderen Browser</strong> auf deinem Smartphone, ...</li><li>Nutze die <strong>Einfügen</strong>-Funktion, um fortzufahren.</li></ol>","modal.opensafari.ical.h":"Ãffne Safari","modal.opensafari.ical.text":"Leider hat iOS einige Probleme beim Generieren und Ãffnen der Kalenderdatei auÃerhalb von Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Ãffne Safari</strong>, ...</li><li>Nutze die <strong>Einfügen</strong>-Funktion, um fortzufahren.</li></ol>","modal.multidate.h":"Dies ist eine Termin-Reihe","modal.multidate.text":"Füge die einzelnen Termine der Reihe nach deinem Kalender hinzu:","date.status.cancelled":"Dieser Termin wurde abgesagt.","date.status.cancelled.cta":"Bitte aktualisiere deinen Kalender!","modal.subscribe.yahoo.h":"Kalender zu Yahoo hinzufügen","modal.subscribe.yahoo.text":'<ol><li>Ãffne den Yahoo-Kalender.</li><li>Klicke auf den "Aktionen"-Tab.</li><li>Wähle "Weiteren Kalendern folgen".</li><li>Wähle einen Namen und füge die URL aus deiner Zwischenablage in das URL-Feld ein.</li></ol>',"modal.subscribe.yahoo.button":"Yahoo-Kalender öffnen",close:"SchlieÃen",continue:"Weiter",cancel:"Abbrechen",expired:"Abgelaufen",recurring:"Wiederkehrend",thankyou:"Danke",submit:"Absenden","label.share.email":"Per E-Mail teilen","label.share.copy":"Link kopieren","label.share.copied":"Kopiert","label.share.email.subject":"Merke dir diesen Termin","form.error.required":"Du hast nicht alle erforderlichen Felder korrekt ausgefüllt","form.error.sending":"Es gab ein Problem beim Senden deiner Antwort. Bitte versuche es später noc
2h einmal","form.success":"Erfolgreich gesendet!"},es:{"label.addtocalendar":"Añadir al Calendario",ical:"iCal Ficha",..._z,"modal.button.default":"Haz clic mÃ","modal.webview.ical.h":"Abra su browser","modal.webview.ical.text":"Lamentablemente, los browsers in-app tienen problemas con la forma en que generamos el archivo del calendario.","modal.clipboard.text":"Hemos copiado automáticamente una URL mágica en su portapapeles.","modal.webview.ical.steps":"<ol><li><strong>Abre otro browser</strong> en tu smartphone, ...</li><li>Utilice la función de <strong>pegar</strong> para continuar.</li></ol>","modal.opensafari.ical.h":"Abrir Safari","modal.opensafari.ical.text":"Desafortunadamente, iOS tiene algunos problemas para generar y abrir el archivo de calendario fuera de Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Abrir Safari</strong>, ...</li><li>Utilice la función de <strong>pegar</strong> para continuar.</li></ol>","modal.multidate.h":"Esta es una serie de fechas","modal.multidate.text":"Añada las fechas individuales a su calendario en orden:","date.status.cancelled":"Esta fecha fue cancelada.","date.status.cancelled.cta":"Actualice su calendario!","modal.subscribe.yahoo.h":"Añadir calendario a Yahoo","modal.subscribe.yahoo.text":'<ol><li>Abra el calendario de Yahoo.</li><li>Haga clic en la pestaña "Acciones".</li><li>Seleccione "Seguir otros calendarios".</li><li>Elige un nombre y pega la URL de tu portapapeles en el campo URL.</li></ol>',"modal.subscribe.yahoo.button":"Abrir calendario de Yahoo",close:"Ciérralo",continue:"Continuar",cancel:"Cancelar",expired:"Caducada",recurring:"Periódica",thankyou:"Gracias",submit:"Enviar","label.share.email":"Compartir por E-mail","label.share.copy":"Copiar enlace","label.share.copied":"Copiado","label.share.email.subject":"Recuerda esta fecha","form.error.required":"No has completado correctamente todos los campos requeridos","form.error.sending":"Hubo un problema al enviar tu respuesta. Por favor, inténtalo de nuevo más tarde","form.success":"Env
2iado con éxito!"},pt:{"label.addtocalendar":"Incluir no Calendário",ical:"Ficheiro iCal",..._z,"modal.button.default":"Clicar-me","modal.webview.ical.h":"Abra o seu browser","modal.webview.ical.text":"Infelizmente, os navegadores em tampas têm problemas com a forma como geramos o ficheiro de calendário.","modal.clipboard.text":"Copiámos automaticamente um URL mágico para a sua área de transferência.","modal.webview.ical.steps":"<ol><li><strong>Abrir outro browser</strong> en tu smartphone, ...</li><li>Use a função <forte>colar</strong> para continuar.</li></ol>","modal.opensafari.ical.h":"Safari aberto","modal.opensafari.ical.text":"Infelizmente, o iOS tem alguns problemas para gerar e abrir o arquivo de calendário fora do Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Safari aberto</strong>, ...</li><li>Use a função <forte>colar</strong> para continuar.</li></ol>","modal.multidate.h":"Esta é uma série de datas","modal.multidate.text":"Adicione as datas individuais ao seu calendário, por ordem:","date.status.cancelled":"Esta data foi cancelada.","date.status.cancelled.cta":"Actualize o seu calendário!","modal.subscribe.yahoo.h":"Adicionar calendário ao Yahoo","modal.subscribe.yahoo.text":'<ol><li>Abrir o calendário do Yahoo.</li><li>Clique no separador "Acções".</li><li>Seleccione "Seguir outros calendários".</li><li>Escolha um nome e cole o URL da sua área de transferência no campo URL.</li></ol>',"modal.subscribe.yahoo.button":"Abra o Calendário do Yahoo",close:"Fechar",continue:"Continuar",cancel:"Cancelar",expired:"Expirada",recurring:"Recorrente",thankyou:"Obrigado",submit:"Enviar","label.share.email":"Compartilhar por e-mail","label.share.copy":"Copiar link","label.share.copied":"Copiado","label.share.email.subject":"Lembre-se desta data","form.error.required":"Você não preencheu todos os campos obrigatórios corretamente","form.error.sending":"Houve um problema ao enviar sua resposta. Por favor, tente novamente mais tarde","form.success":"Env
2iado com sucesso!"},fr:{"label.addtocalendar":"Ajouter à l'Agenda",ical:"Fichier iCal",..._z,"modal.button.default":"Cliquez-moi","modal.webview.ical.h":"Ouvrez votre navigateur","modal.webview.ical.text":"Malheureusement, les navigateurs intégrés aux applications ont des problèmes avec la manière dont nous créons les fichiers de calendrier.","modal.clipboard.text":"Nous avons automatiquement copié une URL magique dans votre presse-papier.","modal.webview.ical.steps":"<ol><li><strong>Ouvrez un autre navigateur</strong> sur votre smartphone ;</li><li><strong>Collez</strong> le contenu du presse-papier et continuez.</li></ol>","modal.opensafari.ical.h":"Ouvrir Safari","modal.opensafari.ical.text":"Malheureusement, iOS rencontre des problèmes pour générer et ouvrir le fichier de calendrier en dehors de Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Ouvrez Safari</strong> ;</li><li><strong>Collez</strong> le contenu du presse-papier et continuez.</li></ol>","modal.multidate.h":"Ceci est une liste dâévènements","modal.multidate.text":"Ajouter les évènements un par un :","date.status.cancelled":"Cet évènement est annulé.","date.status.cancelled.cta":"Actualisez votre agenda !","modal.subscribe.yahoo.h":"Ajouter un agenda à Yahoo","modal.subscribe.yahoo.text":"<ol><li>Ouvrez lâAgenda Yahoo ;</li><li>Cliquez sur lâonglet « Actions » ;</li><li>Sélectionnez « Suivre dâautres agendas » ;</li><li>Choisissez un nom et collez le contenu de votre presse-papier dans le champ URL.</li></ol>","modal.subscribe.yahoo.button":"Ouvrir le calendrier Yahoo",close:"Fermer",continue:"Continuer",cancel:"Annuler",expired:"Expiré",recurring:"Récurrent",thankyou:"Merci",submit:"Envoyer","label.share.email":"Partager par E-mail","label.share.copy":"Copier le lien","label.share.copied":"Copié","label.share.email.subject":"Retenez cette date","form.error.required":"Tu n'as pas correctement rempli tous les champs requis","form.error.sending":"Il y a eu un problème lors de l'envoi de ta réponse. Veuillez réessayer plus tard","form.success":"Envoyé avec succès!"},nl:{"label.addtocalendar":"Opslaan in Agenda",ical:"iCal File",..._z,"modal.button.default":"Klik me","modal.webview.ical.h":"Open uw browser","modal.webview.ical.text":"Helaas hebben in-app browsers problemen met de manier waarop wij kalenderbestanden maken.","modal.clipboard.text":"We hebben automatisch een magische URL naar je klembord gekopieerd.","modal.webview.ical.steps":"<ol><li><strong>Open een andere browser</strong> op uw smartphone, ...</li><li>Gebruik de <strong>insert</strong> functie om verder te gaan.</li></ol>","modal.opensafari.ical.h":"Open Safari","modal.opensafari.ical.text":"Helaas heeft iOS enkele problemen met het genereren en openen van het agendabestand buiten Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Open Safari</strong>, ...</li><li>Gebruik de <strong>insert</strong> functie om verder te gaan.</li></ol>","modal.multidate.h":"Dit is een reeks data","modal.multidate.text":"Voeg de afzonderlijke delen één voor één toe:","date.status.cancelled":"Deze datum is geannuleerd.","date.status.cancelled.cta":"Uw agenda bijwerken!","modal.subscribe.yahoo.h":"Toevoegen aan Yahoo","modal.subscribe.yahoo.text":'<ol><li>Open de Yahoo calendar.</li><li>Klik op de "Acties" tab.</li><li>Selecteer "Volg Andere Agenda\'s".</li><li>Kies een naam en plak de URL van uw klembord in het URL-veld.</li></ol>',"modal.subscribe.yahoo.button":"Open Yahoo Agenda",close:"Sluiten",continue:"Doorgaan",cancel:"Annuleren",expired:"Verlopen",recurring:"Terugkerend",thankyou:"Bedankt",submit:"Versturen","label.share.email":"Delen via E-mail","label.share.copy":"Link kopiëren","label.share.copied":"Gekopieerd","label.share.email.subject":"Onthoud deze datum","form.error.required":"Je hebt niet alle vereiste velden correct ingevuld","form.error.sending":"Er was een probleem met het versturen van je antwoord. Probeer het later opnieuw","form.success":"Succesvol verstuurd!"},tr:{"label.addtocalendar":"Takvime Ekle",ical:"iCal Dosyası",..._z,"modal.button.default":"Beni tıklayın","modal.webview.ical.h":"Tarayıcınızı açın","modal.webview.ical.text":"Ne yazık ki, uygulama içi tarayıcılar takvim dosyalarını oluÅturma Åeklimizle ilgili sorunlar yaÅıyor.","modal.clipboard.text":"Panonuza otomatik olarak sihirli bir URL kopyaladık.","modal.webview.ical.steps":"<ol><li><strong>Akıllı telefonunuzda baÅka bir tarayıcı açın</strong>, ...</li><li>Devam etmek için <strong>insert</strong> fonksiyonunu kullanın.</li></ol>","modal.opensafari.ical.h":"Açık Safari","modal.opensafari.ical.text":"Ne yazık ki iOS, takvim dosyasını Safari dıÅında oluÅtururken ve açarken bazı sorunlar yaÅıyor.","modal.opensafari.ical.steps":"<ol><li><strong>Açık Safari</strong>, ...</li><li>Devam etmek için <strong>insert</strong> fonksiyonunu kullanın.</li></ol>","modal.multidate.h":"Bu bir etkinlik serisidir","modal.multidate.text":"Parçaları teker teker ekleyin:","date.status.cancelled":"Bu tarih iptal edildi.","date.status.cancelled.cta":"Lütfen takviminizi güncelleyin!","modal.subscribe.yahoo.h":"Yahoo'ya takvim ekleme","modal.subscribe.yahoo.text":'<ol><li>Yahoo takvimini açın.</li><li>"Eylemler" sekmesine tıklayın.</li><li>
2"DiÄer Takvimleri Takip Et" öÄesini seçin.</li><li>Bir ad seçin ve URL\'yi panonuzdan URL alanına yapıÅtırın.</li></ol>',"modal.subscribe.yahoo.button":"Yahoo Takvimini aç",close:"Kapat",continue:"Devam etmek",cancel:"İptal",expired:"Günü geçmiÅ",recurring:"Yinelenen",thankyou:"TeÅekkürler",submit:"Gönder","label.share.email":"E-posta ile PaylaÅ","label.share.copy":"BaÄlantıyı Kopyala","label.share.copied":"Kopyalandı","label.share.email.subject":"Bu Tarihi Unutma","form.error.required":"Gerekli tüm alanları doÄru Åekilde doldurmadınız","form.error.sending":"Yanıtınızı gönderirken bir sorun oluÅtu. Lütfen daha sonra tekrar deneyin","form.success":"BaÅarıyla gönderildi!"},zh:{"label.addtocalendar":"æ·»å å°æ¥å",ical:"iCal æä»¶",..._z,"modal.button.default":"ç¹æ","modal.webview.ical.h":"æå¼æµè§å¨","modal.webview.ical.text":"ä¸å¹¸çæ¯ï¼åºç¨å
æµè§å¨å¨æä»¬çææ¥åæä»¶çæ¹å¼ä¸åå¨é®é¢ã","modal.clipboard.text":"æä»¬èªå¨å°éæ¯ URL å¤å¶å°æ¨çåªè´´æ¿ã","modal.webview.ical.steps":"<ol><li>æå¼ææºä¸çä»»ä½å
¶ä»æµè§å¨, ...</li><li>ç²è´´åªè´´æ¿å
容并å¼å§ã</li></ol>","modal.opensafari.ical.h":"æå¼ Safari","modal.opensafari.ical.text":"ä¸å¹¸çæ¯ï¼iOS å¨ Safari ä¹å¤çæåæå¼æ¥åæä»¶æ¶éå°ä¸äºé®é¢ã","modal.opensafari.ical.steps":"<ol><li><strong>æå¼ Safari</strong>, ...</li><li>ç²è´´åªè´´æ¿å
容并å¼å§ã</li></ol>","modal.multidate.h":"è¿æ¯ä¸ä¸ªæ´»å¨ç³»å","modal.multidate.text":"é个添å å个é¨å:","date.status.cancelled":"æ¤æ¥æå·²åæ¶ã","date.status.cancelled.cta":"è¯·æ´æ°æ¨çæ¥å!","modal.subscribe.yahoo.h":"å°æ¥åæ·»å å° Yahoo","modal.subscribe.yahoo.text":"<ol><li>æå¼ Yahoo æ¥åã</li><li>ç¹å»âæä½âæ ç¾ã</li><li>éæ©âå
³æ³¨å
¶ä»æ¥åâã</li><li>éæ©ä¸ä¸ªåç§°å¹¶å°åªè´´æ¿ä¸ç URL ç²è´´å° URL åæ®µä¸ã</li></ol>","modal.subscribe.yahoo.button":"æå¼é
èæ¥å",close:"å
³",continue:"ç»§ç»",cancel:"䏿¢",expired:"已尿",recurring:"忬¡åçç",thankyou:"谢谢",submit:"æäº¤","label.share.email":"éè¿çµåé®ä»¶å享","label.share.copy":"å¤å¶é¾æ¥","label.share.copied":"å·²å¤å¶","label.share.email.subject":"è®°ä½è¿ä¸ªæ¥æ","form.error.required":"ä½ æ²¡ææ£ç¡®å¡«åææå¿
å¡«åæ®µ","form.error.sending":"åéä½ çå夿¶åºç°é®é¢ã请ç¨ååè¯","form.success":"æååéï¼"},ar:{"label.addtocalendar":"Ø¥Ø¶Ø§ÙØ© Ø¥ÙÙ Ø§ÙØªÙÙÙÙ
",ical:"Ù
ÙÙ iCal",..._z,"modal.button.default":"اÙÙØ± ÙÙÙ ÙÙ","modal.webview.ical.h":"Ø§ÙØªØ اÙÙ
ستعرض Ø§ÙØ®Ø§Øµ بÙ","modal.webview.ical.text":"ÙØ³ÙØ¡ Ø§ÙØØ¸ Ø ØªÙØ§Ø¬Ù اÙÙ
ØªØµÙØØ§Øª Ø¯Ø§Ø®Ù Ø§ÙØªØ·Ø¨ÙÙ Ù
شاÙÙ Ù٠طرÙÙØ© Ø¥ÙØ´Ø§Ø¡ Ù
ÙÙ Ø§ÙØªÙÙÙÙ
.","modal.clipboard.text":"ÙÙ
ÙØ§ تÙÙØ§Ø¦ÙÙØ§ Ø¨ÙØ³Ø® عÙÙØ§Ù URL Ø³ØØ±Ù Ø¥ÙÙ Ø§ÙØØ§ÙØ¸Ø© Ø§ÙØ®Ø§ØµØ© بÙ.","modal.webview.ical.steps":"<ol><li>Ø§ÙØªØ Ø£Ù Ù
ØªØµÙØ آخر عÙÙ ÙØ§ØªÙÙ Ø§ÙØ°ÙÙ, ...</li><li>.Ø§ÙØµÙ Ù
ØØªÙÙ Ø§ÙØØ§ÙØ¸Ø© ÙØ§Ø°Ùب</li></ol>","modal.opensafari.ical.h":"Ø§ÙØªØ Safari","modal.opensafari.ical.text":"ÙØ³ÙØ¡ Ø§ÙØØ¸ Ø ÙÙØ§Ø¬Ù iOS بعض اÙÙ
Ø´ÙÙØ§Øª ÙÙ Ø¥ÙØ´Ø§Ø¡ Ù
ÙÙ Ø§ÙØªÙÙÙÙ
ÙÙØªØÙ خارج Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Ø§ÙØªØ Safari</strong>, ...</li><li>Ø§ÙØµÙ Ù
ØØªÙÙ Ø§ÙØØ§ÙØ¸Ø© ÙØ§Ø°Ùب.</li></ol>","modal.multidate.h":"ÙØ°Ù Ø³ÙØ³ÙØ© Ø£ØØ¯Ø§Ø«","modal.multidate.text":"Ø£Ø¶Ù Ø§ÙØ£Ø¬Ø²Ø§Ø¡ اÙÙØ±Ø¯ÙØ© ÙØ§ØØ¯Ø© تÙÙ Ø§ÙØ£Ø®Ø±Ù:","date.status.cancelled":"تÙ
Ø¥ÙØºØ§Ø¡ ÙØ°Ø§ Ø§ÙØªØ§Ø±ÙØ®.","date.status.cancelled.cta":"Ø§ÙØ±Ø¬Ø§Ø¡ ØªØØ¯ÙØ« Ø§ÙØªÙÙÙÙ
Ø§ÙØ®Ø§Øµ بÙ!","modal.subscribe.yahoo.h":"Ø£Ø¶Ù Ø§ÙØªÙÙÙÙ
Ø¥ÙÙ Yahoo","modal.subscribe.yahoo.text":'<ol><li>Ø§ÙØªØ تÙÙÙÙ
Yahoo.</li><li>اÙÙØ± ÙÙÙ Ø¹ÙØ§Ù
Ø© Ø§ÙØªØ¨ÙÙØ¨ "Ø§ÙØ¥Ø¬Ø±Ø§Ø¡Ø§Øª".</li><li>ØØ¯Ø¯ "Ù
تابعة تÙÙÙÙ
ات أخرÙ".</li><li>اختر اسÙ
ÙØ§ ÙØ§Ùص٠عÙÙØ§Ù URL Ù
Ù Ø§ÙØØ§ÙØ¸Ø© Ø§ÙØ®Ø§ØµØ© ب٠ÙÙ ØÙÙ URL.</li></ol>',"modal.subscribe.yahoo.button":"Ø§ÙØªØ تÙÙÙÙ
ÙØ§ÙÙ",close:"ÙØ±Ùب",continue:"استÙ
ر",cancel:"Ø¥ØØ¨Ø§Ø·",expired:"Ù
ÙØªÙÙ Ø§ÙØµÙاØÙØ©",recurring:"ÙØªÙرر",thankyou:"Ø´ÙØ±Ø§",submit:"إرساÙ","label.share.email":"Ù
Ø´Ø§Ø±ÙØ© عبر Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ","label.share.copy":"ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø·","label.share.copied":"تÙ
اÙÙØ³Ø®","label.share.email.subject":"ØªØ°ÙØ± ÙØ°Ø§ اÙÙ
ÙØ¹Ø¯","form.error.required":"ÙÙ
تÙÙ
بÙ
ÙØ¡ جÙ
ÙØ¹ Ø§ÙØÙÙ٠اÙÙ
Ø·ÙÙØ¨Ø© بشÙ٠صØÙØ","form.error.sending":"ØØ¯Ø«Øª Ù
Ø´ÙÙØ© Ø£Ø«ÙØ§Ø¡ إرسا٠ردÙ. Ø§ÙØ±Ø¬Ø§Ø¡ اÙÙ
ØØ§ÙÙØ© ÙØ§ØÙاÙ","form.success":"تÙ
Ø§ÙØ¥Ø±Ø³Ø§Ù Ø¨ÙØ¬Ø§Ø!"},hi:{"label.addtocalendar":"à¤à¥à¤²à¥à¤à¤¡à¤° मà¥à¤ à¤à¥à¤¡à¤¼à¥à¤",ical:"iCal फ़ाà¤à¤²",..._z,"modal.button.default":"मà¥
2à¤à¥ à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤","modal.webview.ical.h":"à¤
पना बà¥à¤°à¤¾à¤à¤à¤¼à¤° à¤à¥à¤²à¥à¤","modal.webview.ical.text":"दà¥à¤°à¥à¤à¤¾à¤à¥à¤¯ सà¥, à¤à¤¨-à¤à¤ª बà¥à¤°à¤¾à¤à¤à¤¼à¤° मà¥à¤ à¤à¥à¤²à¥à¤à¤¡à¤° फ़ाà¤à¤² बनानॠà¤à¥ तरà¥à¤à¥ मà¥à¤ समसà¥à¤¯à¤¾à¤à¤ हà¥à¤à¥¤","modal.clipboard.text":"हमनॠà¤à¤ªà¤à¥ à¤à¥à¤²à¤¿à¤ªà¤¬à¥à¤°à¥à¤¡ पर सà¥à¤µà¤à¤¾à¤²à¤¿à¤¤ रà¥à¤ª सॠà¤à¤ à¤à¤¾à¤¦à¥à¤ URL à¤à¥à¤ªà¥ à¤à¤° लिया हà¥à¥¤","modal.webview.ical.steps":"<ol><li>à¤
पनॠफ़à¥à¤¨ पर <strong>दà¥à¤¸à¤°à¤¾ बà¥à¤°à¤¾à¤à¤à¤¼à¤° à¤à¥à¤²à¥à¤</strong>, ...</li><li>à¤à¥à¤²à¤¿à¤ªà¤¬à¥à¤°à¥à¤¡ सामà¤à¥à¤°à¥ <strong>à¤à¤¿à¤ªà¤à¤¾à¤à¤</strong> à¤à¤° à¤à¤¾à¤à¤à¥¤</li></ol>","modal.opensafari.ical.h":"सफारॠà¤à¥à¤²à¥à¤","modal.opensafari.ical.text":"दà¥à¤°à¥à¤à¤¾à¤à¥à¤¯ सà¥, iOS मà¥à¤ सफ़ारॠà¤à¥ बाहर à¤à¥à¤²à¥à¤à¤¡à¤° फ़ाà¤à¤² बनानॠà¤à¤° à¤à¥à¤²à¤¨à¥ मà¥à¤ à¤à¥à¤ समसà¥à¤¯à¤¾à¤à¤ हà¥à¤à¥¤","modal.opensafari.ical.steps":"<ol><li><strong>सफारॠà¤à¥à¤²à¥à¤</strong>, ...</li><li>à¤à¥à¤²à¤¿à¤ªà¤¬à¥à¤°à¥à¤¡ सामà¤à¥à¤°à¥ <strong>à¤à¤¿à¤ªà¤à¤¾à¤à¤</strong> à¤à¤° à¤à¤¾à¤à¤à¥¤</li></ol>","modal.multidate.h":"यह à¤à¤ à¤à¤µà¥à¤à¤ सà¥à¤°à¥à¤à¤¼ हà¥","modal.multidate.text":"à¤
लà¤-à¤
लठहिसà¥à¤¸à¥à¤ à¤à¥ à¤à¤-à¤à¤ à¤à¤°à¤à¥ à¤à¥à¤¡à¤¼à¥à¤:","date.status.cancelled":"यह तिथि रदà¥à¤¦ हॠà¤à¤à¥¤","date.status.cancelled.cta":"à¤à¥à¤ªà¤¯à¤¾ à¤
पना à¤à¥à¤²à¥à¤à¤¡à¤° à¤
पडà¥à¤ à¤à¤°à¥à¤!","modal.subscribe.yahoo.h":"Yahoo . मà¥à¤ à¤à¥à¤²à¥à¤à¤¡à¤° à¤à¥à¤¡à¤¼à¥à¤","modal.subscribe.yahoo.text":'<ol><li>Yahoo à¤à¥à¤²à¥à¤à¤¡à¤° à¤à¥à¤²à¥à¤à¥¤</li><li>"à¤à¥à¤¤à¥" à¤à¥à¤¬ पर à¤à¥à¤²à¤¿à¤ à¤à¤°à¥à¤à¥¤</li><li>"à¤à¤¤à¤° à¤à¥
लà¥à¤à¤¡à¤°à¥à¤¸à¤à¥ à¤
नà¥à¤¸à¤°à¤£ à¤à¤°à¤¾" à¤à¥à¤¨à¥à¤à¥¤</li><li>à¤à¤ नाम à¤à¥à¤¨à¥à¤ à¤à¤° à¤
पनॠà¤à¥à¤²à¤¿à¤ªà¤¬à¥à¤°à¥à¤¡ सॠURL à¤à¥ URL फ़à¥à¤²à¥à¤¡ मà¥à¤ पà¥à¤¸à¥à¤ à¤à¤°à¥à¤à¥¤</li></ol>',"modal.subscribe.yahoo.button":"याहॠà¤à¥à¤²à¥à¤à¤¡à¤° à¤à¥à¤²à¥à¤",close:"बà¤à¤¦ à¤à¤°à¤¨à¤¾",continue:"à¤à¤¾à¤°à¥ रà¤à¥à¤",cancel:"रदà¥à¤¦ à¤à¤°à¤¨à¤¾",expired:"à¤à¤¤à¥à¤® हॠà¤à¥à¤à¤¾",recurring:"पà¥à¤¨à¤°à¤¾à¤µà¤°à¥à¤¤à¥",thankyou:"धनà¥à¤¯à¤µà¤¾à¤¦",submit:"à¤à¤®à¤¾ à¤à¤°à¥à¤","label.share.email":"à¤à¤®à¥à¤² à¤à¥ माधà¥à¤¯à¤® सॠसाà¤à¤¾ à¤à¤°à¥à¤","label.share.copy":"लिà¤à¤ à¤à¥à¤ªà¥ à¤à¤°à¥à¤","label.share.copied":"à¤à¥à¤ªà¥ हॠà¤à¤¯à¤¾","label.share.email.subject":"à¤à¤¸ तारà¥à¤ à¤à¥ याद रà¤à¥à¤","form.error.required":"à¤à¤ªà¤¨à¥ सà¤à¥ à¤à¤µà¤¶à¥à¤¯à¤ फ़à¥à¤²à¥à¤¡ सहॠढà¤à¤ सॠनहà¥à¤ à¤à¤°à¥ हà¥à¤","form.error.sending":"à¤à¤ªà¤à¤¾ à¤à¤µà¤¾à¤¬ à¤à¥à¤à¤¤à¥ समय à¤à¤ समसà¥à¤¯à¤¾ हà¥à¤à¥¤ à¤à¥à¤ªà¤¯à¤¾ बाद मà¥à¤ पà¥à¤¨à¤ पà¥à¤°à¤¯à¤¾à¤¸ à¤à¤°à¥à¤","form.success":"सफलतापà¥à¤°à¥à¤µà¤ à¤à¥à¤à¤¾ à¤à¤¯à¤¾!"},pl:{"label.addtocalendar":"Dodaj do kalendarza",ical:"Plik iCal",..._z,"modal.button.default":"Kliknij mnie","modal.webview.ical.h":"Otwórz przeglÄ
darkÄ","modal.webview.ical.text":"Niestety, przeglÄ
darki in-app majÄ
problemy ze sposobem, w jaki generujemy plik kalendarza.","modal.clipboard.text":"Automatycznie skopiowaliÅmy magiczny adres URL do schowka.","modal.webview.ical.steps":"<ol><li><strong>Otwórz innÄ
przeglÄ
darkÄ</strong> w swoim telefonie, ...</li><li><strong>Wklej</strong> zawartoÅÄ schowka i ruszaj.</li></ol>","modal.opensafari.ical.h":"Otwórz Safari","modal.opensafari.ical.text":"Niestety iOS ma pewne problemy z generowaniem i otwieraniem pliku kalendarza poza Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Otwórz Safari</strong>, ...</li><li><strong>Wklej</strong> zawartoÅÄ schowka i ruszaj.</li></ol>","modal.multidate.h":"To jest cykl imprez","modal.multidate.text":"DodawaÄ po kolei poszczególne czÄÅci:","date.status.cancelled":"Ta data zostaÅa odwoÅana.","date.status.cancelled.cta":"Zaktualizuj swój kalendarz!","modal.subscribe.yahoo.h":"Dodaj kalendarz do Yahoo","modal.subscribe.yahoo.text":'<ol><li>Otwórz kalendarz Yahoo.</li><li>Kliknij na zakÅadkÄ "CzynnoÅci".</li><li>Wybierz "Obserwuj inne kalendarze".</li><li>Wybierz nazwÄ i wklej adres URL ze schowka w polu URL.</li></ol>',"modal.subscribe.yahoo.button":"Otwórz kalendarz Yahoo",close:"Zamknij",continue:"KontynuowaÄ",cancel:"Anuluj",expired:"WygasÅy",recurring:"PowtarzajÄ
cy siÄ",thankyou:"DziÄkujÄ",submit:"WyÅlij","label.share.email":"UdostÄpnij przez e-mail","label.share.copy":"Kopiuj link","label.share.copied":"Skopiowane","label.share.email.subject":"ZapamiÄtaj tÄ datÄ","form.error.required":"Nie wypeÅniÅeÅ wszystkich wymaganych pól poprawnie","form.error.sending":"WystÄ
piÅ problem z wysÅaniem twojej odpowiedzi. Spróbuj ponownie później","form.success":"WysÅano pomyÅlnie!"},id:{"label.addtocalendar":"Tambahkan ke Kalender",ical:"File iCal",..._z,"modal.button.default":"Klik saya","modal.webview.ical.h":"Buka browser Anda","modal.webview.ical.text":"Sayangnya, browser dalam aplikasi memiliki masalah dengan cara kami menghasilkan file kalender.","modal.clipboard.text":"Kami telah secara otomatis menyalin URL ajaib ke
2clipboard Anda.","modal.webview.ical.steps":"<ol><li><strong>Buka peramban lain</strong> pada ponsel Anda, ...</li><li>Tempelkan konten clipboard dan pergi.</li></ol>","modal.opensafari.ical.h":"Buka Safari","modal.opensafari.ical.text":"Sayangnya, iOS memiliki beberapa masalah dalam membuat dan membuka file kalender di luar Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Buka Safari</strong>, ...</li><li>Tempelkan konten clipboard dan pergi.</li></ol>","modal.multidate.h":"Ini adalah rangkaian acara","modal.multidate.text":"Tambahkan masing-masing bagian satu per satu:","date.status.cancelled":"Tanggal ini dibatalkan.","date.status.cancelled.cta":"Perbarui kalender Anda!","modal.subscribe.yahoo.h":"Tambahkan kalender ke Yahoo","modal.subscribe.yahoo.text":'<ol><li>Buka kalender Yahoo.</li><li>Klik pada tab "Tindakan".</li><li>Pilih "Ikuti Kalender Lain".</li><li>Pilih nama dan tempelkan URL dari clipboard Anda ke bidang URL.</li></ol>',"modal.subscribe.yahoo.button":"Buka kalender Yahoo",close:"Tutup",continue:"Lanjutkan",cancel:"Batal",expired:"Kedaluwarsa",recurring:"Berulang",thankyou:"Terima kasih",submit:"Kirim","label.share.email":"Bagikan via email","label.share.copy":"Salin tautan","label.share.copied":"Tersalin","label.share.email.subject":"Ingat tanggal ini","form.error.required":"Kamu belum mengisi semua kolom yang diperlukan dengan benar","form.error.sending":"Ada masalah saat mengirim jawabanmu. Coba lagi nanti","form.success":"Berhasil terkirim!"},no:{"label.addtocalendar":"Legg til i kalenderen",ical:"iCal-fil",..._z,"modal.button.default":"Klikk pÃ¥ meg","modal.webview.ical.h":"Ã
pne nettleseren din","modal.webview.ical.text":"Dessverre har nettlesere i appen problemer med mÃ¥ten vi genererer kalenderfilen pÃ¥.","modal.clipboard.text":"Vi kopierte automatisk en magisk URL til utklippstavlen din.","modal.webview.ical.steps":"<ol><li><strong>Ã
pne en annen nettleser</strong> pÃ¥ telefonen, ...</li><li><strong>Lim inn</strong> innholdet pÃ¥ utklippstavlen og gÃ¥.</li></ol>","modal.opensafari.ical.h":"Ã
pne Safari","modal.opensafari.ical.text":"Dessverre har iOS noen problemer med Ã¥ generere og Ã¥pne kalenderfilen utenfor Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Ã
pne Safari</strong>, ...</li><li><strong>Lim inn</strong> innholdet pÃ¥ utklippstavlen og gÃ¥.</li></ol>","modal.multidate.h":"Dette er en avtaleserie","modal.multidate.text":"Legg til de enkelte datoene i kalenderen din i rekkefølge:","date.status.cancelled":"Denne datoen ble avlyst.","date.status.cancelled.cta":"Oppdater kalenderen din!","modal.subscribe.yahoo.h":"Legg til kalender til Yahoo","modal.subscribe.yahoo.text":"<ol><li>Ã
pne Yahoo-kalenderen.</li><li>Klikk pÃ¥ «Handlinger»-fanen.</li><li>Velg «Følg andre kalendere».</li><li>Velg et navn og lim inn URL-en fra utklippstavlen i URL-feltet.</li></ol>","modal.subscribe.yahoo.button":"Ã
pne Yahoo-kalenderen",close:"Lukk",continue:"Fortsette",cancel:"Avbryt",expired:"Utløpt",recurring:"Tilbakevendende",thankyou:"Takk",submit:"Send inn","label.share.email":"Del via e-post","label.share.copy":"Kopier lenke","label.share.copied":"Kopiert","label.share.email.subject":"Husk denne datoen","form.error.required":"Du har ikke fylt ut alle de nødvendige feltene riktig","form.error.sending":"Det oppsto et problem med å sende svaret ditt. Vennligst prøv igjen senere","form.success":"Sendt suksessfullt!"},fi:{"label.addtocalendar":"Lisää kalenteriin",ical:"iCal-tiedosto",..._z,"modal.button.default":"Klikkaa minua","modal.webview.ical.h":"Avaa selain","modal.webview.ical.text":"Valitettavasti sovelluksen sisäisillä selaimilla on ongelmia kalenteritiedoston luomisessa.","modal.clipboard.text":"Olemme automaattisesti kopioineet maagisen URL-osoitteen leikepöydällesi.","modal.webview.ical.steps":"<ol><li><strong>Avaa toinen selain</strong> puhelimessasi., ...</li><li><strong>liitä</strong> leikepöydän sisältö ja lähde.</li></ol>","modal.opensafari.ical.h":"Avaa Safari","modal.opensafari.ical.text":"Valitettavasti iOS:llä on ongelmia kalenteritiedoston luomisessa ja avaamisessa Safarin ulkopuolella.","modal.opensafari.ical.steps":"<ol><li><strong>Avaa Safari</strong>, ...</li><li><strong>liitä</strong> leikepöydän sisältö ja lähde.</li></ol>
2","modal.multidate.h":"Tämä on tapahtumasarja","modal.multidate.text":"Lisää yksittäiset osat yksi kerrallaan:","date.status.cancelled":"Tämä päivämäärä peruttiin.","date.status.cancelled.cta":"Päivitä kalenterisi!","modal.subscribe.yahoo.h":"Lisää kalenteri Yahoo","modal.subscribe.yahoo.text":'<ol><li>Avaa Yahoo-kalenteri.</li><li>Napsauta "Toiminnot"-välilehteä.</li><li>Valitse "Seuraa muiden kalentereita".</li><li>Valitse nimi ja liitä URL-osoite leikepöydältäsi URL-kenttään.</li></ol>',"modal.subscribe.yahoo.button":"Avaa Yahoo-kalenteri",close:"Sulje",continue:"Jatkaa",cancel:"Peruuta",expired:"Vanhentunut",recurring:"Toistuva",thankyou:"Kiitos",submit:"Lähetä","label.share.email":"Jaa sähköpostitse","label.share.copy":"Kopioi linkki","label.share.copied":"Kopioitu","label.share.email.subject":"Muista tämä päivämäärä","form.error.required":"Et täyttänyt kaikkia vaadittuja kenttiä oikein","form.error.sending":"Vastauksen lähettämisessä ilmeni ongelma. Yritä myöhemmin uudelleen","form.success":"Lähetetty onnistuneesti!"},sv:{"label.addtocalendar":"Lägg till i kalender",ical:"iCal-fil",..._z,"modal.button.default":"Klicka pÃ¥ mig","modal.webview.ical.h":"Ãppna din webbläsare","modal.webview.ical.text":"Tyvärr har webbläsare i appen problem med hur vi genererar kalenderfilen.","modal.clipboard.text":"Vi har automatiskt kopierat en magisk URL till ditt klippblock.","modal.webview.ical.steps":"<ol><li><strong>Ãppna en annan webbläsare</strong> pÃ¥ telefonen, ...</li><li><strong>Insätt</strong> innehÃ¥llet i klippbordet och kör.</li></ol>","modal.opensafari.ical.h":"Ãppna Safari","modal.opensafari.ical.text":"Tyvärr har iOS vissa problem med att generera och öppna kalenderfilen utanför Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Ãppna Safari</strong>, ...</li><li><strong>Insätt</strong> innehÃ¥llet i klippbordet och kör.</li></ol>","modal.multidate.h":"Detta är en evenemangsserie","modal.multidate.text":"Lägg till de enskilda delarna en efter en:","date.status.cancelled":"Detta datum har ställts in.","date.status.cancelled.cta":"Uppdatera din kalender!","modal.subscribe.yahoo.h":"Lägg till kalender i Yahoo","modal.subscribe.yahoo.text":'<ol><li>Ãppna Yahoo-kalendern.</li><li>Klicka pÃ¥ fliken "Ã
tgärder".</li><li>Välj "Följ andra kalendrar".</li><li>Välj ett namn och klistra in URL:en frÃ¥n klippbordet i URL-fältet.</li></ol>',"modal.subscribe.yahoo.button":"Ãppna Yahoo-kalendern",close:"Stäng",continue:"Fortsätta",cancel:"Avbryt",expired:"UtgÃ¥nget",recurring:"Ã
terkommande",thankyou:"Tack",submit:"Skicka","label.share.email":"Dela via e-post","label.share.copy":"Kopiera länk","label.share.copied":"Kopierat","label.share.email.subject":"Kom ihÃ¥g detta datum","form.error.required":"Du har inte fyllt i alla nödvändiga fält korrekt","form.error.sending":"Det uppstod ett problem när ditt svar skickades. Försök igen senare","form.success":"Skickat framgÃ¥ngsrikt!"},cs:{"label.addtocalendar":"PÅidat do kalendáÅe",ical:"Soubor iCal",..._z,"modal.button.default":"KliknÄte na mÄ","modal.webview.ical.h":"OtevÅete prohlÞeÄ","modal.webview.ical.text":"ProhlÞeÄe v aplikacÃch majà bohužel problémy se způsobem generovánà souboru kalendáÅe.","modal.clipboard.text":"Do schránky jsme automaticky zkopÃrovali kouzelnou adresu URL.","modal.webview.ical.steps":"<ol><li><strong>OtevÅenà jiného prohlÞeÄe</strong> v telefonu, ...</li><li><strong>Vložte</strong> obsah schránky a pÅejdÄte.</li></ol>","modal.opensafari.ical.h":"OtevÅÃt Safari","modal.opensafari.ical.text":"Bohužel má iOS nÄjaké problémy s generovánÃm a otevÃránÃm souboru kalendáÅe mimo Safari.","modal.opensafari.ical.steps":"<ol><li><strong>OtevÅÃt Safari</strong>, ...</li><li><strong>Vložte</strong> obsah schránky a pÅejdÄte.</li></ol>","modal.multidate.h":"Jedná se o sérii událostÃ","modal.multidate.text":"PÅidávejte jednotlivé dÃly jeden po druhém:","date.status.cancelled":"Toto datum bylo zruÅ¡eno.","date.status.cancelled.cta":"Aktualizujte svůj kalendáÅ!","modal.subscribe.yahoo.h":"PÅidat kalendáŠdo Yahoo","modal.subscribe.yahoo.text":'<ol><li>OtevÅete kalendáŠYahoo.</li><li>KliknÄte na kartu "Akce".</li><li>Vyberte možnost "Sledovat dalšà kalendáÅe".</li><li>Vyberte název a vložte adresu URL ze schránky do pole URL.</li></ol>',"modal.subscribe.yahoo.button":"OtevÅete kalendáŠYahoo",close:"ZavÅÃt",continue:"PokraÄovat",cancel:"Storno",expired:"Platnost vyprÅ¡ela",recurring:"OpakujÃcà se",thankyou:"DÄkuji",submit:"Odeslat","label.share.email":"SdÃlet e-mailem","label.share.copy":"KopÃrovat odkaz","label.share.copied":"ZkopÃrováno","label.share.email.subject":"Zapamatuj si tento termÃn","form.error.required":"Nevyplnil jsi správnÄ vÅ¡echna požadovaná pole","form.error.sending":"PÅi odesÃlánà tvé odpovÄdi doÅ¡lo k problému. Zkus to prosÃm pozdÄji znovu","form.success":"ÃspÄÅ¡nÄ odesláno!"},ja:{"label.addtocalendar":"ã«ã¬ã³ãã¼ã«è¿½å ",ical:"iCalãã¡ã¤ã«",..._z,"modal.button.default":"ã¯ãªãã¯ãã¦ãã ãã","modal.webview.ical.h":"ãã©ã¦ã¶ãèµ·åãã","modal.webview.ical.text":"æ®å¿µãªãããã¢ããªå
ãã©ã¦ã¶ã¯ãã«ã¬ã³ãã¼ãã¡ã¤ã«ã®çææ¹æ³ã«åé¡ãããã¾ãã","modal.clipboard.text":"éæ³ã®URLãèªåçã«ã¯ãªãããã¼ãã«ã³ãã¼ãã¦ãã¾ãã","modal.webview.ical.steps":"<ol><li>ã¹ãã¼ããã©ã³ã§å¥ã®ãã©ã¦ã¶ãèµ·åãã, ...</li><li>ã¯ãªãããã¼ãã®å
容ãè²¼ãä»ãã¦è¡ãã</li></ol>","modal.opensafari.ical.h":"ãªã¼ãã³Safari","modal.opensafari.ical.text":"æ®å¿µãªãããiOS ã§ã¯ãSafari ã®å¤ã§ã«ã¬ã³ãã¼ ãã¡ã¤ã«ãçæãããéãããããéã«ããã¤ãã®åé¡ãããã¾ãã","modal.opensafari.ical.steps":"<ol><li><strong>ãªã¼ãã³Safari</strong>, ...</li><li>ã¯ãªãããã¼ãã®å
容ãè²¼ãä»ãã¦è¡ãã</li></ol>","modal.multidate.h":"ã¤ãã³ãã·ãªã¼ãºã§ã","modal.multidate.text":"åã
ã®ãã¼ããä¸ã¤ãã¤è¿½å ãã¦ãã:","date.status.cancelled":"ãã®æ¥ã¯ãã£ã³ã»ã«ã«ãªãã¾ããã","date.status.cancelled.cta":"ã«ã¬ã³ãã¼ãæ´æ°ãã!","modal.subscribe.yahoo.h":"Yahooã«ã«ã¬ã³ãã¼ã追å ãã","modal.subscribe.yahoo.text":"<ol><li>Yahooã«ã¬ã³ãã¼ãéãã</li><li>[å®è¡] ã¿ããã¯ãªãã¯ãã¾ãã</li><li>[ãã®ä»ã®ã«ã¬ã³ãã¼ã®ãã©ãã¼] ã鏿ãã¾ãã</li><li>ååãæ±ºãã¦ãã¯ãªãããã¼ãã«ããURLãURLæ¬ã«è²¼ãä»ãã¾ãã</li></ol>","modal.subscribe.yahoo.button":"Yahooã«ã¬ã³ãã¼ãéã",close:"éãã",continue:"ç¶ãã",cancel:"ãã£ã³ã»ã«",expired:"æéåã",recurring:"ç¹°ãè¿ã",thankyou:"ãããã¨ã",submit:"éä¿¡","label.share.email":"ã¡ã¼ã«ã§å
±æ","label.share.copy":"ãªã³ã¯ãã³ãã¼","label.share.copied":"ã³ãã¼æ¸ã¿","label.share.email.subject":"ãã®æ¥ä»ãè¦ãã¦ããã¦","form.error.required":"å¿
è¦ãªãã£ã¼ã«ãããã¹ã¦æ£ããå
¥åãã¦ãã¾ãã","form.error.sending":"ããªãã®åçãéä¿¡ããéã«åé¡ãçºçãã¾ãããå¾ã§å試è¡ãã¦ãã ãã","form.success":"æ£å¸¸ã«éä¿¡ããã¾ããï¼"},it:{"label.addtocalendar":"Aggiungi al calendario",ical:"File iCal",..._z,"modal.button.default":"Clicca su di me","modal.webview.ical.h":"Aprire il browser","modal.webview.ical.text":"Purtroppo i browser in-app hanno problemi con il modo in cui generiamo il file del calendario.","modal.clipboard.text":"Abbiamo copiato automaticamente un URL magico negli appunti.","modal.webview.ical.steps":"<ol><li><strong>Aprire un altro browser</strong> sul cellulare, ...</li><li><strong>Incollare</strong> il contenuto degli appunti e partire.</li></ol>","modal.opensafari.ical.h":"Aprire Safari","modal.opensafari.ical.text":"Sfortunatamente, iOS ha alcuni problemi nella generazione e nell'apertura del file del calendario al di fuori di Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Aprire Safari</strong>, ...</li><li><strong>Incollare</strong> il contenuto degli appunti e partire.</li></ol>","modal.multidate.h":"Questa è una serie di eventi","modal.multidate.text":"Aggiungere le singole parti una per una:","date.status.cancelled":"La data è stata annullata.","date.status.cancelled.cta":"Agg
2iornare il calendario!","modal.subscribe.yahoo.h":"Aggiungi il calendario a Yahoo","modal.subscribe.yahoo.text":'<ol><li>Aprire il calendario di Yahoo.</li><li>Fare clic sulla scheda "Azioni".</li><li>Selezionare "Segui altri calendari".</li><li>Scegliere un nome e incollare l\'URL dagli appunti nel campo URL.</li></ol>',"modal.subscribe.yahoo.button":"Apri il calendario di Yahoo",close:"Chiudere",continue:"Continuare",cancel:"Annulla",expired:"Scaduta",recurring:"Ricorrente",thankyou:"Grazie",submit:"Invia","label.share.email":"Condividi via Email","label.share.copy":"Copia il link","label.share.copied":"Copiato","label.share.email.subject":"Ricorda questa data","form.error.required":"Non hai compilato correttamente tutti i campi richiesti","form.error.sending":"C'è stato un problema nell'invio della tua risposta. Prova di nuovo più tardi","form.success":"Inviato con successo!"},ko:{"label.addtocalendar":"ìºë¦°ëì ì¶ê°",ical:"iCal íì¼",..._z,"modal.button.default":"í´ë¦ í´ì£¼ì¸ì","modal.webview.ical.h":"ë¸ë¼ì°ì ì´ê¸°","modal.webview.ical.text":"ë¶ííë ì¸ì± ë¸ë¼ì°ì ë ìºë¦°ë íì¼ì ìì±íë ë°©ìì 문ì ê° ììµëë¤.","modal.clipboard.text":"ë§¤ì§ URLì í´ë¦½ë³´ëì ìëì¼ë¡ ë³µì¬íìµëë¤.","modal.webview.ical.steps":"<ol><li>í´ëì íìì ë¤ë¥¸ ë¸ë¼ì°ì ì´ê¸°, ...</li><li>í´ë¦½ë³´ë ë´ì©ì ë¶ì¬ë£ê³ ì´ëí©ëë¤.</li></ol>","modal.opensafari.ical.h":"Safari ì´ê¸°","modal.opensafari.ical.text":"ìíê¹ê²ë iOSìë Safari ì¸ë¶ìì ìºë¦°ë íì¼ì ìì±íê³ ì¬ë ë° ëª ê°ì§ 문ì ê° ììµëë¤.","modal.opensafari.ical.steps":"<ol><li><strong>Safari ì´ê¸°</strong>, ...</li><li>í´ë¦½ë³´ë ë´ì©ì ë¶ì¬ë£ê³ ì´ëí©ëë¤.</li></ol>","modal.multidate.h":"ì´ë²¤í¸ ì리ì¦ì
ëë¤","modal.multidate.text":"ê°ë³ ë¶íì íëì© ì¶ê°:","date.status.cancelled":"ì´ ë ì§ë ì·¨ìëììµëë¤.","date.status.cancelled.cta":"ìºë¦°ë를 ì
ë°ì´í¸íì¸ì!","modal.subscribe.yahoo.h":"Yahooì ìºë¦°ë ì¶ê°","modal.subscribe.yahoo.text":'<ol><li>Yahoo ìºë¦°ë를 ì½ëë¤.</li><li>"ëì" íì í´ë¦í©ëë¤.</li><li>"ë¤ë¥¸ ì¼ì ê´ë¦¬ íë¡ì°"를 ì íí©ëë¤.</li><li>ì´ë¦ì ì ííê³ í´ë¦½ë³´ëì URLì URL íëì ë¶ì¬ë£ìµëë¤.</li></ol>',"modal.subscribe.yahoo.button":"ì¼í ìºë¦°ë ì´ê¸°",close:"ë«ë¤",continue:"ê³ìíë¤",cancel:"ì·¨ì",expired:"ë§ë£ë¨",recurring:"ëíì´",thankyou:"ê°ì¬í©ëë¤",submit:"ì ì¶í기","label.share.email":"ì´ë©ì¼ë¡ ê³µì í기","label.share.copy":"ë§í¬ ë³µì¬í기","label.share.copied":"ë³µì¬ë¨","label.share.email.subject":"ì´ ë ì§ë¥¼ 기ìµíì¸ì","form.error.required":"íì íë를 모ë ì¬ë°ë¥´ê² ì±ì°ì§ ìììµëë¤","form.error.sending":"ìëµì ë³´ë´ë ë° ë¬¸ì ê° ë°ìíìµëë¤. ëì¤ì ë¤ì ìëí´ì£¼ì¸ì","form.success":"ì±ê³µì ì¼ë¡ ì ì¡ë¨!"},vi:{"label.addtocalendar":"Thêm và o Lá»ch",ical:"Tá»p iCal",..._z,"modal.button.default":"Nhấp và o Äây","modal.webview.ical.h":"Má» trình duyá»t cá»§a bạn","modal.webview.ical.text":"Rất tiếc, các trình duyá»t trong ứng dụng gặp sá»± cá» vá»i cách chúng tôi tạo tá»p lá»ch.","modal.clipboard.text":"Chúng tôi Äã tá»± Äá»ng sao chép má»t URL ma thuáºt và o khay nhá» tạm cá»§a bạn.","modal.webview.ical.steps":"<ol><li><strong> Má» trình duyá»t khác </strong> trên Äiá»n thoại cá»§a bạn, ...</li><li><strong> Dán </strong> ná»i dung khay nhá» tạm và bắt Äầu.</li></ol>","modal.opensafari.ical.h":"Má» Safari","modal.opensafari.ical.text":"Rất tiếc, iOS gặp má»t sá» sá»± cá» khi tạo và má» tá»p lá»ch bên ngoà i Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Má» Safari</strong>, ...</li><li><strong> Dán </strong> ná»i dung khay nhá» tạm và bắt Äầu.</li></ol>","modal.multidate.h":"Äây là má»t chuá»i sá»± kiá»n","modal.multidate.text":"Thêm từng phần riêng lẻ má»t:","date.status.cancelled":"Ngà y nà y Äã bá» há»§y.","date.status.cancelled.cta":"Cáºp nháºt lá»ch cá»§a bạn!","modal.subscribe.yahoo.h":"Thêm lá»ch và o Yah
2oo","modal.subscribe.yahoo.text":'<ol><li>Má» Lá»ch Yahoo.</li><li>Nhấp và o tab "Hà nh Äá»ng".</li><li>Chá»n "Theo dõi các Lá»ch khác".</li><li>Chá»n tên và dán URL từ khay nhá» tạm cá»§a bạn và o trưá»ng URL.</li></ol>',"modal.subscribe.yahoo.button":"Má» lá»ch Yahoo",close:"Äóng",continue:"Tiếp tục",cancel:"Há»§y bá»",expired:"Hết hạn",recurring:"Äá»nh kỳ",thankyou:"Cảm Æ¡n",submit:"Gá»i","label.share.email":"Chia sẻ qua Email","label.share.copy":"Sao chép liên kết","label.share.copied":"Äã sao chép","label.share.email.subject":"Ghi nhá» ngà y nà y","form.error.required":"Bạn chưa Äiá»n Äúng tất cả các trưá»ng bắt buá»c","form.error.sending":"Có sá»± cá» khi gá»i phản há»i cá»§a bạn. Vui lòng thá» lại sau","form.success":"Gá»i thà nh công!"},ro:{"label.addtocalendar":"Adauga In Calendar",ical:"Fisier iCal",..._z,"modal.button.default":"Apasa-ma","modal.webview.ical.h":"Deschide browserul","modal.webview.ical.text":"Din pacate, browserele din aplicatie au probleme cu generarea de fisiere pe
2ntru calendar.","modal.clipboard.text":"Ti-am copiat automat un URL magic in clipboard","modal.webview.ical.steps":"<ol><li><strong>Deschide un alt browser</strong> pe telefonul tau, ...</li><li><strong>Lipeste</strong> continutul din clipboard si continua.</li></ol>","modal.opensafari.ical.h":"Deschide Safari","modal.opensafari.ical.text":"Din pÄcate, iOS are unele probleme la generarea Èi deschiderea fiÈierului calendar în afara Safari.","modal.opensafari.ical.steps":"<ol><li><strong>Deschides Safari</strong>, ...</li><li><strong>Lipeste</strong> continutul din clipboard si continua.</li></ol>","modal.multidate.h":"Aceasta este o serie de evenimente","modal.multidate.text":"Adauga evenimentele individuale una cate una:","date.status.cancelled":"Aceasta data a fost anulata.","date.status.cancelled.cta":"Te rugam sa-ti updatezi calendarul!","modal.subscribe.yahoo.h":"Adauga Calendar in Yahoo","modal.subscribe.yahoo.text":'<ol><li>Deschide acum calendarul Yahoo.</li><li>Apasa pe tab-ul de "Actiuni".</li><li>Apasa "Urmareste alte calendare".</li><li>Seteaza un nume si lipeste continutul din clipboard in casuta cu url.</li></ol>',"modal.subscribe.yahoo.button":"DeschideÈi calendarul Yahoo",close:"Inchide",continue:"Continua",cancel:"Anuleaza",expired:"Expirat",recurring:"Recurente",thankyou:"MulÈumesc",submit:"Trimite","label.share.email":"Distribuie prin e-mail","label.share.copy":"CopiazÄ linkul","label.share.copied":"Copiat","label.share.email.subject":"Èine minte aceastÄ datÄ","form.error.required":"Nu ai completat corect toate câmpurile necesare","form.error.sending":"A apÄrut o problemÄ la trimiterea rÄspunsului tÄu. ÃncearcÄ din nou mai târziu","form.success":"Trimis cu succes!"},fa:{"label.addtocalendar":"Ø§ÙØ²Ùد٠ب٠تÙÙÛÙ
",ical:"پرÙÙØ¯Ù iCal",..._z,"modal.button.default":"اÛÙØ¬Ø§ Ú©ÙÛÚ© Ú©ÙÛØ¯","modal.webview.ical.h":"Ù
Ø±ÙØ±Ú¯Ø± Ø®ÙØ¯ را باز Ú©ÙÛØ¯","modal.webview.ical.text":"Ù
ØªØ§Ø³ÙØ§ÙÙØ Ù
Ø±ÙØ±Ú¯Ø±ÙØ§Û Ø¯Ø±ÙÙ Ø¨Ø±ÙØ§Ù
ÙâØ§Û Ø¨Ø§ ÙØÙ٠تÙÙÛØ¯ پرÙÙØ¯Ù تÙÙÛÙ
Ù
Ø´Ú©Ù Ø¯Ø§Ø±ÙØ¯.","modal.clipboard.text":"Ù
ا Ø¨Ù Ø·ÙØ± Ø®ÙØ¯Ú©Ø§Ø± ÛÚ© ÙØ´Ø§ÙÛ Ø§ÛÙØªØ±ÙØªÛ Ø¬Ø§Ø¯ÙÛÛ Ø±Ø§ در Ú©ÙÛÙ¾âØ¨ÙØ±Ø¯ Ø´Ù
ا Ú©Ù¾Û Ú©Ø±Ø¯ÛÙ
.","modal.webview.ical.steps":"<ol><li><strong>Ù
Ø±ÙØ±Ú¯Ø± دÛÚ¯Ø±Û Ø±Ø§ </strong> در Ú¯ÙØ´Û Ø®ÙØ¯ باز Ú©ÙÛØ¯Ø ...</li><li>Ù
ØØªÙØ§Û Ú©ÙÛÙ¾âØ¨ÙØ±Ø¯ را <strong>Paste</strong> Ú©ÙÛØ¯ Ù Go را بزÙÛØ¯ ک٠آدرس باز Ø´ÙØ¯.</li></ol>","modal.opensafari.ical.h":"Ø³Ø§ÙØ§Ø±Û را باز Ú©ÙÛØ¯","modal.opensafari.ical.text":"Ù
ØªØ£Ø³ÙØ§ÙÙ iOS در تÙÙÛØ¯ ٠باز Ú©Ø±Ø¯Ù ÙØ§Û٠تÙÙÛÙ
خارج از Ø³Ø§ÙØ§Ø±Û Ù
Ø´Ú©ÙØ§ØªÛ دارد.","modal.opensafari.ical.steps":"<ol><li><strong>Ø³Ø§ÙØ§Ø±Û را باز Ú©ÙÛØ¯</strong>Ø ...</li><li>Ù
ØØªÙØ§Û Ú©ÙÛÙ¾âØ¨ÙØ±Ø¯ را <strong>Paste</strong> Ú©ÙÛØ¯ Ù Go را بزÙÛØ¯ ک٠آدرس باز Ø´ÙØ¯.</li></ol>","modal.multidate.h":"اÛÙ ÛÚ© Ø³Ø±Û Ø±ÙÛØ¯Ø§Ø¯ است","modal.multidate.text":"رÙÛØ¯Ø§Ø¯ÙØ§Û Ø´Ø®ØµÛ Ø±Ø§ ÛÚ©Û ÛÚ©Û Ø§Ø¶Ø§ÙÙ Ú©ÙÛØ¯:","date.status.cancelled":"اÛÙ ØªØ§Ø±ÛØ® ÙØºÙ شد","date.status.cancelled.cta":"ÙØ·Ùا تÙÙÛÙ
Ø®ÙØ¯ را بÙâØ±ÙØ² Ú©ÙÛØ¯!","modal.subscribe.yahoo.h":"Ø§ÙØ²Ùد٠تÙÙÛÙ
Ø¨Ù ÛØ§ÙÙ","modal.subscribe.yahoo.text":"<ol><li>اکÙÙ٠تÙÙÛÙ
ÛØ§Ù٠را باز Ú©ÙÛØ¯.</li><li>رÙÛ Ø²Ø¨Ø§Ù٠«Actions» Ú©ÙÛÚ© Ú©ÙÛØ¯.</li><li>رÙÛ Â«Follow Other Calendars» ضرب٠بزÙÛØ¯.</li><li>ÛÚ© ÙØ§Ù
ÙØ§Ø±Ø¯ Ú©ÙÛØ¯ Ù Ù
ØØªÙØ§Û Ú©ÙÛÙ¾âØ¨ÙØ±Ø¯ را در ÙØ³Ù
ت url ÙØ±Ø§Ø± دÙÛØ¯.</li></ol>","modal.subscribe.yahoo.button":"تÙÙÛÙ
ÛØ§Ù٠را باز Ú©ÙÛØ¯",close:"بستÙ",continue:"اداÙ
٠دادÙ",cancel:"ÙØºÙ",expired:"Ù
ÙÙØ¶Û شدÙ",thankyou:"Ù
Ù
ÙÙÙ",submit:"ارساÙ","label.share.email":"اشتراکâÚ¯Ø°Ø§Ø±Û Ø§Ø² طرÛ٠اÛÙ
ÛÙ","label.share.copy":"Ú©Ù¾Û ÙÛÙÚ©","label.share.copied":"Ú©Ù¾Û Ø´Ø¯","label.share.email.subject":"اÛÙ ØªØ§Ø±ÛØ® را Ø¨Ù ÛØ§Ø¯ Ø¯Ø§Ø´ØªÙ Ø¨Ø§Ø´ÛØ¯","form.error.required":"Ø´Ù
ا ÙÙ
Ù ÙÛÙØ¯ÙØ§Û ÙØ§Ø²Ù
را Ø¨Ù Ø¯Ø±Ø³ØªÛ Ù¾Ø± ÙکردÙâØ§ÛØ¯","form.error.sending":"Ù
Ø´Ú©ÙÛ Ø¯Ø± ارسا٠پاسخ Ø´Ù
ا ÙØ¬Ùد داشت. ÙØ·Ùا بعدا Ø¯ÙØ¨Ø§Ø±Ù ØªÙØ§Ø´ Ú©ÙÛØ¯","form.success":"با Ù
ÙÙÙÛØª ارسا٠شد!"},et:{"label.addtocalendar":"Lisa kalendrisse",ical:"iCal fail",..._z,"modal.button.default":"Kliki siia","modal.webview.ical.h":"Ava oma veebilehitseja","modal.webview.ical.text":"Kahjuks on rakendusesisestel veebilehitsejatel probleeme kalendrifailide loomisega.","modal.clipboard.text":"Kalendri veebi aadress on automaatselt kopeeritud sinu lõikelauale.","modal.webview.ical.steps":"<ol><li><strong>Ava teine veebilehitseja</strong> oma telefonis, ...</li><li><strong>Kleebi</strong> lõikelaua sisu ning mine sellele lehele.</li></ol>","modal.opensafari.ical.h":"Ava Safari","modal.opensafari.ical.text":"Kahjuks on iOS-il probleeme kalendrifaili genereerimise ja avamisega väljaspool Safarit.","modal.opensafari.ical.steps":"<ol><li><strong>Ava Safari</strong>, ...</li><li><strong>Kleebi</strong> lõikelaua sisu ning mine sellele lehele.</li></ol>","modal.multidate.h":"See on sündmuste seeria","modal.multidate.text":"Ava üksikud sündmused ükshaaval:","date.status.cancelled":"See kuupäev on tühistatud.","date.status.cancelled.cta":"Palun uuenda oma kalendrit!","modal.subscribe.yahoo.h":"Lisa kalender Yahoo-sse","modal.subscribe.yahoo.text":'<ol><li>Ava oma Yahoo kalender.</li><li>Kliki "Actions" vahelehte.</li><li>Vajuta "Follow Other Calendars".</li><li>Määra nimi ning lisa lõikelaua sisu URL (veebi aadressi) väljale.</li></ol>',"modal.subscribe.yahoo.button":"Avage Yahoo kalender",close:"Sulge",continue:"Jätkama",cancel:"Tühista",expired:"Aegunud",thankyou:"Aitäh",submit:"Saada","label.share.email":"Jaga e-posti teel","label.share.copy":"Kopeeri link","label.share.copied":"Kopeeritud","label.share.email.subject":"Pane see kuupäev kirja","form.error.required":"Sa pole kõiki nõutavaid välju korrektselt täitnud","form.error.sending":"Sinu vastuse saatmisel tekkis probleem. Palun proovi hiljem uuesti","form.success":"Edukalt saadetud!"},uk:{"label.addtocalendar":"ÐодаÑи до календаÑÑ",ical:"Файл iCal",..._z,"modal.button.default":"ÐаÑиÑни мене","modal.webview.ical.h":"ÐÑдкÑийÑе Ð²Ð°Ñ Ð±ÑаÑзеÑ","modal.webview.ical.text":"Ðа жалÑ, бÑаÑзеÑи Ñ Ð´Ð¾Ð´Ð°ÑкаÑ
маÑÑÑ Ð¿Ñоблеми з обÑÐ¾Ð±ÐºÐ¾Ñ ÑÐ°Ð¹Ð»Ñ ÐºÐ°Ð»ÐµÐ½Ð´Ð°ÑÑ, Ñкий ми ÑÑвоÑÑÑмо.","modal.clipboard.text":"Ðи авÑомаÑиÑно ÑкопÑÑвали магÑÑний URL Ñ Ð²Ð°Ñ Ð±ÑÑÐµÑ Ð¾Ð±Ð¼ÑнÑ.","modal.webview.ical.steps":"<ol><li><strong>ÐÑдкÑийÑе ÑнÑий бÑаÑзеÑ</strong> на ÑвоÑÐ¼Ñ ÑелеÑонÑ, ...</li><li><strong>ÐÑÑавÑе</strong> ÑкопÑйований вмÑÑÑ Ñ Ð¿ÐµÑейдÑÑÑ.</li></ol>","modal.opensafari.ical.h":"ÐÑдкÑиÑи Safari","modal.opensafari.ical.text":"Ðа жалÑ, iOS Ð¼Ð°Ñ Ð¿Ñоблеми з генеÑаÑÑÑÑ Ñа вÑдкÑиÑÑÑм ÑÐ°Ð¹Ð»Ñ ÐºÐ°Ð»ÐµÐ½Ð´Ð°ÑÑ Ð¿Ð¾Ð·Ð° Safari.","modal.opensafari.ical.steps":"<ol><li><strong>ÐÑдкÑийÑе Safari</strong>, ...</li><li><strong>ÐÑÑавÑе</strong> ÑкопÑйований вмÑÑÑ Ñ Ð¿ÐµÑейдÑÑÑ.</li></ol>","modal.multidate.h":"Це ÑеÑÑÑ Ð¿Ð¾Ð´Ñй","modal.multidate.text":"ÐодайÑе окÑÐµÐ¼Ñ Ð¿Ð¾Ð´ÑÑ Ð¿Ð¾ однÑй:","date.status.cancelled":"Ð¦Ñ Ð´Ð°ÑÑ ÑкаÑовано.","date.status.cancelled.cta":"ÐновÑÑÑ ÑвÑй календаÑ, бÑÐ´Ñ Ð»Ð°Ñка!","modal.subscribe.yahoo.h":"ÐодаÑи ÐºÐ°Ð»ÐµÐ½Ð´Ð°Ñ Ð´Ð¾ Yahoo","modal.subscribe.yahoo.text":"<ol><li>ÐÑдкÑийÑе заÑаз ÐºÐ°Ð»ÐµÐ½Ð´Ð°Ñ Yahoo.</li><li>ÐаÑиÑнÑÑÑ Ð²ÐºÐ»Ð°Ð´ÐºÑ Â«ÐÑÑ».</li><li>ÐаÑиÑнÑÑÑ Â«ÐÑдпиÑаÑиÑÑ Ð½Ð° ÑнÑÑ ÐºÐ°Ð»ÐµÐ½Ð´Ð°ÑÑ».</li><li>ÐведÑÑÑ Ð½Ð°Ð·Ð²Ñ Ñа вÑÑавÑе вмÑÑÑ Ð±ÑÑеÑа обмÑÐ½Ñ Ð² поле URL.</li></ol>","modal.subscribe.yahoo.button":"ÐÑдкÑиÑи Yahoo ÐалендаÑ",close:"ÐакÑиÑи",continue:"ÐÑодовжиÑи",cancel:"СкаÑÑваÑи",expired:"ТеÑмÑн дÑÑ Ð·Ð°ÐºÑнÑивÑÑ",recurring:"ÐовÑоÑÑваний",thankyou:"ÐÑкÑÑмо",submit:"ÐÑдпÑавиÑи","label.rsvp":"RSVP","label.share.email":"ÐодÑлиÑиÑÑ ÑеÑез Email","label.share.copy":"СкопÑÑваÑи поÑиланнÑ","label.share.copied":"СкопÑйовано","label.share.email.subject":"ÐбеÑежÑÑÑ ÑÑ Ð¿Ð¾Ð´ÑÑ","form.error.required":"Ðи не заповнили вÑÑ Ð¾Ð±Ð¾Ð²'ÑÐ·ÐºÐ¾Ð²Ñ Ð¿Ð¾Ð»Ñ","form.error.sending":"СÑалаÑÑ Ð¿Ñоблема з вÑдпÑавленнÑм ваÑÐ¾Ñ Ð²ÑдповÑдÑ. СпÑобÑйÑе Ñе Ñаз пÑзнÑÑе.","form.success":"УÑпÑÑно вÑдпÑавлено!"},hu:{"label.addtocalendar":"Hozzáadás a naptárhoz",ical:"iCal fájl",..._z,"modal.button.default":"Kattints ide","modal.webview.ical.h":"Nyisd meg a böngészÅt","modal.webview.ical.text":"Sajnos az alkalmazáson belüli böngészÅknek problémái vannak a naptárfájl generálásával.","modal.clipboard.text":"Automatikusan átmásoltunk egy varázslatos URL-t a vágólapodra.","modal.webview.ical.steps":"<ol><li><strong>Nyiss meg egy másik böngészÅt</strong> a telefonodon, ...</li><li><strong>Illeszd be</strong> a vágólap tartalmát és menj.</li></ol>","modal.opensafari.ical.h":"Safari megnyitása","modal.opensafari.ical.text":"Sajnos az iOS-nek problémái vannak a naptárfájl generálásával és megnyitásával a Safarin kÃvül.","modal.opensafari.ical.steps":"<ol><li><strong>Nyisd meg a Safarit</strong>, ...</li><li><strong>Illeszd be</strong> a vágólap tartalmát és menj.</li></ol>","modal.multidate.h":"Ez egy eseménysorozat","modal.multidate.text":"Add hozzá az egyes eseményeket egyenként:","date.status.cancelled":"Ez a dátum lemondásra került.","date.status.cancelled.cta":"Kérjük, frissÃtsd a naptáradat!","modal.subscribe.yahoo.h":"Naptár hozzáadása a Yahoo-hoz","modal.subscribe.yahoo.text":'<ol><li>Nyisd meg a Yahoo Naptárt most.</li><li>Kattints a "Actions" fülre.</li><li>Válaszd a "Follow Other Calendars" opciót.</li><li>Adj meg egy nevet és illeszd be a vágólap tartalmát az URL mezÅbe.</li></ol>',"modal.subscribe.yahoo.button":"Yahoo Naptár megnyitása",close:"Bezárás",continue:"Folytatás",cancel:"Mégse",expired:"Lejárt",recurring:"IsmétlÅdÅ",thankyou:"Köszönjük",submit:"Küldés","label.rsvp":"Válasz","label.share.email":"Megosztás e-mailben","label.share.copy":"Link másolása","label.share.copied":"Másolva","label.share.email.subject":"Mentsd el ezt az eseményt","form.error.required":"Nem töltöttél ki megfelelÅen minden kötelezÅ mezÅt","form.error.sending":"Hiba történt a válasz küldése során. Kérjük, próbáld újra késÅbb","form.success":"Sikeresen elküldve!"},he:{"label.addtocalendar":"×××¡×¤× ×××××",ical:"×§×××¥ iCal",..._z,"modal.button.default":"×××¦× ×××","modal.webview.ical.h":"פת××× ××פ×פ×","modal.webview.ical.text":"××¦×¢×¨× ×, ××פ××¤× ×× ×ת×× ×פ××קצ××ת ×ש ××¢××ת ×¢× ×××¨× ×©×× ×× ×× × ××צר×× ×ת ×§×××¥ ×××××.","modal.clipboard.text":"××¢×ª×§× × ×××××××ת ×ת××ת קס××× ×× ×××× ×©××.","modal.webview.ical.steps":"<ol><li><strong>×¤×ª× ×פ××¤× ××ר</strong> ×××פ×× ×©××, ...</li><li><strong>××××§</strong> ×ת ×ת××× ×××××, ××¦× ××ר×.</li></ol>","modal.opensafari.ical.h":"×¤×ª× ×ת ספ×ר×","modal.opensafari.ical.text":"××¦×¢×¨× ×, ×-iOS ×ש ××¢××ת ××צ××¨× ×פת××× ×©× ×§×××¥ ××××× ××××¥ ×ספ×ר×.","modal.opensafari.ical.steps":"<ol><li><strong>×¤×ª× ×ת ספ×ר×</strong>, ...</li><li><strong>××××§</strong> ×ת ×ת××× ×××××, ××¦× ××ר×.</li></ol>","modal.multidate.h":"×× ×¡×רת ××ר××¢××","modal.multidate.text":"××סף ×ת ×××ר××¢×× ××××××× ××× ×××:","date.status.cancelled":"ת×ר×× ×× ××××.","date.status.cancelled.cta":"×ש ××¢××× ×ת ×××××!","modal.subscribe.yahoo.h":"×××¡×¤× ××××× Yahoo","modal.subscribe.yahoo.text":'<ol><li>×¤×ª× ×ת ×××× Yahoo.</li><li>×××¥ ×¢× ××× "פע×××ת".</li><li>×××¥ ×¢× "×¢×§×× ××ר ×××× ×× ××ר××".</li><li>×§××¢ ש×, ×××××§ ×ת ת××× ×××× ×©×× ×ש×× ××ת××ת.</li></ol>',"modal.subscribe.yahoo.button":"×¤×ª× ×ת ×××× Yahoo",close:"ס××ר×",continue:"××ש×",cancel:"×××××",expired:"×¤× ×ª××§×£",recurring:"×××ר",thankyou:"ת×××",submit:"ש××××","label.rsvp":"××ש×ר ×××¢×","label.share.email":"ש×ת××£ ×××××","label.share.copy":"×עתק ×§×ש×ר","label.share.copied":"××עתק","label.share.email.subject":"ש××רת ××ר××¢ ××","form.error.required":"×× ××××ת ××××× ×ת ×× ×ש××ת","form.error.sending":"×××¨×¢× ×©×××× ×עת ש×××ת ×קשת×. ×× × × ×¡× ×©×× ××××ר ××תר","form.success":"× ×©×× ××צ×××!"}},vz=Object.keys(bz);function wz(e,t){return t.customLabels&&t.customLabels[`${e}`]&&""!==t.customLabels[`${e}`]?KR(t.customLabels[`${e}`]):kz(e,t.language)}function kz(e,t){return t||(t="en"),bz[`${t}`][`${e}`]?bz[`${t}`][`${e}`]:"en"!==t?kz(e,"en"):e}let Tz=!1,Mz=0;const Lz=[],Sz='<div class="atcb-initialized atcb-hidden"></div>';if(MN()){class e extends HTMLElement{constructor(){super(),this._initialized=new Promise(e=>this._initializedResolver=e);const e=document.createElement("template");e.innerHTML=Sz,this.attachShadow({mode:"open",delegateFocus:!0}),this.shadowRoot.append(e.content.cloneNode(!0)),this.state={initializing:!1,initialized:!1,ready:!1,updatePending:!1},this.data={},this.error=!1}connectedCallback(){this.initializing||(this.initializing=!0,setTimeout(()=>this.initializeComponent(),0))}async initializeComponent(){if(this.state.ready)return;this.state.initializing=!0;const e=this.getAttribute("debug");if(this.debug=!(!this.hasAttribute("debug")||e&&"true"!==e&&""!==e),this.hasAttribute("proOverride")||this.hasAttribute("prooverride")){let e=null;e=this.hasAttribute("proOverride")&&""!==this.getAttribute("proOverride")?this.getAttribute("proOverride"):this.getAttribute("prooverride"),this.proOverride=!e||"true"===e||""===e}try{this.hasAttribute("proKey")&&""!==this.getAttribute("proKey")||this.hasAttribute("prokey")&&""!==this.getAttribute("prokey")?(this.hasAttribute("proKey")&&""!==this.getAttribute("proKey")?this.data=await Rz(this.getAttribute("proKey"),this):this.data=await Rz(this.getAttribute("prokey"),this),this.data.proKey&&(this.proKey=this.data.proKey)):(this.data.proKey="",this.data=await xz(this,this.debug))}catch(e){return this.debug&&(console.error(e),Iz(this.shadowRoot,e)),this.state.initializing=!1,void(this.state.ready=!0)}await this.initButton(),this.state.initializing=!1,this.state.initialized=!0,this.state.ready=!0,this._initializedResolver()}whenInitialized(){return this._initialized}disconnectedCallback(){Dz(this.shadowRoot,this.identifier),this.debug&&console.log('Add to Calendar Button "'+this.identifier+'" destroyed'),0===document.querySelectorAll("add-to-calendar-button").length&&(Mz=0)}static get observedAttributes(){const e=["instance","prokey","proKey","prooverride","proOverride"];return this.proKey&&""!==this.proKey?HN.map(e=>e.toLowerCase()).concat(e):zN.map(e=>e.toLowerCase()).concat(e)}
2attributeChangedCallback(e,t,n){this.state.ready&&(this.debug&&this.state.initialized&&console.log(`${e}'s value has been changed from ${t} to ${n}`),this.updatePending||(this.updatePending=!0,setTimeout(()=>this.updateComponent(),0)))}async updateComponent(){if(!this.updatePending)return;this.data={},this.shadowRoot.querySelector(".atcb-initialized").remove();const e=document.createElement("template");e.innerHTML=Sz,this.shadowRoot.append(e.content.cloneNode(!0));try{this.hasAttribute("proKey")&&""!==this.getAttribute("proKey")?(this.data=await Rz(this.getAttribute("proKey"),this),this.data.proKey&&(this.proKey=this.data.proKey)):this.hasAttribute("prokey")&&""!==this.getAttribute("prokey")?(this.data=await Rz(this.getAttribute("prokey"),this),this.data.proKey&&(this.proKey=this.data.proKey)):this.data=await xz(this,this.debug)}catch(e){return this.debug&&(console.error(e),Iz(this.shadowRoot,e)),void(this.updatePending=!1)}Dz(this.shadowRoot,this.identifier),await this.initButton(),this.updatePending=!1}async initButton(){if(this.state.initialized||(Mz+=1),this.identifier&&""!==this.identifier)this.data.identifier=this.identifier;else{if(this.data.identifier&&""!==this.data.identifier)if(/^[\w-]+$/.test(this.data.identifier))this.data.identifier="atcb-btn-"+this.data.identifier;else if(this.data.identifier="",this.debug){let e="Add to Calendar Button";this.data.rsvp&&Object.keys(this.data.rsvp).length>0&&(e="RSVP"),console.warn(e+" generation: identifier invalid - using auto numbers instead")}null!=this.data.identifier&&""!=this.data.identifier||(this.data.identifier="atcb-btn-"+Mz),this.identifier=this.data.identifier}this.setAttribute("atcb-button-id",this.data.identifier);try{return this.style.visibility="visible",this.style.opacity="1",this.style.position="relative",this.style.outline="none",await async function(e,t){try{e.host.classList.add("add-to-calendar"),t=await VN(t),await aR(t);const n=e.querySelector(".atcb-initialized");return Yz(e,t),n.setAttribute("lang",t.language),Cz(e,n,t),Pz(t),zz(e,t),Nz(t.proKey,t.hideBranding,t.debug),t.hidden||(t.rsvp&&Object.keys(t.rsvp).length>0?t.inlineRsvp?await wR(e,t,n):await async function(e,t){const n=e.querySelector(".atcb-initialized"),i=document.createElement("div");i.classList.add("atcb-button-wrapper"),t.rtl&&i.classList.add("atcb-rtl"),n.append(i),oz(i,t.sizes);const r=document.createElement("button");r.classList.add("atcb-button","atcb-click","atcb-single"),t.disabled&&r.setAttribute("disabled",!0),t.hideTextLabelButton&&r.classList.add("atcb-no-text"),r.type="button",r.setAttribute("aria-expanded",!1),i.append(r);const s=t.rsvp.expired?wz("label.rsvp.expired",t):t.rsvp.bookedOut?wz("label.rsvp.bookedout",t):wz("label.rsvp",t);return xR(e,t,r,"rsvp",!t.hideIconButton,s,!0),t.debug&&console.log('Add to Calendar RSVP Button "'+t.identifier+'" created'),!0}(e,t):OR(e,n,t),!t.hideRichData&&!t.subscribe&&t.name&&t.dates[0].location&&t.dates[0].startDate&&function(e,t){const n=document.createElement("script");if(n.id="atcb-schema-"+e.identifier,t.hasAttribute("cspnonce")){if(/[`'"()[\]{}<>\s]/.test(t.getAttribute("cspnonce")))throw new Error("cspnonce input contains forbidden characters.");n.setAttribute("nonce",t.getAttribute("cspnonce"))}n.type="application/ld+json";const i=e.name.replace(/\s/g,""),r=[];if(e.dates.length>1){const t=[];t.push('"@context":"https://schema.org"'),t.push('"@type":"EventSeries"'),t.push('"@id":"'+i+'"'),t.push('"name":"'+e.name+'",'),r.push("{\r\n"+t.join(",\r\n")+"\r\n")}const s=[];for(let t=0;t<e.dates.length;t++){const n=[];n.push('"@context":"https://schema.org"'),n.push('"@type":"Event"'),e.dates.length>1&&n.push('"@id":"'+i+"-"+(t+1)+'"'),"cancelled"===e.dates[`${t}`].status.toLowerCase()?n.push('"eventStatus":"https://schema.org/EventCancelled"'):n.push('"eventStatus":"https://schema.org/EventScheduled"'),n.push('"name":"'+e.dates[`${t}`].name+'"'),e.dates[`${t}`].descriptionHtmlFree&&n.push('"description":"'+e.dates[`${t}`].descriptionHtmlFree+'"');const r=UR(e.dates[`${t}`],"delimiters","general",!0);if(n.push('"startDate":"'+r.start+'"'),r.duration&&n.push('"duration":"'+r.duration+'"'),n.push(e.dates[`${t}`].onlineEvent?'"eventAttendanceMode":"https://schema.org/OnlineEventAttendanceMode",\r\n"location": {\r\n"@type":"VirtualLocation",\r\n"url":"'+e.dates[`${t}`].location+'"\r\n}':'"location":"'+e.dates[`${t}`].location+'"'),e.recurrence&&""!==e.recurrence?n.push(...PR(e,r)):n.push('"endDate":"'+r.end+'"'),e.dates[`${t}`].organizer&&""!==e.dates[`${t}`].organizer){const i=e.dates[`${t}`].organizer.split("|");n.push('"organizer":{\r\n"@type":"Person",\r\n"name":"'+i[0]+'",\r\n"email":"'+i[1]+'"\r\n}')}const o=[];if(e.images&&Array.isArray(e.images))for(let t=0;t<e.images.length;t++)XR(e.images[`${t}`],e.debug)&&e.images[`${t}`].startsWith("http")&&o.push('"'+e.images[`${t}`]+'"');o.length>0&&n.push('"image":[\r\n'+o.join(",\r\n")+"]"),s.push("{\r\n"+n.join(",\r\n")+"\r\n}")}e.dates.length>1?n.textContent=r.join(",\r\n")+'"subEvents":[\r\n'+s.join(",\r\n")+"\r\n]\r\n}":n.textContent=s[0],document.body.insertBefore(n,document.body.firstChild)}(t,e.host)),gz("initialization",t.identifier,t.identifier),t.proKey||!t.hideBranding||document.getElementById("atcb-reference")||YR(document.body,!1,!1,!0),!0}catch(e){throw new Error(e.message)}}(this.shadowRoot,this.data),!0}catch(e){return this.debug&&(console.error(e.message?e.message:e),Iz(this.shadowRoot,e)),!1}}}customElements.get("add-to-calendar-button")||customElements.define("add-to-calendar-button",e)}async function xz(e,t=!1){let n;try{n=Oz(e),await oR(n)}catch{const i=e.innerHTML.trim();if(!i)throw new Error("Add to Calendar Button generation failed: No data provided.");
2try{const e=JSON.parse(QR(i.replace(/(\r\n|\n|\r)/g,""),!1));await oR(e),n=e}catch(e){throw t&&console.error(e),new Error("Add to Calendar Button generation failed: no data provided or missing required fields - see console logs for details")}}return n}function Oz(e,t=zN){let n={};for(let i=0;i<t.length;i++){let r=t[`${i}`];if(e.hasAttribute(`${r}`)){let t,i=QR(e.getAttribute(`${r}`).replace(/(\\r\\n|\\n|\\r)/g,""),!1);if(jN.includes(r))t=!i||""===i||"true"===i.toLowerCase();else if(FN.includes(r)){const e=function(){return i&&""!==i?"{"!=i.substring(0,1)?"{"+i+"}":i:"{}"}();t=JSON.parse(e)}else if(BN.includes(r)){const e=function(){return i&&""!==i?"["!=i.substring(0,1)?"["+i+"]":i:"[]"}();t=JSON.parse(e)}else $N.includes(r)?(t=i,i.includes("[")&&(t=t.substring(1,t.length-1)),(i.includes('"')||i.includes("'"))&&(t=t.substring(1,t.length-1)),i.includes("|")||(t=t.replace(/\s/g,"")),t=t.includes("','")?t.split("','"):t.split('","')):t=WN.includes(r)?parseInt(i):i;if("object"==typeof t&&0===Object.keys(t).length||Array.isArray(t)&&(0===t.length||1===t.length&&""===t[0]))continue;n[`${r}`]=t}}return n}function Dz(e,t){bR(e),function(e){void 0!==Lz[`${e}`]&&Lz[`${e}`].disconnect()}(t);const n=document.getElementById("atcb-schema-"+t);n&&n.remove(),Array.from(e.querySelectorAll(".atcb-debug-error-msg")).concat(Array.from(e.querySelectorAll("style"))).concat(Array.from(e.querySelectorAll("link"))).concat(Array.from(e.querySelectorAll(".atcb-placeholder"))).concat(Array.from(e.querySelectorAll(".atcb-button-wrapper"))).forEach(e=>e.remove()),delete RN[`${t}`]}function Yz(e,t){e.host.classList.remove("atcb-dark","atcb-light","atcb-bodyScheme");const n="bodyScheme"==t.lightMode?document.body.classList.contains("atcb-dark")||document.documentElement.classList.contains("atcb-dark")||document.body.classList.contains("atcp-dark")||document.documentElement.classList.contains("atcp-dark")||document.body.classList.contains("dark")||document.documentElement.classList.contains("dark")?"dark":"light":t.lightMode;e.host.classList.add("atcb-"+n)}function Az(e){if(!e.host.hasAttribute("cspnonce"))return null;if(/[`'"()[\]{}<>\s]/.test(e.host.getAttribute("cspnonce")))throw new Error("cspnonce input contains forbidden characters.");return e.host.getAttribute("cspnonce")}async function Cz(e,t=null,n){const i=Az(e);if(!document.getElementById("atcb-global-style")){const e=document.createElement("style");e.id="atcb-global-style";const t=window.innerWidth-document.documentElement.clientWidth;e.innerText=".atcb-modal-no-scroll{overflow-y:hidden !important;-webkit-overflow-scrolling:touch;} body.atcb-modal-no-scroll{padding-right:"+t+"px;}.atcb-attribution{display:none;}",i&&e.setAttribute("nonce",i),document.head.append(e)}const r=document.createElement("style"),s=n.inlineRsvp&&n.rsvp&&Object.keys(n.rsvp).length>0?"100%":"fit-content";r.innerText=`.atcb-initialized { display: block; position: relative; width: ${s}; }.atcb-initialized.atcb-inline { display: inline-block; }.atcb-initialized.atcb-buttons-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--buttonslist-gap); }.atcb-hidden { display: none; }`,i&&r.setAttribute("nonce",i),e.prepend(r);const o=n.styleLight?":host{"+QR(n.styleLight.replace(/(\\r\\n|\\n|\\r)/g,""),!1)+"}":"",a=n.styleDark?":host(.atcb-dark){"+QR(n.styleDark.replace(/(\\r\\n|\\n|\\r)/g,""),!1)+"}":"";if(n.customCss&&""!==n.customCss){const r=document.createElement("link");if(r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("href",n.customCss),i&&r.setAttribute("nonce",i),t){const s=document.createElement("div");s.classList.add("atcb-placeholder"),e.prepend(s);const l=document.createElement("style");l.innerText=".atcb-placeholder { background-color: #777; border-radius: 200px; height: 40px; opacity: .3; width: 150px; }",i&&l.setAttribute("nonce",i),e.prepend(l),Ez(r,e,t,i,s,n.inline,n.buttonsList,o+a)}else await Ez(r,e,null,i,null,!1,!1,o+a);return}if("none"!==n.buttonStyle&&TN[`${n.buttonStyle}`]){const t=document.createElement("style");i&&t.setAttribute("nonce",i),t.innerText=TN[`${n.buttonStyle}`]+o+a,e.prepend(t)}t&&(n.inline?(t.style.display="inline-block",t.classList.add("atcb-inline")):n.buttonsList&&t.classList.add("atcb-buttons-list"),t.classList.remove("atcb-hidden"))}async function Ez(e,t,n=null,i=null,r=null,s=!1,o=!1,a=""){if(""!==a){const e=document.createElement("style");e.innerText=a,i&&e.setAttribute("nonce",i),t.prepend(e)}try{t.prepend(e),await new Promise(t=>{e.onload=t}),n&&(r&&r.remove(),s?(n.style.display="inline-block",n.classList.add("atcb-inline")):o&&n.classList.add("atcb-buttons-list"),n.classList.remove("atcb-hidden"))}catch(e){console.log(e)}}function Iz(e,t){if(e.querySelector(".atcb-debug-error-msg"))return;const n=Az(e),i=document.createElement("div");i.classList.add("atcb-debug-error-msg");const r=document.createElement("style");r.innerText=".atcb-debug-error-msg { color: #bf2e2e; font-size: 12px; font-weight: bold; padding: 12px 15px; border: 2px solid #bf2e2e; max-width: 180px; border-radius: 13px; }",n&&r.setAttribute("nonce",n),e.prepend(r),i.textContent=t,e.append(i)}function Pz(e){const t=[];for(let n=0;n<e.options.length;n++){t[e.options[`${n}`]]=[];for(let i=1;i<=e.dates.length;i++)"cancelled"===e.dates[i-1].status.toLowerCase()?t[e.options[`${n}`]].push(1):t[e.options[`${n}`]].push(0)}RN[e.identifier]=t}function Nz(e="",t=!1,n=!1){if(!Tz){const i=n?" (version "+kN+")":"";""!==e?t&&!n||console.log("Add to Calendar PRO script initialized"+i+" | https://add-to-calendar-pro.com"):(console.log("%c\nAdd to Calendar Button script initialized"+i+"\nsee https://add-to-calendar-button.com for details.\n","font-weight: bold;"),console.log("⨠%cPRO version available at https://add-to-calendar-pro.com â check it out!","font-weight: bold; line-height: 60px;")),Tz=!0}}async function Rz(e,t=null,n={}){if(e&&""!==e)try{const i=t?t.proOverride:n.proOverride,r=t?Oz(t,i?zN:HN):n,s=await fetch(`https://${r.dev?"event-dev.caldn.net":"event.caldn.net"}/${e}/config.json`);if(s.ok){const t=await s.json();if(i){const e=(window.location.hostname||"").split(".").slice(-2).join(".");
2zN.forEach(n=>{!Object.prototype.hasOwnProperty.call(r,n)||-1!==["hideBranding","ty","rsvp"].indexOf(n)&&"caldn.net"!==e&&"add-to-calendar-pro.com"!==e||(t[`${n}`]=r[`${n}`])})}else HN.forEach(e=>{Object.prototype.hasOwnProperty.call(r,e)&&(t[`${e}`]=r[`${e}`])});if(r.rsvp&&Object.prototype.hasOwnProperty.call(r.rsvp,"none")&&delete t.rsvp,!(t.name&&""!==t.name||t.dates&&""!==t.dates[0].name))throw new Error("Not possible to read proKey config from server...");if(t.landingpage.domain&&""!==t.landingpage.domain&&XR(t.landingpage.domain)&&(t.domain=t.landingpage.domain,delete t.landingpage),!(t.proxy&&""!==t.proxy||t.hideBranding&&""!==t.hideBranding)){for(let e=0;e<t.dates.length;e++)t.dates[`${e}`].description&&""!==t.dates[`${e}`].description?t.dates[`${e}`].description+="[br][br][p]Powered by add-to-calendar-pro.com[/p]":t.dates[`${e}`].description="Powered by add-to-calendar-pro.com";t.description&&""!==t.description&&(t.description+="Powered by add-to-calendar-pro.com")}return t.proKey=e,t.identifier=e,t}throw new Error("Not possible to read proKey config from server...")}catch(e){throw console.error(e),new Error("proKey invalid or server not responding!")}return{}}function zz(e,t){MN()&&("bodyScheme"==t.lightMode&&(Lz[t.identifier]=new MutationObserver(function(n){n.forEach(n=>{"class"===n.attributeName&&Yz(e,t)})}),Lz[t.identifier].observe(document.documentElement,{attributes:!0}),Lz[t.identifier].observe(document.body,{attributes:!0})),Tz||(document.addEventListener("keyup",Hz),document.addEventListener("keydown",jz),window.addEventListener("resize",Fz)))}function Hz(e){const t=function(){const e=document.querySelector('[atcb-button-id="'+RN.active+'"]');return e?e.shadowRoot:null}();t&&"Escape"===e.key&&(gz("closeList","Ecs Hit",RN.active),yR(t,"close","","",!0))}function jz(e){const t=function(){const e=document.querySelector('[atcb-button-id="'+RN.active+'"]'),t=document.getElementById(RN.active+"-modal-host");return t?t.shadowRoot:e?e.shadowRoot:null}();if(t&&t.querySelector(".atcb-list")&&("ArrowDown"===e.key||"ArrowUp"===e.key||"Tab"===e.key)){e.preventDefault();let n=0,i=t.activeElement;const r=t.querySelectorAll(".atcb-list-item").length;if(i&&i.classList.contains("atcb-list-item"))"ArrowDown"===e.key&&i.dataset.optionNumber<r?n=parseInt(i.dataset.optionNumber)+1:"Tab"===e.key?n=e.shiftKey?i.dataset.optionNumber>1?parseInt(i.dataset.optionNumber)-1:r:i.dataset.optionNumber<r?parseInt(i.dataset.optionNumber)+1:1:"ArrowUp"===e.key&&i.dataset.optionNumber>=1&&(n=parseInt(i.dataset.optionNumber)-1),n>0&&t.querySelector('.atcb-list-item[data-option-number="'+n+'"]').focus();else if("ArrowUp"===e.key)t.querySelector('.atcb-list-item[data-option-number="'+r+'"]').focus();else t.querySelector('.atcb-list-item[data-option-number="1"]').focus()}}function Fz(){const e=function(){const e=document.querySelector('[atcb-button-id="'+RN.active+'"]'),t=document.getElementById(RN.active+"-modal-host");return t?t.shadowRoot:e?e.shadowRoot:null}();if(e){const t=e.querySelector("#atcb-bgoverlay");t&&(sz(t),rz(e))}}var Bz=function(e,t){var n={name:t.name,description:t.description,startDate:t.startDate,startTime:t.startTime,endDate:t.endD
2ate,endTime:t.endTime,iCalFileName:t.iCalFileName,options:[e.getAttribute("data-calendar-type")],hideBranding:!0};e.addEventListener("click",function(){return async function(e,t,n=!1){if(!MN())return;let i;try{i=await async function(){const t=QR(e);if(t.prokey&&""!==t.prokey&&(t.proKey=t.prokey),!t.proKey||""===t.proKey)return t;try{return await Rz(t.proKey,null,t)}catch(e){throw new Error(e.message)}}()}catch(e){return void console.error(e)}i.debug="true"===i.debug;try{await oR(i)}catch(e){throw i.debug&&console.error(e),new Error("Add to Calendar Button generation failed: no data provided or missing required fields - see console logs for details")}i=await VN(i);let r=document.body;i.trigger="click",t?(r=t,t.id&&""!==t.id?i.identifier=t.id:(i.identifier&&""!=i.identifier&&/^[\w-]+$/.test(i.identifier)?i.identifier="atcb-btn-"+i.identifier:i.identifier="atcb-btn-custom",t.id=i.identifier),"dropdown"!==i.listStyle&&"dropdown-static"!==i.listStyle&&"dropup-static"!==i.listStyle||(i.listStyle="modal")):(i.identifier="atcb-btn-custom",i.listStyle="modal");try{await aR(i)}catch(e){return console.error(e),!1}const s=1===i.options.length,o=document.getElementById("atcb-customTrigger-"+i.identifier+"-host");if(o&&(bR(o.shadowRoot,!1),RN[`${RN.active}`]&&delete RN[`${RN.active}`],o.remove()),gz("initialization",i.identifier,i.identifier),!i.blockInteraction&&!i.hidden){const e=document.createElement("div");if(i.cspnonce&&""!==i.cspnonce&&e.setAttribute("cspnonce",i.cspnonce),e.id="atcb-customTrigger-"+i.identifier+"-host",r===document.body?document.body.append(e):r.after(e),t){const n=t.getBoundingClientRect();e.style.position="relative",e.style.left=-n.width+"px",e.style.top=n.height+"px"}e.setAttribute("atcb-button-id",i.identifier),e.attachShadow({mode:"open",delegateFocus:!0});const o=document.createElement("template");o.innerHTML=Sz,e.shadowRoot.append(o.content.cloneNode(!0));const a=e.shadowRoot.querySelector(".atcb-initialized");Pz(i),Yz(e.shadowRoot,i),e.shadowRoot.querySelector(".atcb-initialized").setAttribute("lang",i.language),Cz(e.shadowRoot,a,i),zz(e.shadowRoot,i),i.rsvp&&Object.keys(i.rsvp).length>0?wR(e.shadowRoot,i,t,n):s?(await NR(e.shadowRoot,i.options[0],i,"all",n),gz("openSingletonLink",i.identifier,i.identifier)):yR(e.shadowRoot,"open",i,t,n)}return Nz(i.proKey,i.hideBranding,i.debug),i.debug&&console.log('Add to Calendar Button "'+i.identifier+'" triggered'),i.identifier}(n,e)})},$z=function(e){return new Promise(function(t,n){var i=e.querySelectorAll(".bhub-calendar-button");i.length?i.forEach(function(e){var n=e.getAttribute("data-args");Bz(e,JSON.parse(n)),t()}):n()})},Wz=function(e){var t=e.parentNode,n=t.querySelector(".bhub-input-spinner__button--minus"),i=t.querySelector(".bhub-input-spinner__button--plus"),r=e.getAttribute("min"),s=e.getAttribute("max");n.addEventListener("click",function(){var t=parseInt(e.value,10);t>r&&(e.value=t-1,c(e).trigger("change"))}),i.addEventListener("click",function(){var t=parseInt(e.value,10);t<s&&(e.value=t+1,c(e).trigger("change"))})};function Uz(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vz(e){return e instanceof Uz(e).Element||e instanceof Element}function Zz(e){return e instanceof Uz(e).HTMLElement||e instanceof HTMLElement}function qz(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Uz(e).ShadowRoot||e instanceof ShadowRoot)}var Qz=Math.max,Xz=Math.min,Gz=Math.round;function Kz(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Jz(){return!/^((?!chrome|android).)*safari/i.test(Kz())}function eH(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,s=1;t&&Zz(e)&&(r=e.offsetWidth>0&&Gz(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Gz(i.height)/e.offsetHeight||1);var o=(Vz(e)?Uz(e):window).visualViewport,a=!Jz()&&n,l=(i.left+(a&&o?o.offsetLeft:0))/r,c=(i.top+(a&&o?o.offsetTop:0))/s,d=i.width/r,u=i.height/s;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function tH(e){var t=Uz(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function nH(e){return e?(e.nodeName||"").toLowerCase():null}function iH(e){return((Vz(e)?e.ownerDocument:e.document)||window.document).documentElement}function rH(e){return eH(iH(e)).left+tH(e).scrollLeft}function sH(e){return Uz(e).getComputedStyle(e)}function oH(e){var t=sH(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function aH(e,t,n){void 0===n&&(n=!1);var i,r,s=Zz(t),o=Zz(t)&&function(e){var t=e.getBoundingClientRect(),n=Gz(t.width)/e.offsetWidth||1,i=Gz(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=iH(t),l=eH(e,o,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!n)&&(("body"!==nH(t)||oH(a))&&(c=(i=t)!==Uz(i)&&Zz(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:tH(i)),Zz(t)?((d=eH(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=rH(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function lH(e){var t=eH(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function cH(e){return"html"===nH(e)?e:e.assignedSlot||e.parentNode||(qz(e)?e.host:null)||iH(e)}function dH(e){return["html","body","#document"].indexOf(nH(e))>=0?e.ownerDocument.body:Zz(e)&&oH(e)?e:dH(cH(e))}function uH(e,t){var n;void 0===t&&(t=[]);var i=dH(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),s=Uz(i),o=r?[s].concat(s.visualVie
vendor: 5,068 bytes, line 2
2wport||[],oH(i)?i:[]):i,a=t.concat(o);return r?a:a.concat(uH(cH(o)))}function hH(e){return["table","td","th"].indexOf(nH(e))>=0}function fH(e){return Zz(e)&&"fixed"!==sH(e).position?e.offsetParent:null}function mH(e){for(var t=Uz(e),n=fH(e);n&&hH(n)&&"static"===sH(n).position;)n=fH(n);return n&&("html"===nH(n)||"body"===nH(n)&&"static"===sH(n).position)?t:n||function(e){var t=/firefox/i.test(Kz());if(/Trident/i.test(Kz())&&Zz(e)&&"fixed"===sH(e).position)return null;var n=cH(e);for(qz(n)&&(n=n.host);Zz(n)&&["html","body"].indexOf(nH(n))<0;){var i=sH(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}var pH="top",gH="bottom",yH="right",_H="left",bH="auto",vH=[pH,gH,yH,_H],wH="start",kH="end",TH="viewport",MH="popper",LH=vH.reduce(function(e,t){return e.concat([t+"-"+wH,t+"-"+kH])},[]),SH=[].concat(vH,[bH]).reduce(function(e,t){return e.concat([t,t+"-"+wH,t+"-"+kH])},[]),xH=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function OH(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||r(e)}),i}function DH(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var YH={placement:"bottom",modifiers:[],strategy:"absolute"};function AH(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function CH(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,s=void 0===r?YH:r;return function(e,t,n){void 0===n&&(n=s);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},YH,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],a=!1,l={state:r,setOptions:function(n){var a="function"==typeof n?n(r.options):n;c(),r.options=Object.assign({},s,r.options,a),r.scrollParents={reference:Vz(e)?uH(e):e.contextElement?uH(e.contextElement):[],popper:uH(t)};var d=function(e){var t=OH(e);return xH.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}(function(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(i,r.options.modifiers)));return r.orderedModifiers=d.filter(function(e){return e.enabled}),r.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,s=e.effect;if("function"==typeof s){var a=s({state:r,name:t,instance:l,options:i}),c=function(){};o.push(a||c)}}),l.update()},forceUpdate:function(){if(!a){var e=r.elements,t=e.reference,n=e.popper;if(AH(t,n)){r.rects={reference:aH(t,mH(n),"fixed"===r.options.strategy),popper:lH(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach(function(e){return r.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var s=r.orderedModifiers[i],o=s.fn,c=s.options,d=void 0===c?{}:c,u=s.name;"function"==typeof o&&(r=o({state:r,options:d,name:u,instance:l})||r)}else r.reset=!1,i=-1}}},update:DH(function(){return new Promise(function(e){l.forceUpdate(),e(r)})}),destroy:function(){c(),a=!0}};if(!AH(e,t))return l;function c(){o.forEach(function(e){return e()}),o=[]}return l.setOptions(n).then(function(e){!a&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}var EH={passive:!0};function IH(e){return e.split("-")[0]}function PH(e){return e.split("-")[1]}function NH(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function RH(e){var t,n=e.reference,i=e.element,r=e.placement,s=r?IH(r):null,o=r?PH(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case pH:t={x:a,y:n.y-i.height};break;case gH:t={x:a,y:n.y+n.height};break;case yH:t={x:n.x+n.width,y:l};break;case _H:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=s?NH(s):null;if(null!=c){var d="y"===c?"height":"width";switch(o){case wH:t[c]=t[c]-(n[d]/2-i[d]/2);break;case kH:t[c]=t[c]+(n[d]/2-i[d]/2)}}return t}var zH={top:"auto",right:"auto",bottom:"auto",left:"auto"};function HH(e){var t,n=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,h=o.x,f=void 0===h?0:h,m=o.y,p=void 0===m?0:m,g="function"==typeof d?d({x:f,y:p}):{x:f,y:p};f=g.x,p=g.y;var y=o.hasOwnProperty("x"),_=o.hasOwnProperty("y"),b=_H,v=pH,w=window;if(c){var k=mH(n),T="clientHeight",M="clientWidth";if(k===Uz(n)&&"static"!==sH(k=iH(n)).position&&"absolute"===a&&(T="scrollHeight",M="scrollWidth"),r===pH||(r===_H||r===yH)&&s===kH)v=gH,p-=(u&&k===w&&w.visualVie
vendor: 4,923 bytes, line 2
2wport?w.visualViewport.height:k[T])-i.height,p*=l?1:-1;if(r===_H||(r===pH||r===gH)&&s===kH)b=yH,f-=(u&&k===w&&w.visualViewport?w.visualViewport.width:k[M])-i.width,f*=l?1:-1}var L,S=Object.assign({position:a},c&&zH),x=!0===d?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:Gz(n*r)/r||0,y:Gz(i*r)/r||0}}({x:f,y:p},Uz(n)):{x:f,y:p};return f=x.x,p=x.y,l?Object.assign({},S,((L={})[v]=_?"0":"",L[b]=y?"0":"",L.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",L)):Object.assign({},S,((t={})[v]=_?p+"px":"",t[b]=y?f+"px":"",t.transform="",t))}var jH={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];Zz(r)&&nH(r)&&(Object.assign(r.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var i=t.elements[e],r=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Zz(i)&&nH(i)&&(Object.assign(i.style,s),Object.keys(r).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};var FH={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,s=void 0===r?[0,0]:r,o=SH.reduce(function(e,n){return e[n]=function(e,t,n){var i=IH(e),r=[_H,pH].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[_H,yH].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,s),e},{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},BH={left:"right",right:"left",bottom:"top",top:"bottom"};function $H(e){return e.replace(/left|right|bottom|top/g,function(e){return BH[e]})}var WH={start:"end",end:"start"};function UH(e){return e.replace(/start|end/g,function(e){return WH[e]})}function VH(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qz(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ZH(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qH(e,t,n){return t===TH?ZH(function(e,t){var n=Uz(e),i=iH(e),r=n.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=Jz();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+rH(e),y:l}}(e,n)):Vz(t)?function(e,t){var n=eH(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ZH(function(e){var t,n=iH(e),i=tH(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=Qz(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Qz(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+rH(e),l=-i.scrollTop;return"rtl"===sH(r||n).direction&&(a+=Qz(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(iH(e)))}function QH(e,t,n,i){var r="clippingParents"===t?function(e){var t=uH(cH(e)),n=["absolute","fixed"].indexOf(sH(e).position)>=0&&Zz(e)?mH(e):e;return Vz(n)?t.filter(function(e){return Vz(e)&&VH(e,n)&&"body"!==nH(e)}):[]}(e):[].concat(t),s=[].concat(r,[n]),o=s[0],a=s.reduce(function(t,n){var r=qH(e,n,i);return t.top=Qz(r.top,t.top),t.right=Xz(r.right,t.right),t.bottom=Xz(r.bottom,t.bottom),t.left=Qz(r.left,t.left),t},qH(e,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function XH(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function GH(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function KH(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,s=n.strategy,o=void 0===s?e.strategy:s,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,d=void 0===c?TH:c,u=n.elementContext,h=void 0===u?MH:u,f=n.altBoundary,m=void 0!==f&&f,p=n.padding,g=void 0===p?0:p,y=XH("number"!=typeof g?g:GH(g,vH)),_=h===MH?"reference":MH,b=e.rects.popper,v=e.elements[m?_:h],w=QH(Vz(v)?v:v.contextElement||iH(e.elements.popper),l,d,o),k=eH(e.elements.reference),T=RH({reference:k,element:b,strategy:"absolute",placement:r}),M=ZH(Object.assign({},b,T)),L=h===MH?M:k,S={top:w.top-L.top+y.top,bottom:L.bottom-w.bottom+y.bottom,left:w.left-L.left+y.left,right:L.right-w.right+y.right},x=e.modifiersData.offset;if(h===MH&&x){var O=x[r];
vendor: 5,174 bytes, line 2
2Object.keys(S).forEach(function(e){var t=[yH,gH].indexOf(e)>=0?1:-1,n=[pH,gH].indexOf(e)>=0?"y":"x";S[e]+=O[n]*t})}return S}var JH={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,m=void 0===f||f,p=n.allowedAutoPlacements,g=t.options.placement,y=IH(g),_=l||(y===g||!m?[$H(g)]:function(e){if(IH(e)===bH)return[];var t=$H(e);return[UH(e),t,UH(t)]}(g)),b=[g].concat(_).reduce(function(e,n){return e.concat(IH(n)===bH?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?SH:l,d=PH(i),u=d?a?LH:LH.filter(function(e){return PH(e)===d}):vH,h=u.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=u);var f=h.reduce(function(t,n){return t[n]=KH(e,{placement:n,boundary:r,rootBoundary:s,padding:o})[IH(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:p}):n)},[]),v=t.rects.reference,w=t.rects.popper,k=new Map,T=!0,M=b[0],L=0;L<b.length;L++){var S=b[L],x=IH(S),O=PH(S)===wH,D=[pH,gH].indexOf(x)>=0,Y=D?"width":"height",A=KH(t,{placement:S,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),C=D?O?yH:_H:O?gH:pH;v[Y]>w[Y]&&(C=$H(C));var E=$H(C),I=[];if(s&&I.push(A[x]<=0),a&&I.push(A[C]<=0,A[E]<=0),I.every(function(e){return e})){M=S,T=!1;break}k.set(S,I)}if(T)for(var P=function(e){var t=b.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return M=t,"break"},N=m?3:1;N>0;N--){if("break"===P(N))break}t.placement!==M&&(t.modifiersData[i]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ej(e,t,n){return Qz(e,Xz(t,n))}var tj={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,h=n.tether,f=void 0===h||h,m=n.tetherOffset,p=void 0===m?0:m,g=KH(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),y=IH(t.placement),_=PH(t.placement),b=!_,v=NH(y),w="x"===v?"y":"x",k=t.modifiersData.popperOffsets,T=t.rects.reference,M=t.rects.popper,L="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,S="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(k){if(s){var D,Y="y"===v?pH:_H,A="y"===v?gH:yH,C="y"===v?"height":"width",E=k[v],I=E+g[Y],P=E-g[A],N=f?-M[C]/2:0,R=_===wH?T[C]:M[C],z=_===wH?-M[C]:-T[C],H=t.elements.arrow,j=f&&H?lH(H):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[Y],$=F[A],W=ej(0,T[C],j[C]),U=b?T[C]/2-N-W-B-S.mainAxis:R-W-B-S.mainAxis,V=b?-T[C]/2+N+W+$+S.mainAxis:z+W+$+S.mainAxis,Z=t.elements.arrow&&mH(t.elements.arrow),q=Z?"y"===v?Z.clientTop||0:Z.clientLeft||0:0,Q=null!=(D=null==x?void 0:x[v])?D:0,X=E+V-Q,G=ej(f?Xz(I,E+U-Q-q):I,E,f?Qz(P,X):P);k[v]=G,O[v]=G-E}if(a){var K,J="x"===v?pH:_H,ee="x"===v?gH:yH,te=k[w],ne="y"===w?"height":"width",ie=te+g[J],re=te-g[ee],se=-1!==[pH,_H].indexOf(y),oe=null!=(K=null==x?void 0:x[w])?K:0,ae=se?ie:te-T[ne]-M[ne]-oe+S.altAxis,le=se?te+T[ne]+M[ne]-oe-S.altAxis:re,ce=f&&se?function(e,t,n){var i=ej(e,t,n);return i>n?n:i}(ae,te,le):ej(f?ae:ie,te,f?le:re);k[w]=ce,O[w]=ce-te}t.modifiersData[i]=O}},requiresIfExists:["offset"]};var nj={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=IH(n.placement),l=NH(a),c=[_H,yH].indexOf(a)>=0?"height":"width";if(s&&o){var d=function(e,t){return XH("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:GH(e,vH))}(r.padding,n),u=lH(s),h="y"===l?pH:_H,f="y"===l?gH:yH,m=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],p=o[l]-n.rects.reference[l],g=mH(s),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,_=m/2-p/2,b=d[h],v=y-u[c]-d[f],w=y/2-u[c]/2+_,k=ej(b,w,v),T=l;n.modifiersData[i]=((t={})[T]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&VH(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ij(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rj(e){return[pH,yH,gH,_H].some(function(t){return e[t]>=0})}var sj=CH({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,s=void 0===r||r,o=i.resize,a=void 0===o||o,l=Uz(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);
vendor: 5,050 bytes, line 2
2return s&&c.forEach(function(e){e.addEventListener("scroll",n.update,EH)}),a&&l.addEventListener("resize",n.update,EH),function(){s&&c.forEach(function(e){e.removeEventListener("scroll",n.update,EH)}),a&&l.removeEventListener("resize",n.update,EH)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=RH({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:IH(t.placement),variation:PH(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,HH(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,HH(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},jH,FH,JH,tj,nj,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=KH(t,{elementContext:"reference"}),a=KH(t,{altBoundary:!0}),l=ij(o,i),c=ij(a,r,s),d=rj(l),u=rj(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]}),oj="tippy-content",aj="tippy-backdrop",lj="tippy-arrow",cj="tippy-svg-arrow",dj={passive:!0,capture:!0},uj=function(){return document.body};function hj(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function fj(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function mj(e,t){return"function"==typeof e?e.apply(void 0,t):e}function pj(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)};var n}function gj(e){return[].concat(e)}function yj(e,t){-1===e.indexOf(t)&&e.push(t)}function _j(e){return e.split("-")[0]}function bj(e){return[].slice.call(e)}function vj(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function wj(){return document.createElement("div")}function kj(e){return["Element","Fragment"].some(function(t){return fj(e,t)})}function Tj(e){return fj(e,"MouseEvent")}function Mj(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Lj(e){return kj(e)?[e]:function(e){return fj(e,"NodeList")}(e)?bj(e):Array.isArray(e)?e:bj(document.querySelectorAll(e))}function Sj(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function xj(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Oj(e){var t,n=gj(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Dj(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[i](t,n)})}function Yj(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var Aj={isTouch:!1},Cj=0;function Ej(){Aj.isTouch||(Aj.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ij))}function Ij(){var e=performance.now();e-Cj<20&&(Aj.isTouch=!1,document.removeEventListener("mousemove",Ij)),Cj=e}function Pj(){var e=document.activeElement;if(Mj(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Nj=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Rj={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},zj=Object.assign({appendTo:uj,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Rj,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Hj=Object.keys(zj);function jj(e){var t=(e.plugins||[]).reduce(function(t,n){var i,r=n.name,s=n.defaultValue;r&&(t[r]=void 0!==e[r]?e[r]:null!=(i=zj[r])?i:s);return t},{});return Object.assign({},e,t)}function Fj(e,t){var n=Object.assign({},t,{content:mj(t.content,[e])},t.ignoreAttributes?{}
vendor: 4,794 bytes, line 2
2:function(e,t){return(t?Object.keys(jj(Object.assign({},zj,{plugins:t}))):Hj).reduce(function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t},{})}(e,t.plugins));return n.aria=Object.assign({},zj.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Bj(e,t){e.innerHTML=t}function $j(e){var t=wj();return!0===e?t.className=lj:(t.className=cj,kj(e)?t.appendChild(e):Bj(t,e)),t}function Wj(e,t){kj(t.content)?(Bj(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Bj(e,t.content):e.textContent=t.content)}function Uj(e){var t=e.firstElementChild,n=bj(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(oj)}),arrow:n.find(function(e){return e.classList.contains(lj)||e.classList.contains(cj)}),backdrop:n.find(function(e){return e.classList.contains(aj)})}}function Vj(e){var t=wj(),n=wj();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=wj();function r(n,i){var r=Uj(t),s=r.box,o=r.content,a=r.arrow;i.theme?s.setAttribute("data-theme",i.theme):s.removeAttribute("data-theme"),"string"==typeof i.animation?s.setAttribute("data-animation",i.animation):s.removeAttribute("data-animation"),i.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?s.setAttribute("role",i.role):s.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||Wj(o,e.props),i.arrow?a?n.arrow!==i.arrow&&(s.removeChild(a),s.appendChild($j(i.arrow))):s.appendChild($j(i.arrow)):a&&s.removeChild(a)}return i.className=oj,i.setAttribute("data-state","hidden"),Wj(i,e.props),t.appendChild(n),n.appendChild(i),r(e.props,e.props),{popper:t,onUpdate:r}}Vj.$$tippy=!0;var Zj=1,qj=[],Qj=[];function Xj(e,t){var n,i,r,s,o,a,l,c,d=Fj(e,Object.assign({},zj,jj(vj(t)))),u=!1,h=!1,f=!1,m=!1,p=[],g=pj(Z,d.interactiveDebounce),y=Zj++,_=(c=d.plugins).filter(function(e,t){return c.indexOf(e)===t}),b={id:y,reference:e,popper:wj(),popperInstance:null,props:d,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:_,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(r)},setProps:function(t){0;if(b.state.isDestroyed)return;E("onBeforeUpdate",[b,t]),U();var n=b.props,i=Fj(e,Object.assign({},n,vj(t),{ignoreAttributes:!0}));b.props=i,W(),n.interactiveDebounce!==i.interactiveDebounce&&(N(),g=pj(Z,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?gj(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):i.triggerTarget&&e.removeAttribute("aria-expanded");P(),C(),k&&k(n,i);b.popperInstance&&(G(),J().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));E("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,i=Aj.isTouch&&!b.props.touch,r=hj(b.props.duration,0,zj.duration);if(e||t||n||i)return;if(O().hasAttribute("disabled"))return;if(E("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,x()&&(w.style.visibility="visible");C(),j(),b.state.isMounted||(w.style.transition="none");if(x()){var s=Y();Sj([s.box,s.content],0)}a=function(){var e;if(b.state.isVisible&&!m){if(m=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,x()&&b.props.animation){var t=Y(),n=t.box,i=t.content;Sj([n,i],r),xj([n,i],"visible")}I(),P(),yj(Qj,b),null==(e=b.popperInstance)||e.forceUpdate(),E("onMount",[b]),b.props.animation&&x()&&function(e,t){B(e,t)}(r,function(){b.state.isShown=!0,E("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=O();e=b.props.interactive&&t===uj||"parent"===t?n.parentNode:mj(t,[n]);e.contains(w)||e.appendChild(w);b.state.isMounted=!0,G(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,i=hj(b.props.duration,1,zj.duration);if(e||t||n)return;if(E("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,m=!1,u=!1,x()&&(w.style.visibility="hidden");if(N(),F(),C(!0),x()){var r=Y(),s=r.box,o=r.content;b.props.animation&&(Sj([s,o],i),xj([s,o],"hidden"))}I(),P(),b.props.animation?x()&&function(e,t){B(e,function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()})}(i,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;D().addEventListener("mousemove",g),yj(qj,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;
vendor: 4,275 bytes, line 2
2K(),J().forEach(function(e){e._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w);Qj=Qj.filter(function(e){return e!==b}),b.state.isMounted=!1,E("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,E("onDestroy",[b])}};if(!d.render)return b;var v=d.render(b),w=v.popper,k=v.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var T=_.map(function(e){return e.fn(b)}),M=e.hasAttribute("aria-expanded");return W(),P(),C(),E("onCreate",[b]),d.showOnCreate&&ee(),w.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",g)}),b;function L(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===L()[0]}function x(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function O(){return l||e}function D(){var e=O().parentNode;return e?Oj(e):document}function Y(){return Uj(w)}function A(e){return b.state.isMounted&&!b.state.isVisible||Aj.isTouch||s&&"focus"===s.type?0:hj(b.props.delay,e?0:1,zj.delay)}function C(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function E(e,t,n){var i;(void 0===n&&(n=!0),T.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(i=b.props)[e].apply(i,t)}function I(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,i=w.id;gj(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var r=t&&t.replace(i,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}})}}function P(){!M&&b.props.aria.expanded&&gj(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===O()?"true":"false"):e.removeAttribute("aria-expanded")})}function N(){D().removeEventListener("mousemove",g),qj=qj.filter(function(e){return e!==g})}function R(t){if(!Aj.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Yj(w,n)){if(gj(b.props.triggerTarget||e).some(function(e){return Yj(e,n)})){if(Aj.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else E("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),h=!0,setTimeout(function(){h=!1}),b.state.isMounted||F())}}}function z(){f=!0}function H(){f=!1}function j(){var e=D();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,dj),e.addEventListener("touchstart",H,dj),e.addEventListener("touchmove",z,dj)}function F(){var e=D();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,dj),e.removeEventListener("touchstart",H,dj),e.removeEventListener("touchmove",z,dj)}function B(e,t){var n=Y().box;function i(e){e.target===n&&(Dj(n,"remove",i),t())}if(0===e)return t();Dj(n,"remove",o),Dj(n,"add",i),o=i}function $(t,n,i){void 0===i&&(i=!1),gj(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,i),p.push({node:e,eventType:t,handler:n,options:i})})}function W(){var e;S()&&($("touchstart",V,{passive:!0}),$("touchend",q,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch($(e,V),e){case"mouseenter":$("mouseleave",q);break;case"focus":$(Nj?"focusout":"blur",Q);break;case"focusin":$("focusout",Q)}})}function U(){p.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)}),p=[]}function V(e){var t,n=!1;if(b.state.isEnabled&&!X(e)&&!h){var i="focus"===(null==(t=s)?void 0:t.type);s=e,l=e.currentTarget,P(),!b.state.isVisible&&Tj(e)&&qj.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||u)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(u=!n),n&&!i&&te(e)}}function Z(e){var t=e.target,n=O().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var i=J().concat(w).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:d}:null}
vendor: 4,162 bytes, line 2
2).filter(Boolean);(function(e,t){var n=t.clientX,i=t.clientY;return e.every(function(e){var t=e.popperRect,r=e.popperState,s=e.props.interactiveBorder,o=_j(r.placement),a=r.modifiersData.offset;if(!a)return!0;var l="bottom"===o?a.top.y:0,c="top"===o?a.bottom.y:0,d="right"===o?a.left.x:0,u="left"===o?a.right.x:0,h=t.top-i+l>s,f=i-t.bottom-c>s,m=t.left-n+d>s,p=n-t.right-u>s;return h||f||m||p})})(i,e)&&(N(),te(e))}}function q(e){X(e)||b.props.trigger.indexOf("click")>=0&&u||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Q(e){b.props.trigger.indexOf("focusin")<0&&e.target!==O()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function X(e){return!!Aj.isTouch&&S()!==e.type.indexOf("touch")>=0}function G(){K();var t=b.props,n=t.popperOptions,i=t.placement,r=t.offset,s=t.getReferenceClientRect,o=t.moveTransition,l=x()?Uj(w).arrow:null,c=s?{getBoundingClientRect:s,contextElement:s.contextElement||O()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(x()){var n=Y().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}},u=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},d];x()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),b.popperInstance=sj(c,w,Object.assign({},n,{placement:i,onFirstUpdate:a,modifiers:u}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function J(){return bj(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&E("onTrigger",[b,e]),j();var t=A(!0),i=L(),r=i[0],s=i[1];Aj.isTouch&&"hold"===r&&s&&(t=s),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),E("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=A(!1);t?i=setTimeout(function(){b.state.isVisible&&b.hide()},t):r=requestAnimationFrame(function(){b.hide()})}}else F()}}function Gj(e,t){void 0===t&&(t={});var n=zj.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ej,dj),window.addEventListener("blur",Pj);var i=Object.assign({},t,{plugins:n}),r=Lj(e).reduce(function(e,t){var n=t&&Xj(t,i);return n&&e.push(n),e},[]);return kj(e)?r[0]:r}Gj.defaultProps=zj,Gj.setDefaultProps=function(e){Object.keys(e).forEach(function(t){zj[t]=e[t]})},Gj.currentInput=Aj;Object.assign({},jH,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Gj.setDefaultProps({render:Vj});var Kj=Gj,Jj=function(e){var t=e.querySelectorAll("[data-tippy-content]");t&&t.forEach(function(e){Kj(e,{animation:"shift-away-subtle",theme:"material"})})},eF=n(7576),tF=function(e){var t=e.querySelectorAll("[data-bhub-copy-button]");t&&t.forEach(function(e){var t=e.querySelector("i"),n=t.getAttribute("class");new eF(e,{text:function(){return e.getAttribute("data-id")}}).on("success",function(){t.setAttribute("class","bhub-icons-check"),setTimeout(function(){t.setAttribute("class",n)},2e3)})})};function nF(e){return nF="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},nF(e)}function iF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function rF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?iF(Object(n),!0).forEach(function(t){dF(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sF(e){return function(e){if(Array.isArray(e))return lF(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||aF(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 oF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,s,o,a=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=s.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return a}}(e,t)||aF(e,t)||function(){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 aF(e,t){if(e){if("string"==typeof e)return lF(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lF(e,t):void 0}}function lF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function cF(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,uF(i.key),i)}}function dF(e,t,n){return(t=uF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uF(e){var t=function(e,t){if("object"!=nF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=nF(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nF(t)?t:t+""}var hF=bookingHub,fF=function(){return function(e,t,n){return t&&cF(e.prototype,t),n&&cF(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),dF(this,"formatDateByWP",function(e){return vE(e).format(hF.dateFormat)}),dF(this,"isFormValid",function(){return n.formValid&&n.formViewerValid}),dF(this,"triggerFormValid",function(){var e=n.isFormValid();n.navNextEl.prop("disabled",!e),n.resetNextSteps()}),dF(this,"isRentalDateValid",function(){var e,t,i,r,s=null===(e=n.collect.rental_date)||void 0===e?void 0:e.pickupLocation,o=null===(t=n.collect.rental_date)||void 0===t?void 0:t.dropOffLocation,a=null===(i=n.collect.rental_date)||void 0===i?void 0:i.pickupDate,l=null===(r=n.collect.rental_date)||void 0===r?void 0:r.dropOffDate;return Boolean(s&&o&&a&&l)}),dF(this,"refreshTooltips",function(){Jj(n.el.get(0))}),dF(this,"canNext",function(){switch(n.collect.activeStep){case"location":return Boolean(n.collect.location);case"service":return Boolean(n.collect.service);case"staff":return Boolean(n.collect.staff);case"date":return Boolean(n.collect.date);case"form":return n.isFormValid();case"rental_date":return n.isRentalDateValid();case"vehicle":case"room":return Boolean(n.collect.product);case"extra":return!0}}),dF(this,"buildGetParams",function(){var e,t=window.location.search,n=new URLSearchParams(t),i={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=aF(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},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,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}(n.entries());try{for(r.s();!(e=r.n()).done;){var s=oF(e.value,2),o=s[0],a=s[1];i[o]=a}}catch(e){r.e(e)}finally{r.f()}var l={};
2return Object.keys(i).forEach(function(e){var t=e.match(/(.*)\[(\d+)]/),n=i[e];if(isNaN(n)||(n=parseInt(n,10)),t){var r=t[1],s=parseInt(t[2],10);l[r]||(l[r]=[]),l[r][s]=n}else l[e]=n}),l}),dF(this,"removeDuplicatedDates",function(e){var t=e.map(function(e){return e.toLocaleDateString()});return sF(new Set(t))}),dF(this,"navErrors",{location:hF.plsSelectALocation,service:hF.plsSelectAService,date:hF.plsSelectADate,time:hF.plsSelectATime}),dF(this,"goNext",function(){void 0!==n.nextStep?n.collect[n.collect.activeStep]?n.goStep(n.nextStep):alert(n.navErrors[n.activeStep]):n.makeRequest()}),dF(this,"goPrev",function(){void 0!==n.prevStep&&n.goStep(n.prevStep)}),dF(this,"resetNextSteps",function(){var e=n,t=n.activeStepEl.nextAll();t.each(function(){var t=c(this).data("step");e.collect[t]=void 0}),t.remove(),n.nextStep=void 0}),dF(this,"resetAllSteps",function(){n.stepsEl.html("")}),dF(this,"getYmd",function(e,t){var n=new Date;n.setFullYear(t,e,1);return n.getFullYear()+"-"+("0"+(n.getMonth()+1)).slice(-2)+"-01"}),dF(this,"formatDate",function(e){var t=""+(e.getMonth()+1),n=""+e.getDate(),i=e.getFullYear();return t.length<2&&(t="0"+t),n.length<2&&(n="0"+n),[i,t,n].join("-")}),dF(this,"login",function(){var e=n;c.dialog({theme:"bhub-modal",closeIcon:!0,draggable:!1,backgroundDismiss:!0,animateFromElement:!0,animationSpeed:300,animation:"scale",closeAnimation:"scale",columnClass:"bhub-small bhub-login-modal-form",content:function(){var e=this;return c.ajax({method:"POST",url:hF.ajaxUrl,data:{action:"bhub_get_login_form",_ajax_nonce:hF.nonce}}).done(function(t){e.setTitle(t.data.title),e.setContent(t.data.content)}).fail(function(){e.setContent(hF.wrongMessage)})},onContentReady:function(){var t=this,n=this.$content.find("form");this.loginFormEl=n,this.loginFormEl.validate(),this.loginFormEl.on("submit",function(n){var i=this;c(this).valid()&&(n.preventDefault(),c.ajax({method:"POST",url:hF.ajaxUrl,data:c(this).serialize()+"&action=bhub_handle_login_form",beforeSend:function(){c(i).bhubRemoveAlert()},success:function(n){if(n.success){hF.nonce=n.data.loginNonce;var r=e.defaultFormFieldsEl,s=n.data.userData;Object.keys(s).length>0&&Object.keys(s).forEach(function(e){var t=r.find('[name="'.concat(e,'"]'));t&&t.val(s[e]).trigger("keyup")}),e.loginButtonEl.remove(),t.close()}else c(i).bhubAddAlert(n.data.message,"error")},error:function(){c(i).bhubAddAlert(hF.wrongMessage)}}))})}})}),dF(this,"initFormFields",function(e){var t=e.find("[data-button=login]");n.defaultFormFieldsEl=e.find(".bhub-default-form-fields"),n.defaultFormFieldsEl.validate({onkeyup:function(e){c(e).valid()},onfocusout:function(e){c(e).valid()}}),n.formValid=n.defaultFormFieldsEl[0].checkValidity(),n.triggerFormValid(),n.collect.defaultForm=fN(n.defaultFormFieldsEl);var i=n.defaultFormFieldsEl.find("input[type=tel]");i.length&&kE(i.get(0)),t.length>0&&(n.loginButtonEl=t,n.loginButtonEl.on("click",n.login));var r=function(){n.formValid=n.defaultFormFieldsEl[0].checkValidity(),n.triggerFormValid(),n.collect.defaultForm=fN(n.defaultFormFieldsEl)};n.defaultFormFieldsEl.find('input:not([type="checkbox"]), textarea').on("keyup",function(){return r()}),n.defaultFormFieldsEl.find("input[type=checkbox]").on("change",function(e){c(e.target).valid(),r()});var s=e.find(".bhub-form-viewer");s.length?gE(s.get(0)).then(function(e){e._state.schema.components.forEach(function(e){var t;if("phone"===(null==e||null===(t=e.validate)||void 0===t?void 0:t.validationType)){var i=n.activeStepEl.find("input[id*='".concat(e.id,"']"));kE(i.get(0))}}),e.validate(),e.on("changed",function(e){var t=e.data,i=e.errors,r=0===Object.keys(i).length;n.formViewerValid=r,n.triggerFormValid(),n.collect[n.collect.activeStep]=t})}):(n.formViewerValid=!0,n.collect[n.collect.activeStep]={})}),dF(this,"initTimeSlot",function(e){var t=e.find(".bhub-date-select__calendar"),i=e.find(".bhub-date-select__hours-info"),r=n,s=n.disabledDays.map(function(e){return new Date(e)});n.datepicker=new p(t[0],{classes:"bhub-airdatepicker",locale:hF.calendar.i18n,dateFormat:"yyyy-MM-dd",firstDay:1*hF.firstDayOfTheWeek,toggleSelected:!1,showOtherMonths:!1,selectOtherMonths:!1,fixedHeight:!0,minDate:new Date,onRenderCell:function(e){var t=e.date,n=e.cellType,i=e.datepicker;if("day"===n&&t.getMonth()===i.viewDate.getMonth())return s.some(function(e){return t.toLocaleDateString()===e.toLocaleDateString()})?{disabled:!0}:void 0},onChangeViewDate:function(e){var t=e.month,s=e.year;n.datepicker.clear(),n.hoursEl.html(""),i.text(hF.selectDate);var o=r.getYmd(t,s);c(n.datepicker.$datepicker).bhubBlock(),n.getDisabledDays(o).then(function(e){n.datepicker.disableDate(e),r.disabledDays=e}).catch(function(e){alert(e)}).finally(function(){c(n.datepicker.$datepicker).bhubUnBlock()})},onSelect:function(t){var s=t.formattedDate,o=t.datepicker,a=t.date;n.resetNextSteps(),n.navNextEl.prop("disabled",!0),a&&(o.isDateDisabled(a)||(r.firstRequest=!0,n.collect.date={date:[s]},i.text(n.formatDateByWP(s,hF.dateFormat)),c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/templates/form/step/get_hours",_aja
2x_nonce:hF.nonce,collect:JSON.stringify(n.collect),date:s},success:function(t){var n=t.data,i=t.success;i&&e.find(".bhub-date-select__hours").html(n.template)}})))},buttons:[{content:function(){return hF.todayStr},onClick:function(e){var t=new Date;e.isDateDisabled(t)?e.setViewDate(new Date):e.selectDate(t)}}]}),n.collect.date={date:n.formatDate(new Date)}}),dF(this,"isDisabledDateIsInRange",function(e,t,i){var r=null!=i?i:n.disabledDays,s=t.selectedDates[0];if(s&&1===t.selectedDates.length){var o=[s,e].toSorted(function(e,t){return e.getTime()>t.getTime()?1:-1});return r.some(function(e){return vE(e).isBetween(o[0],o[1])})}}),dF(this,"isOutOfLimit",function(e,t){var i=t.selectedDates[0],r=n.globalResponse,s=r.minAllowedDays,o=r.maxAllowedDays;if(0===s&&0===o)return!1;if(i&&1===t.selectedDates.length){var a=vE(e).diff(i,"days");return 0===s&&o>0?a>o:0===o&&s>0?a<s:a<s||a>o}return!1}),dF(this,"initDays",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=e.find(".bhub-day-select__calendar"),r=n,s=n.disabledDays.length>0?n.disabledDays:t,o=s.map(function(e){return new Date(e)});n.disabledDays=s;var a=n.globalResponse.maxDistance,l=a>0?vE().add(a,"days").format("YYYY-MM-DD"):0,d=n.datepicker=new p(i[0],{classes:"bhub-airdatepicker",locale:hF.calendar.i18n,firstDay:1*hF.firstDayOfTheWeek,range:!0,toggleSelected:!1,dynamicRange:!1,showOtherMonths:!1,selectOtherMonths:!1,fixedHeight:!0,minDate:new Date,maxDate:l,dateFormat:"yyyy-MM-dd",onSelect:function(e){var t=e.formattedDate,i=e.datepicker;if(2===t.length){if(n.removeDuplicatedDates(i.selectedDates).length<2)return i.clear(),n.resetNextSteps(),void n.navNextEl.prop("disabled",!0);n.collect.date={date:t},n.navNextEl.prop("disabled",!1),n.resetNextSteps(),i.trigger("select",{formattedDate:t})}},onBeforeSelect:function(e){var t=e.date,i=e.datepicker;return!r.isDisabledDateIsInRange(t,i)&&!n.isOutOfLimit(t,i)},onFocus:function(e){var t=e.date,n=e.datepicker;r.isDisabledDateIsInRange(t,n)||r.isOutOfLimit(t,n)?n.$datepicker.classList.add("-disabled-range-"):n.$datepicker.classList.remove("-disabled-range-")},onRenderCell:function(e){var t=e.date;if(o.some(function(e){return t.toLocaleDateString()===e.toLocaleDateString()}))return{disabled:!0}},onChangeViewDate:function(e){var t=e.month,i=e.year,s=r.getYmd(t,i);c(d.$datepicker).bhubBlock(),n.getDisabledDays(s).then(function(e){d.disableDate(e);var t=e.map(function(e){return new Date(e)});r.disabledDays=t}).catch(function(e){alert(e)}).finally(function(){c(d.$datepicker).bhubUnBlock()})},buttons:[{content:function(){return hF.todayStr},onClick:function(e){e.setViewDate(new Date)}},{content:function(){return hF.clear},onClick:function(e){e.clear({silent:!0}),e.setViewDate(new Date),r.resetNextSteps(),r.navNextEl.prop("disabled",!0)}}]})}),dF(this,"getDisabledDays",function(e){return new Promise(function(t,i){c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/templates/form/step/get_disabled_days",_ajax_nonce:hF.nonce,collect:JSON.stringify(n.collect),date:e},success:function(e){var n=e.data,r=e.success;r?t(n.disabledDays):i(n.message)}})})}),dF(this,"initServiceCategoryFilter",function(){var e=n.activeStepEl.find(".bhub-service-selection__services"),t=bE.data(e[0]);if(t)t.arrange();else{var i=n.activeStepEl.find(".bhub-feed-service-category"),r=new bE(e[0],{itemSelector:".bhub-service-item",percentPosition:!0,masonry:{columnWidth:".bhub-service-item--sizer"}});i.on("click",function(){var e=c(this),t=1*e.data("value");i.removeClass("bhub-active"),e.addClass("bhub-active"),t?r.arrange({filter:function(){var e=c(this);if(e.hasClass("bhub-service-item--sizer"))return!1;var n=e.attr("data-categories");return(n.includes(",")?n.split(","):[n]).map(Number).includes(t)}}):r.arrange({filter:"*"})})}}),dF(this,"initSummary",function(){var e=n,t=n.activeStepEl.find(".bhub-booking-summary").find("input[name=bhub_payment_method]"),i=t.filter(":checked").val();n.collect[e.collect.activeStep]=i,t.on("change",function(){e.resetNextSteps();var t=c(this).val();e.collect[e.collect.activeStep]=t}),i&&n.navNextEl.prop("disabled",!1)}),dF(this,"reset",function(e){n.bookingId=e,n.el.attr("data-booking-id",e),n.collect={bookingForm:n.bookingForm,bookingId:n.bookingId,activeStep:""},n.el.find(".bhub-step-booking-form__navigation").show(),n.resetAllSteps(),n.makeRequest
2()}),dF(this,"initSuccess",function(){var e=n;n.el.find(".bhub-step-booking-form__navigation").hide(),tF(n.el.get(0)),h(n.el.get(0)),$z(n.el.get(0)).then(function(){n.refreshTooltips()});var t=n.el.find("[data-bhub-reset]");t.length&&t.on("click",function(){c.ajax({method:"POST",url:hF.ajaxUrl,data:{action:"bhub/templates/form/step/generate_booking_form_id",_ajax_nonce:hF.nonce},beforeSend:function(){n.el.bhubBlock()},success:function(t){t.success&&e.reset(t.data.bookingId)},complete:function(){n.el.bhubUnBlock()}})})}),dF(this,"initHotelGuestSelection",function(){var e=n.activeStepEl.find("select[name=children]"),t=n.activeStepEl.find("select[name=adult]"),i=n.activeStepEl.find(".bhub-guest-selection__children-ages"),r=n.activeStepEl.find("[data-default]"),s=function(){return{adult:t.val(),children:e.val(),childrenAges:n.activeStepEl.find('select[name="child_age[]"]').filter(function(){return!c(this).prop("disabled")}).map(function(){return c(this).val()}).get()}};n.collect.hotelGuest=s(),c(document).on("change",n.activeStepEl.find("select"),function(){n.resetNextSteps(),n.collect.hotelGuest=s()}),e.on("change",function(){var e=1*c(this).val();if(i.find("[data-clone]").remove(),!e)return i.hide(),void r.find("select").prop("disabled",!0);if(r.find("select").prop("disabled",!1),e>1)for(var t=0;t<e-1;t++){var n=r.clone();n.removeAttr("data-default"),n.attr("data-clone",""),n.appendTo(i)}i.show()})}),dF(this,"selectRoom",function(e){!e instanceof c&&(e=n.activeStepEl.find(".bhub-feed-hotel-room[data-room=".concat(e,"]")));var t=1*e.attr("data-room");n.activeStepEl.find("[data-room]").removeClass("bhub-selected"),e.addClass("bhub-selected"),n.collect.product=t,n.collect.room=t,n.navNextEl.prop("disabled",!1)}),dF(this,"unSelectRoom",function(e){!e instanceof c&&(e=n.activeStepEl.find(".bhub-feed-hotel-room[data-room=".concat(e,"]"))),e.removeClass("bhub-selected"),n.navNextEl.prop("disabled",!0),n.resetNextSteps(),n.collect.product=0,n.collect.room=0}),dF(this,"callRoomDetail",function(e){var t=n;return new Promise(function(n,i){c.confirm({theme:"bhub-drawer bhub-room-detail-drawer",closeIcon:!0,closeIconClass:"bhub-icons-close",draggable:!1,backgroundDismiss:!0,animateFromElement:!1,animationSpeed:300,animation:"right",closeAnimation:"right",useBootstrap:!1,content:function(){var r=this;return c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:rF({action:"bhub_get_room_detail",_ajax_nonce:hF.nonce,roomId:e},t.collect)}).done(function(e){var t=c(e.data.template);r.setContent(t),r.setTitle(e.data.title),n(t)}).fail(function(){r.setContent("Something went wrong."),i()})},buttons:{select:{text:'<i class="bhub-icons-angle-left"></i>'.concat(hF.i18n.select),btnClass:"bhub-button bhub-tp-stepper-button",action:function(){t.selectRoom(t.activeStepEl.find(".bhub-feed-hotel-room[data-room=".concat(e,"]")))}}},onContentReady:function(){t.initRoomGallery(this.$content.find(".bhub-room-detail"))}})})}),dF(this,"initHotelRooms",function(){var e=n,t=n.activeStepEl.find("[data-room]"),i=n.activeStepEl.find(".bhub-feed-hotel-room__see-detail"),r=n.activeStepEl.find(".bhub-room-selection__pool-view"),s=!1;r.on("click",".bhub-room-detail__closer",function(){t.removeClass("bhub-selected"),r.html(""),e.navNextEl.prop("disabled",!0),e.resetNextSteps()}),t.on("click",function(){var t=c(this);t.hasClass("bhub-selected")?e.unSelectRoom(t):e.selectRoom(t)}),i.on("click",function(t){if(t.stopPropagation(),!s){var n=1*c(this).closest(".bhub-feed-hotel-room").data("room");e.callRoomDetail(n).finally(function(){s=!1})}})}),dF(this,"initRoomGallery",function(e){var t=e.find(".bhub-room-detail__gallery"),n=e.find(".bhub-room-detail__section--gallery");t.find("a").each(function(){c(this).get(0).dataset.elementorOpenLightbox="no"});var i=new QI({gallery:t.get(0),children:"a",pswpModule:tN});new sN(i,{type:"auto",captionContent:function(e){return e.data.element.getAttribute("data-caption")}}),i.init();var r=new OI(n.get(0),{modules:[YI,CI],spaceBetween:15,pagination:{el:e.find(".bhub-room-detail__pag").get(0)},navigation:{nextEl:e.find(".bhub-room-detail__next").get(0),prevEl:e.find(".bhub-room-detail__prev").get(0)},loop:!0});i.on("change",function(){r.slideTo(i.pswp.currIndex)})}),dF(this,"initAutocomplete",function(e){return new window.google.maps.places.Autocomplete(e)}),dF(this,"initDateTimePicker",function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new p(e,rF(rF({classes:"bhub-airdatepicker",locale:hF.calendar.i18n,firstDay:1*hF.firstDayOfTheWeek,autoClose:!0,toggleSelected:!1,showOtherMonths:!1,selectOtherMonths:!1,minDate:new Date,dateFormat:"yyyy-MM-dd",timepicker:!0},n),{},{timeFormat:hF.timeFormat.toLowerCase().includes("a")?"hh:mm AA":"HH:mm",onSelect:function(e){var t=e.datepicker;c(t.$el).trigger("change")},buttons:[{content:function(){return hF.todayStr},onClick:function(e){e.selectDate(new Date)}}]})),r=null==i||null===(t=i.$buttons)||void 0===t?void 0:t.querySelectorAll("button");return r&&r.length&&r.forEach(function(e){e.setAttribute("type","button")}),i}),dF(this,"initRentalDate",function(){var e=n.activeStepEl.find("input[name=pickup_location]"),t=n.activeStepEl.find("input[name=drop_off_location]"),i=n.activeStepEl.find("input[name=pickup_date]"),r=n.activeStepEl.find("input[name=drop_off_date]"),s=new Date,o=new Date(s);o.setHours(12),o.setMinutes(0),o.setDate(s.getDate()+1);var a=new Date(s);a.setHours(12),a.setMinutes(0),a.setDate(s.getDate()+2),n.pickupDatepicker=n.initDateTimePicker(i[0],{minutesStep:15,selectedDates:o}),n.dropOffDatepicker=n.initDateTimePicker(r[0],{minutesStep:15,selectedDates:a}),i.on("change",function(){});var l=function(){n.resetNextSteps(),n.collect.rental_date={pickupLocation:e.val(),dropOffLocation:t.val(),pickupDate:i.val(),dropOffDate:r.val()},n.collect.date={date:[i.val(),r.val()]};var s=e.val()&&t.val()&&i.val()&&r.val();n.navNextEl.prop("disabled",!s)};hF.google.map.enabled&&new hN({apiKey:hF.google.map.apiKey,version:"weekly",libraries:["places"]}).importLibrary("maps").then(function(){var i=n.initAutocomplete(e[0]),r=n.initAutocomplete(t[0]);window.google.maps.event.addListener(i,"place_changed",function(){return l}),window.google.maps.event.addListener(r,"place_changed",function(){return l})});n.activeStepEl.find("input").on("change",function(){return l()})}),dF(this,"initVehicle",function(){var e=n,t=n.activeStepEl.find("[data-vehicle]");t.on("click",function(){e.resetNextSteps();var n=c(this);if(n.hasClass("bhub-selected"))return n.removeClass("bhub-selected"),e.navNextEl.prop("disabled",!0),e.collect.product=0,void(e.collect.vehicle=0);var i=1*n.data("vehicle");
2e.navNextEl.prop("disabled",!1),t.removeClass("bhub-selected"),n.addClass("bhub-selected"),e.collect.product=i,e.collect.vehicle=i,e.goNext()})}),dF(this,"initExtra",function(){var e=n;n.collect.extra={};var t={},i=n.activeStepEl.find(".bhub-input-spinner__input");i.each(function(){Wz(c(this)[0])}),i.on("change",function(){e.resetNextSteps();var n=c(this),i=1*n.attr("name"),r=1*n.val();r>0?t[i]=r:delete t[i],e.collect.extra=t}),n.activeStepEl.find(".bhub-extra-item__add-button").on("click",function(){e.resetNextSteps();var n=c(this);n.toggleClass("bhub-has-remove");var i=1*n.data("product-id");n.hasClass("bhub-has-remove")?t[i]=1:delete t[i],e.collect.extra=t})}),dF(this,"submit",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(function(t,i){c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/templates/form/step/submit",_ajax_nonce:hF.nonce,collect:JSON.stringify(n.collect),data:e},success:function(e){var r=e.data,s=e.success;s?(n.stepsEl.append(r.template),n.collect.activeStep=r.activeStep,n.goStep(r.activeStep),t(e.data)):i(e.data)}})})}),this.el=t,this.stepsEl=this.el.find(".bhub-step-booking-form__steps"),this.stepItems=this.stepsEl.find("[data-step]"),this.navEl=this.el.find(".bhub-wizard--header"),this.activeStep=null,this.activeStepEl=null,this.prevStep=null,this.prevStepEl=null,this.nextStep=null,this.nextStepEl=null,this.bookingForm=1*this.el.data("form-id"),this.bookingId=this.el.data("booking-id"),this.collect={bookingForm:this.bookingForm,bookingId:this.bookingId,activeStep:""},this.navPrevEl=t.find("button[data-action=prev]"),this.navNextEl=t.find("button[data-action=next]"),this.disabledDays=[],this.firstRequest=!1,this.inited=!1,this.hoursEl=null,this.defaultFormFieldsEl=null,this.formViewerValid=!1,this.formValid=!0,this.loginButtonEl=null,this.loginFormEl=null,this.direction="right",this.origNextText=this.el.data("next-text"),this.origPrevText=this.el.data("prev-text"),this.origNextIcon=this.el.data("next-icon"),this.origPrevIcon=this.el.data("prev-icon"),this.stepsData={},this.globalResponse={},this.eventCounterInited=!1,this.firstStep=null,this.getParams={},this.summaryInintedOnce=!1,this.bookingType=null,this.datepicker={},this.init(),this.el[0].bookingHub=this},[{key:"init",value:function(){var e=this,t=this,n=this.buildGetParams();this.getParams=n,this.collect.getParams=n,this.makeRequest(),this.el.on("click","[data-step-item]",function(){var e=c(this),n=e.attr("data-item-value");"date"===t.collect.activeStep?t.collect[t.collect.activeStep].time=n:t.collect[t.collect.activeStep]=n,e.parent().find("[data-step-item]").removeClass("bhub-selected"),e.addClass("bhub-selected"),t.resetNextSteps(),t.makeRequest()}),this.el.on("click","[data-step-item] a",function(e){e.stopPropagation()}),this.el.on("change","input[name=bhub_payment_method]",function(){var e=c(this).val();t.el.find("[data-step-item=summary]").attr("data-item-value",e)}),this.navPrevEl.on("click",function(){t.direction="left",t.goPrev()}),this.navNextEl.on("click",function(){t.direction="right",t.goNext()}),this.el.on("bookingHubResetNextSteps",function(){e.resetNextSteps()})}},{key:"goStep",value:function(e){var t,n,i=this.stepsEl.find("[data-step]");i.hide(),this.activeStepEl=i.filter("[data-step=".concat(e,"]")),this.activeStep=e,this.collect.activeStep=e,this.nextStepEl=this.activeStepEl.next(),this.nextStep=this.nextStepEl.data("step"),this.prevStepEl=this.activeStepEl.prev(),this.prevStep=this.prevStepEl.data("step"),this.navPrevEl.prop("disabled",!this.prevStep),this.navNextEl.prop("disabled",!this.canNext()),this.activeStepEl.show();var r=this.navEl.find("[data-step=".concat(e,"]")),s=r.prevAll(),o=r.nextAll(),a=r.parent();r.addClass("bhub-active"),r.removeClass("bhub-wait bhub-completed"),s.removeClass("bhub-wait bhub-active"),s.addClass("bhub-completed"),o.removeClass("bhub-completed"),o.addClass("bhub-wait");var l=a.find(".bhub-wizard--header-item.bhub-active");if(null!=l&&null!==(t=l.offset())&&void 0!==t&&t.left){var c=l.offset().left-a.offset().left+a.scrollLeft();a.hasClass("bhub-wizard--header-style-2")&&(a.animate({"padding-inline-start":(a.find(".bhub-wizard--header-item--title").width()-30)/2,"padding-inline-end":(a.find(".bhub-wizard--header-item--title:last").width()-30)/2},100),c-=50),a.animate({scrollLeft:c},"slow")}null!==(n=this.stepsData[e])&&void 0!==n&&n.nextButtonText?this.navNextEl.text(this.stepsData[e].nextButtonText):this.navNextEl.text(this.origNextText),"service"===e&&this.initServiceCategoryFilter(),"summary"===e&&this.navNextEl.prop("disabled",!1),"payment"===e?this.navNextEl.hide():this.navNextEl.show(),"success"===this.collect.activeStep&&this.initSuccess(),this.inited&&(this.activeStepEl.removeClass("bhub-fade-in-right bhub-fade-in-left"),this.activeStepEl.addClass("bhub-fade-in-".concat(this.direction)),this.el[0].scrollIntoView({behavior:"smooth"})),this.inited=!0,window.dispatchEvent(new CustomEvent("bookingHubStepTransition",{detail:{instance:this,mainEl
2:this.el[0],bookingId:this.bookingId,step:e}}))}},{key:"request",value:function(){var e=this,t=this;return new Promise(function(n,i){c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/templates/form/step/middleware",_ajax_nonce:hF.nonce,collect:JSON.stringify(e.collect)},beforeSend:function(){t.el.bhubBlock()},success:function(e){e.success?n(e.data):i(e.data)},complete:function(){t.el.bhubUnBlock()}})})}},{key:"makeRequest",value:function(){var e=this;this.request().then(function(t){var n;if(t.redirect)window.location.href=t.redirect;else{if(e.stepsEl.append(t.template),e.collect.activeStep=t.activeStep,e.firstStep||(e.firstStep=t.activeStep),e.refreshTooltips(),t.customNextText&&(e.stepsData[e.collect.activeStep]||(e.stepsData[e.collect.activeStep]={}),e.stepsData[e.collect.activeStep].nextButtonText=t.customNextText),e.globalResponse=t.globalResponse,e.bookingType=t.globalResponse.bookingType,e.direction="right",e.goStep(t.activeStep),e.resetNextSteps(),"date"===e.collect.activeStep&&"hotel"===(null==t?void 0:t.bookingType)&&(e.initHotelGuestSelection(),e.initDays(e.stepsEl.find("[data-step=date]"),t.disabledDays,t.minAllowedDays,t.maxAllowedDays)),"date"===e.collect.activeStep&&"time"===(null==t?void 0:t.bookingType)&&(e.disabledDays=t.disabledDays,e.initTimeSlot(e.stepsEl.find("[data-step=date]")),e.hoursEl=e.activeStepEl.find(".bhub-date-select__hours")),"form"===e.collect.activeStep&&e.initFormFields(e.stepsEl.find("[data-step=form]")),"service"===e.collect.activeStep&&e.initServiceCategoryFilter(),"room"===e.collect.activeStep&&e.initHotelRooms(),"date"===e.collect.activeStep&&"rent"===(null==t?void 0:t.bookingType)&&e.initRentalDate(),"vehicle"===e.collect.activeStep&&e.initVehicle(),"summary"===e.collect.activeStep&&e.initSummary(),"extra"===e.collect.activeStep&&e.initExtra(),"payment"===e.collect.activeStep){var i=new CustomEvent("bookingHubPaymentStep",{detail:{mainEl:e.el[0],submit:e.submit,bookingId:e.bookingId,bookingForm:e.bookingForm,paymentMethod:e.collect.summary}});window.dispatchEvent(i)}if("event"===e.globalResponse.bookingType&&e.globalResponse.ticketCounter&&!e.eventCounterInited){e.eventCounterInited=!0;var r=e.globalResponse.ticketCounter,s=r.allowedCount,o=r.bookedCount,a=r.percentStr,l=r.purchasedStr,d=r.totalStr,u='<div class="bhub-event-counter"><div class="bhub-event-counter__top">';u+='<span class="bhub-event-counter__percent">'.concat(a,"</span>"),u+='<span class="bhub-event-counter__purchased"><span></span>'.concat(l,"</span>"),u+='<span class="bhub-event-counter__total"><span></span>'.concat(d,"</span>"),u+='</div><div class="bhub-event-counter__bottom">',u+='<span class="bhub-event-counter__indicator" style="width: '.concat(100*o/s,'%"></span>'),u+="</div></div>",e.el.find(".bhub-step-booking-form__navigation").prepend(u)}if(null!==(n=e.globalResponse)&&void 0!==n&&null!==(n=n.coupons)&&void 0!==n&&n.enabled&&"summary"===e.collect.activeStep){var h=e;e.el.on("click",".bhub-coupon-toggle",function(e){e.preventDefault(),c(this).closest(".bhub-form-field").find(".bhub-coupon-form__wrapper").show()}),e.el.on("click",".bhub-active-coupons__remove",function(e){e.preventDefault(),e.stopPropagation(),c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:{_ajax_nonce:hF.nonce,booking_id:c(this).data("booking-id"),collect:JSON.stringify(h.collect),action:"bhub/coupons/remove"},beforeSend:function(){h.el.find(".bhub-coupons").bhubBlock()},success:function(e){var t=e.data,n=e.success;n&&(h.el.find(".bhub-payment-table").replaceWith(t.paymentTable),h.el.find(".bhub-coupons").replaceWith(t.couponTemplate),t.depositSelection&&h.el.find(".bhub-deposit-payment-selection").replaceWith(t.depositSelection))},complete:function(){h.el.find(".bhub-coupons").bhubUnBlock()}})}),h.summaryInintedOnce||e.el.on("submit",".bhub-coupon-form",function(e){var t=this;e.preventDefault(),e.stopPropagation(),c.ajax({url:hF.ajaxUrl,method:"POST",dataType:"json",data:[c(this).serialize(),c.param({_ajax_nonce:hF.nonce,collect:JSON.stringify(h.collect),action:"bhub/coupons/add"})].join("&"),beforeSend:function(){c(t).find(".bhub-coupon-form__error").remove(),h.el.find(".bhub-coupons").bhubBlock(),h.summaryInintedOnce=!0},success:function(e){var n=e.data,i=e.success;i?(h.el.find(".bhub-payment-table").replaceWith(n.paymentTable),h.el.find(".bhub-coupons").replaceWith(n.couponTemplate),n.depositSelection&&h.el.find(".bhub-deposit-payment-selection").replaceWith(n.depositSelection),h.refreshTooltips()):c(t).append('<span class="bhub-coupon-form__error">'.concat(n.message,"</span>"))},complete:function(){h.el.find(".bhub-coupons").bhubUnBlock()}})})}}}).catch(function(e){var t;alert(null!==(t=null==e?void 0:e.message)&&void 0!==t?t:"error!")})}}])}(),mF=fF,pF=n(7943);function gF(e){return function(e){if(Array.isArray(e))return yF(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return yF(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yF(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function _F(e){return _F="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},_F(e)}function bF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function vF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?bF(Object(n),!0).forEach(function(t){SF(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wF(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,xF(i.key),i)}}function kF(e,t,n){return t=MF(t),function(e,t){if(t&&("object"==_F(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,TF()?Reflect.construct(t,n||[],MF(e).constructor):t.apply(e,n))}function TF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TF=function(){return!!e})()}function MF(e){return MF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},MF(e)}function LF(e,t){return LF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},LF(e,t)}function SF(e,t,n){return(t=xF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xF(e){var t=function(e,t){if("object"!=_F(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=_F(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_F(t)?t:t+""}var OF=function(e){function t(e){var n,i,r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=wp.i18n.sprintf,a=e.getAttribute("data-locale");a=a?JSON.parse(a):null;var l={dateFormat:null!==(n=bookingHub.airDatepickerFormat)&&void 0!==n?n:"yyyy-MM-dd",classes:"bhub-airdatepicker",locale:null!=a?a:bookingHub.calendar.i18n,firstDay:1*bookingHub.firstDayOfTheWeek,showOtherMonths:!0,selectOtherMonths:!1,minDate:new Date,timeFormat:bookingHub.timeFormat.toLowerCase().includes("a")?"hh:mm AA":"HH:mm",minRange:0,maxRange:0,onBeforeSelect:function(e){var n=e.date,i=e.datepicker;return!s.range||!t.isRangeIncludesDisabledDay(n,i)&&!t.isOutOfLimit(n,i,"both")},onFocus:function(e){var n=e.date,i=e.datepicker;if(s.range){var a=i.selectedDates,l=n.getMonth(),c=n.getDate(),d=i.$datepicker.querySelector('[data-month="'.concat(l,'"][data-date="').concat(c,'"]')),u=[],h=!1;1===a.length&&(u=[a[0],n]),2===a.length&&(u=a);var f,m=r.dayCount(u),p="";if(t.isRangeIncludesDisabledDay(n,i))i.$datepicker.classList.add("-disabled-range-"),h=!0,p=null!==(f=s.rangeHasDisabledDayTooltipMsg)&&void 0!==f?f:"";else t.isOutOfLimit(n,i,"max")?(i.$datepicker.classList.add("-disabled-range-"),h=!0,p=1===m?s.rangeDisabledTooltipMaxLimitMsgSingular?o(s.rangeDisabledTooltipMaxLimitMsgSingular,s.maxRange):p:s.rangeDisabledTooltipMaxLimitMsgPlural?o(s.rangeDisabledTooltipMaxLimitMsgPlural,s.maxRange):p):t.isOutOfLimit(n,i,"min")?(i.$datepicker.classList.add("-disabled-range-"),h=!0,p=1===m?s.rangeDisabledTooltipMinLimitMsgSingular?o(s.rangeDisabledTooltipMinLimitMsgSingular,s.minRange):p:s.rangeDisabledTooltipMinLimitMsgPlural?o(s.rangeDisabledTooltipMinLimitMsgPlural,s.minRange):p):(i.$datepicker.classList.remove("-disabled-range-"),h=!1);if(s.nightCounter){var g=!0;u||(g=!1),2===a.length&&(n<a[0]||n>a[1])&&(g=!1),("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&(g=!1),g&&m>0&&(h||(p=m>1?s.nightCounterPlural?o(s.nightCounterPlural,m):p:s.nightCounterSingular?o(s.nightCounterSingular,m):p),d.addEventListener("mouseenter",function(){Kj(d,{content:p,animation:"shift-away-subtle",theme:"bhub",zIndex:999999999,onHidden:function(e){e.destroy()}}).show(),d.addEventListener("mouseleave",function(){d._tippy&&d._tippy.destroy()})},{once:!0}))}}},onHide:function(){!function(e){var t=void 0===e?{}:e,n=t.exclude,i=t.duration;Qj.forEach(function(e){var t=!1;if(n&&(t=Mj(n)?e.reference===n:e.popper===n.popper),!t){var r=e.props.duration;e.setProps({duration:i}),e.hide(),e.state.isDestroyed||e.setProps({duration:r})}})}()}},c=vF(vF(vF({},l),s),{},{onFocus:function(e){"function"==typeof s.onFocus&&s.onFocus(e),l.onFocus(e)}});return null!==(i=s.hideInput)&&void 0!==i&&i&&(e.style.display="none"),SF(r=kF(this,t,[e,c]),"dayCount",function(e){var t=e[0],n=e[1],i=Math.abs(t-n);return Math.ceil(i/864e5)}),r.args=c,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&LF(e,t)}(t,e),function(e,t,n){return t&&wF(e.prototype,t),n&&wF(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t)}(p);function DF(e){return DF="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},DF(e)}function YF(){var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function s(n,i,r,s){var l=i&&i.prototype instanceof a?i:a,c=Object.create(l.prototype);return AF(c,"_invoke",function(n,i,r){var s,a,l,c=0,d=r||[],u=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return s=t,a=0,l=e,h.n=n,o}};function f(n,i){for(a=n,l=i,t=0;!u&&c&&!r&&t<d.length;t++){var r,s=d[t],f=h.p,m=s[2];n>3?(r=m===i)&&(l=s[(a=s[4])?5:(a=3,3)],s[4]=s[5]=e):s[0]<=f&&((r=n<2&&f<s[1])?(a=0,h.v=i,h.n=s[1]):f<m&&(r=n<3||s[0]>i||i>m)&&(s[4]=n,s[5]=i,h.n=m,a=0))}if(r||n>1)return o;throw u=!0,i}return function(r,d,m){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&f(d,m),a=d,l=m;(t=a<2?e:l)||!u;){s||(a?a<3?(a>1&&(h.n=-1),f(a,l)):h.n=l:h.v=l);try{if(c=2,s){if(a||(r="next"),t=s[r]){if(!(t=t.call(s,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,a<2&&(a=0)}else 1===a&&(t=s.return)&&t.call(s),a<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),a=1);s=e}else if((t=(u=h.n<0)?l:n.call(i,h))!==o)break}catch(t){s=e,a=1,l=t}finally{c=1}}return{value:t,done:u}}}(n,r,s),!0),c}var o={};function a(){}function l(){}function c(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(AF(t={},i,function(){return this}),t),u=c.prototype=a.prototype=Object.create(d);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,AF(e,r,"GeneratorFunction")),e.prototype=Object.create(u),e}return l.prototype=c,AF(u,"constructor",c),AF(c,"constructor",l),l.displayName="GeneratorFunction",AF(c,r,"GeneratorFunction"),AF(u),AF(u,r,"Generator"),AF(u,i,function(){return this}),AF(u,"toString",function(){return"[object Generator]"}),(YF=function(){return{w:s,m:h}})()}function AF(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}AF=function(e,t,n,i){function s(t,n){AF(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(s("next",0),s("throw",1),s("return",2))},AF(e,t,n,i)}function CF(e,t,n,i,r,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(i,r)}function EF(e){return function(e){if(Array.isArray(e))return NF(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||PF(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 IF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,s,o,a=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=s.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return a}}(e,t)||PF(e,t)||function(){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 PF(e,t){if(e){if("string"==typeof e)return NF(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?NF(e,t):void 0}}function NF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function RF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function zF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RF(Object(n),!0).forEach(function(t){jF(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function HF(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,FF(i.key),i)}}function jF(e,t,n){return(t=FF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FF(e){var t=function(e,t){if("object"!=DF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=DF(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==DF(t)?t:t+""}SF(OF,"isRangeIncludesDisabledDay",function(e,t){var n=gF(t.disabledDates),i=t.selectedDates[0];if(i&&1===t.selectedDates.length){var r=[i,e].toSorted(function(e,t){return e.getTime()>t.getTime()?1:-1});return n.some(function(e){return vE(e).isBetween(r[0],r[1],void 0,[])})}return!1}),SF(OF,"isOutOfLimit",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"max",i=t.selectedDates[0],r=t.opts,s=r.minRange,o=r.maxRange;if(0===s&&0===o)return!1;var a=[i,e].toSorted(function(e,t){return e.getTime()>t.getTime()?1:-1});if(i&&1===t.selectedDates.length){var l=vE(a[1]).diff(a[0],"days");if("max"===n)return l>o;if("min"===n)return l<s;if("both"===n)return l<s||l>o}return!1});var BF=bookingHub,$F=wp.i18n.sprintf,WF=function(){return function(e,t,n){return t&&HF(e.prototype,t),n&&HF(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),jF(this,"callRoomPopup",function(e){var t=1*e.attr("data-room");n.callDetail(t).then(function(e){n.initRoomGallery(e)})}),jF(this,"selectRoom",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{silent:!1};!e instanceof c&&(e=n.roomsWrapper.find(".bhub-feed-hotel-room-2[data-room=".concat(e,"]"))),n.roomsWrapper.find(".bhub-feed-hotel-room-2").removeClass("bhub-selected");var i=1*e.attr("data-room");e.addClass("bhub-selected"),n.collect.room=i,n.el.find("[data-button=rooms-next]").prop("disabled",!1),t.silent||n.resetNextSteps()}),jF(this,"unSelectRoom",function(){n.el.find(".bhub-feed-hotel-room-2").removeClass("bhub-selected"),n.el.find("[data-button=rooms-next]").prop("disabled",!0),n.collect.room=0}),jF(this,"remakeRoomString",function(){var e=n.collect.roomCount;n.roomsButton.html("".concat(e," ").concat(e>1?BF.i18n.rooms:BF.i18n.room))}),jF(this,"remakeGuestString",function(){var e=n.guestsCount=1*n.collect.adults+1*n.collect.children;n.guestButton.html("".concat(e," ").concat(e>1?BF.i18n.guests:BF.i18n.guest))}),jF(this,"resetNextSteps",function(){n.activeStepEl.nextAll().remove()}),jF(this,"goStep",function(e){var t=n.stepsEl.find("[data-step]");"extrasOrCheckout"===e&&(n.stepsEl.find("[data-step=extras]").length&&(e="extras"));var i=t.filter("[data-step=".concat(e,"]")).length>0;if(n.collect.step=e,n.activeStep=e,i){t.hide(),n.activeStepEl=t.filter("[data-step=".concat(e,"]")),n.activeStepEl.show(),n.activeStepEl.removeClass("bhub-fade-in-right bhub-fade-in-left"),n.activeStepEl.addClass("bhub-fade-in-".concat(n.direction)),n.el[0].scrollIntoView({behavior:"smooth"});var r=n.navEl.find("[data-step=".concat(e,"]"));r.length||(r=n.navEl.find("[data-step=rooms]")),n.navEl.find("[data-step]").attr("data-status","");var s=r.prevAll("[data-step]"),o=r.nextAll("[data-step]");s.attr("data-status","passed"),o.attr("data-status",""),r.attr("data-status","active"),"rooms"===e&&(n.roomsInit||n.initRooms(),n.isotope?n.isotope.layout():n.initIsotope(),n.autoSelectRoomFromParams()),"done"===e&&n.initSuccess(),"pay"===e&&n.el.find(".bhub-hotel-form-info").remove(),window.dispatchEvent(new CustomEvent("bookingHubStepTransition",{detail:{instance:n,mainEl
2:n.el[0],bookingId:n.bookingId}}))}else n.request().then(function(e){n.stepsEl.append(e.template),n.goStep(e.activeStep),"checkout"===e.activeStep&&n.initCheckout(),"extras"===e.activeStep&&n.initExtra()}).catch(function(e){alert(e)})}),jF(this,"extrasOrCheckout",function(){n.request().then(function(e){n.stepsEl.find("[data-step=".concat(e.activeStep,"]")).remove(),n.stepsEl.append(e.template),n.goStep(e.activeStep),"extras"===n.collect.step&&n.initExtra(),"checkout"===n.collect.step&&n.initCheckout()}).catch(function(e){return alert(e)})}),jF(this,"debounce",function(e,t){var n;return t=t||100,function(){clearTimeout(n);var i=arguments,r=this;n=setTimeout(function(){e.apply(r,i)},t)}}),jF(this,"initIsotope",function(){n.roomsWrapper.find(".bhub-feed-hotel-room-2").length&&pF(n.roomsWrapper[0],function(){n.isotope=new bE(n.roomsWrapper[0],{itemSelector:".bhub-feed-hotel-room-2",percentPosition:!0,masonry:{columnWidth:".bhub-hotel-form__room-sizer",horizontalOrder:!0},getSortData:{size:function(e){return e.getAttribute("data-room-size")},price:function(e){return e.getAttribute("data-price")}},sortAscending:{size:!1,price:!0}})})}),jF(this,"request",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!n.requesting){var t=n;return new Promise(function(i,r){c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:zF(zF({action:"bhub/templates/form/hotel/middleware",_ajax_nonce:BF.nonce},n.collect),{},{bhubAction:e}),beforeSend:function(){if(n.stepsEl.bhubBlock(),n.guestDialog.bhubBlock(),n.roomDialog.bhubBlock(),n.requesting=!0,"rooms"===n.collect.step){n.unSelectRoom(),n.roomsWrapper.html(""),n.isotope&&n.isotope.destroy();for(var e=n.postsCount>0?n.postsCount:2,t=0;t<e;t++){var i=n.skeleton;n.roomsWrapper.append(i)}}},success:function(e){var s=e.data,o=e.success;o||r(s.message),s.redirect?window.location.href=s.redirect:(n.globalResponse=s.globalResponse,"rooms"===s.activeStep&&(n.initRooms(),n.roomsWrapper.html(s.template),n.roomsWrapper.find(".bhub-feed-hotel-room-2").each(function(){t.initRoomGallery(c(this))}),n.postsCount=s.postsCount,n.resultEl.text(s.postsCountText),o?n.initIsotope():n.isotope&&(n.isotope.destroy(),n.isotope=null)),o&&i(s))},complete:function(){n.firstLoad=!0,n.requesting=!1,n.stepsEl.bhubUnBlock(),n.guestDialog.bhubUnBlock(),n.roomDialog.bhubUnBlock()}})})}}),jF(this,"filterRequest",function(e){return new Promise(function(t,i){c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:zF({action:"bhub/templates/form/hotel/filter_request",_ajax_nonce:BF.nonce},n.collect),beforeSend:function(){n.el.find(".bhub-hotel-summary-fields").bhubBlock(),n.guestDialog.bhubBlock(),n.roomDialog.bhubBlock()},success:function(r){var s=r.data,o=r.success;if(o)n.roomsWrapper.html(s.template),n.initIsotope(),t(s),"checkout"===n.activeStep&&n.el.find(".bhub-hotel-summary-fields").replaceWith(s.summary);else{i(s);var a=!1;"not_match"===s.status?confirm(s.message)?(n.goStep("rooms"),n.roomDialog.removeClass("bhub-active"),n.collect.room=null,n.unSelectRoom(),n.roomsWrapper.html(s.template),n.postsCount=s.postsCount,n.initIsotope()):a=!0:(alert(s.message),a=!0),a?("rooms"===e&&(n.roomInput.val(s.oldRoomCount),n.collect.roomCount=s.oldRoomCount,n.remakeRoomString()),"children"===e&&(n.childrenInput.val(s.oldChildrenCount),n.collect.children=s.oldChildrenCount,n.remakeGuestString()),"adults"===e&&(n.adultsInput.val(s.oldAdultsCount),n.collect.adults=s.oldAdultsCount,n.remakeGuestString())):n.resultEl.text(s.postsCountText)}},complete:function(){n.el.find(".bhub-hotel-summary-fields").bhubUnBlock(),n.guestDialog.bhubUnBlock(),n.roomDialog.bhubUnBlock()}})})}),jF(this,"buildGetParams",function(){var e,t=window.location.search,n=new URLSearchParams(t),i={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=PF(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},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,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}(n.entries());try{for(r.s();!(e=r.n()).done;){var s=IF(e.value,2),o=s[0],a=s[1];i[o]=a}}catch(e){r.e(e)}finally{r.f()}var l={};
2return Object.keys(i).forEach(function(e){var t=e.match(/(.*)\[(\d+)]/),n=i[e];if(isNaN(n)||(n=parseInt(n,10)),t){var r=t[1],s=parseInt(t[2],10);l[r]||(l[r]=[]),l[r][s]=n}else l[e]=n}),l}),jF(this,"removeDuplicatedDates",function(e){var t=e.map(function(e){return e.toLocaleDateString()});return EF(new Set(t))}),jF(this,"getYmd",function(e,t){var n=new Date;n.setFullYear(t,e,1);return n.getFullYear()+"-"+("0"+(n.getMonth()+1)).slice(-2)+"-01"}),jF(this,"getDisabledDays",function(e){return new Promise(function(t,i){c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/templates/form/step/get_disabled_days",_ajax_nonce:BF.nonce,collect:JSON.stringify(n.collect),date:e},success:function(e){var n=e.data,r=e.success;r?t(n.disabledDays):i(n.message)}})})}),jF(this,"initDays",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=n,i=n.disabledDays.length>0?n.disabledDays:e,r=i.map(function(e){return new Date(e)});n.disabledDays=i;var s=n.mainArgs,o=s.maxDistance,a=s.minAllowedDays,l=s.maxAllowedDays,d=o>0?vE().add(o,"days").format("YYYY-MM-DD"):0;if(n.datepicker=new OF(n.daterangeEl[0],{range:!0,toggleSelected:!1,dynamicRange:!1,showOtherMonths:!1,selectOtherMonths:!1,fixedHeight:!0,minDate:new Date,maxDate:d,position:"bottom center",autoClose:!0,minRange:a,maxRange:l,nightCounter:!0,rangeHasDisabledDayTooltipMsg:BF.i18n.unavailableDay,rangeDisabledTooltipMaxLimitMsgSingular:BF.i18n.maxNightSingular,rangeDisabledTooltipMaxLimitMsgPlural:BF.i18n.maxNightPlural,rangeDisabledTooltipMinLimitMsgSingular:BF.i18n.minNightSingular,rangeDisabledTooltipMinLimitMsgPlural:BF.i18n.minNightPlural,nightCounterSingular:BF.i18n.nightCounterSingular,nightCounterPlural:BF.i18n.nightCounterPlural,onSelect:function(e){var t=e.formattedDate,i=e.datepicker;if(c(i.$el).trigger("change"),n.dateHolder.text(n.daterangeEl.val()),2===t.length)if(n.removeDuplicatedDates(i.selectedDates).length<2)i.clear();else{var r=function(e){return String(e).padStart(2,"0")};n.collect.date=i.selectedDates.map(function(e){return"".concat(e.getFullYear(),"-").concat(r(e.getMonth()+1),"-").concat(r(e.getDate()))}),"rooms"===n.activeStep?n.request():n.filterRequest().catch(function(e){confirm(e.message)?n.goStep("rooms"):i.selectDate(e.oldDate,{silent:!0})})}},onRenderCell:function(e){var t=e.date;if(r.some(function(e){return t.toLocaleDateString()===e.toLocaleDateString()}))return{disabled:!0}},onChangeViewDate:function(e){var i=e.month,r=e.year,s=t.getYmd(i,r);n.firstDateSelected&&n.getDisabledDays(s).then(function(e){n.datepicker.disableDate(e);var i=e.map(function(e){return new Date(e)});t.disabledDays=i}).catch(function(e){alert(e)})},buttons:[{content:function(){return BF.todayStr},onClick:function(e){e.setViewDate(new Date)}},{content:function(){return BF.clear},onClick:function(e){e.clear({silent:!0}),e.setViewDate(new Date)}}]}),n.daterangeEl.val()){var u=n.daterangeEl.val().split(", ");n.datepicker.selectDate(u,{silent:!0});var h=n.datepicker.selectedDates.map(function(e){return vE(e).format(bookingHub.dateFormat)}).join(", ");n.dateHolder.text(h),n.collect.date=u,n.firstDateSelected=!0}}),jF(this,"callDetail",function(e){var t=n;return new Promise(function(n,i){c.confirm({theme:"bhub-drawer bhub-room-detail-2-drawer",closeIcon:!0,closeIconClass:"bhub-icons-close",draggable:!1,backgroundDismiss:!0,animateFromElement:!1,animationSpeed:300,animation:"right",closeAnimation:"right",useBootstrap:!1,content:function(){var r=this;return c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:zF({action:"bhub_get_room_detail",_ajax_nonce:BF.nonce,roomId:e,template:"hotel_room_detail_2"},t.collect)}).done(function(e){var t=c(e.data.template);r.setContent(t),r.setTitle(e.data.title),n(t)}).fail(function(){r.setContent("Something went wrong."),i()})},buttons:{select:{text:BF.i18n.select,btnClass:"bhub-hotel-form-button bhub-tp-stepper-button",action:function(){var n=t.roomsWrapper.find(".bhub-feed-hotel-room-2[data-room=".concat(e,"]"));t.selectRoom(n);var i=this.$content.find("input[name=rate]:checked");if(i.length){var r=i.parent().find(".bhub-rate-selection__title .bhub-price-amount"),s=i.parent().find(".bhub-rate-selection__title__text").text();n.find(".bhub-price-amount").replaceWith(r);var o=n.find(".bhub-room-selected-rate");o.length?o.text(s):n.find(".bhub-feed-hotel-room__footer--right").append('<span class="bhub-room-selected-rate">'.concat(s,"</span>")),t.collect.rate=i.val();var a=t.activeStepEl.find("[data-bhub-isotope]").get(0).isotope;void 0!==a&&a.layout()}var l=n.find(".bhub-feed-hotel-room-2__title").text(),c=i.parent().find(".bhub-rate-selection__title__text").text(),d="".concat(l," / ").concat(c);bookingHub.notyf.success({message:$F(BF.i18n.productSelected,d),duration:5e3,position:{x:"left",y:"bottom"}}),BF.autoNextAfterRoomSelect&&(this.close(),t.el.find("[data-button=rooms-next]").trigger("click"))}}},onContentReady:function(){t.initRoomGallery(this.$content.find(".bhub-room-detail-2"))},onOpenBefore:function(){var e=window.innerWidth-document.body.clientWidth;c("body, html").css("overflow","hidden"),c("body").css("padding-right",e+"px")},onDestroy:function(){c("body, html").css("overflow",""),c("body").css("padding-right","")}})})}),jF(this,"initExtra",function(){var e=n;n.collect.extra={};var t={},i=n.activeStepEl.find(".bhub-input-spinner__input");i.each(function(){Wz(c(this)[0])}),i.on("change",function(){var n=c(this),i=1*n.attr("name"),r=1*n.val();r>0?t[i]=r:delete t[i],e.resetNextSteps()});var r=n.activeStepEl.find(".bhub-extra-item:not(.bhub-extra-item--multiple-selectable)");r.on("click",function(){var n=c(this).find(".bhub-extra-item__add-button");n.toggleClass("bhub-has-remove");var i=1*n.data("product-id");n.hasClass("bhub-has-remove")?t[i]=1:delete t[i],e.resetNextSteps()}),r.length&&r.each(function(){var e=c(this).find(".bhub-extra-item__add-button");if(e.hasClass("bhub-has-remove")){var n=1*e.data("product-id");t[n]=1}}),i.length&&i.trigger("change"),e.collect.extra=t}),jF(this,"initCheckout",function(){var e=n;n.collect.paymentMethod=n.activeStepEl.find("input[name=bhub_payment_method]").first().val(),n.el.on("change","input[name=bhub_payment_method]",function(){var t=c(this).val();
2e.collect.paymentMethod=t,e.filterRequest("payment_method");var n=e.activeStepEl.find(".bhub-deposit-payment-selection");if(n.length){var i="local"===t,r=n.find('input[name="deposit_selection"]');if(n.toggleClass("bhub-disabled",i),r.prop("disabled",i),i)n.find('input[name="deposit_selection"][value="full"]').prop("checked",!0),e.collect.depositPayment="full";else{var s=n.find('input[name="deposit_selection"]:checked');e.collect.depositPayment=s.val()}}}),n.submitButtonEl=n.activeStepEl.find("[data-button=submit]"),n.submitButtonEl.on("click",function(){e.defaultFormFieldsEl.validate(),e.formValid=e.defaultFormFieldsEl.valid(),e.customFieldsForm&&e.customFieldsForm.submit(),e.triggerFormValid(),e.isFormValid()?(e.collect.step="done",e.request().then(function(t){e.stepsEl.find("[data-step=pay]").remove(),e.stepsEl.append(t.template),e.goStep(t.activeStep);var n=new CustomEvent("bookingHubPaymentStep",{detail:{mainEl:e.el[0],submit:e.submit,bookingId:e.bookingId,bookingForm:e.collect.formId,paymentMethod:e.collect.paymentMethod}});window.dispatchEvent(n)}).catch(function(e){return alert(e)})):e.defaultFormFieldsEl.get(0).scrollIntoView({behavior:"smooth"})}),n.initFormFields(),n.initCoupons(),n.initLogin()}),jF(this,"initLogin",function(){var e=n.el.find("[data-button=login]"),t=n;e.on("click",function(){c.dialog({theme:"bhub-modal",closeIcon:!0,closeIconClass:"bhub-icons-close",draggable:!1,backgroundDismiss:!0,animateFromElement:!0,animationSpeed:300,animation:"scale",closeAnimation:"scale",columnClass:"bhub-small bhub-login-modal-form",content:function(){var e=this;return c.ajax({method:"POST",url:BF.ajaxUrl,data:{action:"bhub_get_login_form",_ajax_nonce:BF.nonce,template:"hotel"}}).done(function(t){e.setTitle(t.data.title),e.setContent(t.data.content)}).fail(function(){e.setContent(BF.wrongMessage)})},onContentReady:function(){var e=this,n=this.$content.find("form");this.loginFormEl=n,this.loginFormEl.validate(),this.loginFormEl.on("submit",function(n){var i=this;c(this).valid()&&(n.preventDefault(),c.ajax({method:"POST",url:BF.ajaxUrl,data:c(this).serialize()+"&action=bhub_handle_login_form",beforeSend:function(){c(i).bhubRemoveAlert()},success:function(n){if(n.success){BF.nonce=n.data.loginNonce;var r=t.defaultFormFieldsEl,s=n.data.userData;Object.keys(s).length>0&&Object.keys(s).forEach(function(e){var t=r.find('[name="'.concat(e,'"]'));t&&t.val(s[e]).trigger("keyup")}),t.loginButtonEl.remove(),e.close()}else c(i).bhubAddAlert(n.data.message,"error")},error:function(){c(i).bhubAddAlert(BF.wrongMessage)}}))})}})})}),jF(this,"isFormValid",function(){return n.formValid&&n.customFieldsValid}),jF(this,"triggerFormValid",function(){}),jF(this,"initFormFields",function(){var e=n,t=n.activeStepEl,i=t.find("[data-button=login]"),r=t.find(".bhub-form-viewer");r.length?gE(r.get(0)).then(function(e){n.customFieldsForm=e,e._state.schema.components.forEach(function(e){var t;if("phone"===(null==e||null===(t=e.validate)||void 0===t?void 0:t.validationType)){var i=n.activeStepEl.find("input[id*='".concat(e.id,"']"));kE(i.get(0))}}),e.on("changed",function(e){var t=e.data,i=e.errors;n.customFieldsValid=0===Object.keys(i).length,n.triggerFormValid(),n.collect.customFields=t})}):(n.customFieldsValid=!0,n.collect.customFields={}),n.defaultFormFieldsEl=t.find(".bhub-hotel-form-fields"),n.defaultFormFieldsEl.bhubValidate({rules:{phone:{bhubValidPhone:!0}},onkeyup:function(e){c(e).valid()},onfocusout:function(e){c(e).valid()}});var s=n.defaultFormFieldsEl.find("input[type=tel]");s.length&&kE(s.get(0)),c(s).on("countrychange",function(){e.formValid=e.defaultFormFieldsEl[0].bhubValidate.checkForm(),e.triggerFormValid()}),n.formValid=n.defaultFormFieldsEl[0].bhubValidate.checkForm(),n.triggerFormValid(),n.collect.defaultForm=fN(n.defaultFormFieldsEl),i.length>0&&(n.loginButtonEl=i,n.loginButtonEl.on("click",n.login));var o=function(){n.formValid=n.defaultFormFieldsEl[0].bhubValidate.checkForm(),n.triggerFormValid(),n.collect.defaultForm=fN(n.defaultFormFieldsEl)};n.defaultFormFieldsEl.find('input:not([type="checkbox"]), textarea').on("keyup",function(){return o()}),n.defaultFormFieldsEl.find("input[type=checkbox]").on("change",function(e){c(e.target).valid(),o()}),n.defaultFormFieldsEl.find('input[type="file"]').on("change",function(){o()})}),jF(this,"submit",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(function(t,i){c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:{action:"bhub/templates/form/hotel/submit",_ajax_nonce:BF.nonce,collect:JSON.stringify(n.collect),data:e},success:function(e){var r=e.data,s=e.success;
2s?(n.stepsEl.append(r.template),n.collect.activeStep=r.activeStep,n.goStep(r.activeStep),t(e.data)):i(e.data)}})})}),jF(this,"initRooms",function(){var e=n;n.activeStepEl.off("click"),n.activeStepEl.on("click","[data-room]",function(t){var n=c(this);c(t.target).hasClass("bhub-room-detail__prev")||c(t.target).hasClass("bhub-room-detail__next")||(n.hasClass("bhub-selected")?e.unSelectRoom():void 0===n.data("rates")?(e.selectRoom(n),BF.autoNextAfterRoomSelect&&e.el.find("[data-button=rooms-next]").trigger("click")):e.callRoomPopup(n))}),n.activeStepEl.on("click",".bhub-feed-hotel-room-2__see-detail",function(t){t.stopPropagation();var n=c(this).closest(".bhub-feed-hotel-room-2");e.callRoomPopup(n)}),n.roomsInit=!0}),jF(this,"autoSelectRoomFromParams",function(){if(n.getParams.room&&void 0===n.getParams.rate)if("checkout"!==n.activeStep&&"extras"!==n.activeStep){if(!n.roomParamTriggered){n.roomParamTriggered=!0;var e=n.roomsWrapper.find(".bhub-feed-hotel-room-2[data-room=".concat(n.getParams.room,"]"));e.length&&(void 0!==e.data("rates")?n.callRoomPopup(e):n.selectRoom(e))}}else n.goStep("rooms")}),jF(this,"initRoomGallery",function(e){var t=e.find(".bhub-room-detail__gallery"),n=e.find(".bhub-room-detail__section--gallery");t.find("a").each(function(){c(this).get(0).dataset.elementorOpenLightbox="no"});var i=new QI({gallery:t.get(0),children:"a",pswpModule:tN});new sN(i,{type:"auto",captionContent:function(e){return e.data.element.getAttribute("data-caption")}}),i.init();var r=new OI(n.get(0),{modules:[YI,CI],spaceBetween:15,pagination:{el:e.find(".bhub-room-detail__pag").get(0)},navigation:{nextEl:e.find(".bhub-room-detail__next").get(0),prevEl:e.find(".bhub-room-detail__prev").get(0)},loop:!0});i.on("change",function(){r.slideTo(i.pswp.currIndex)})}),jF(this,"refreshTooltips",function(){Jj(n.el.get(0))}),jF(this,"initSuccess",function(){n.el.find(".bhub-hotel-form-info").remove(),tF(n.el.get(0)),h(n.el.get(0)),$z(n.el.get(0)).then(function(){n.refreshTooltips()})}),jF(this,"initCoupons",function(){var e=n;n.el.on("click",".bhub-coupon-toggle",function(e){e.preventDefault(),c(this).closest(".bhub-form-field").find(".bhub-coupon-form__wrapper").show()}),n.el.on("click",".bhub-active-coupons__remove",function(t){t.preventDefault(),t.stopPropagation(),c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:{_ajax_nonce:BF.nonce,booking_id:c(this).data("booking-id"),collect:JSON.stringify(e.collect),action:"bhub/coupons/remove"},beforeSend:function(){e.el.find(".bhub-coupons").bhubBlock()},success:function(t){var n=t.data,i=t.success;i&&(e.el.find(".bhub-payment-table").replaceWith(n.paymentTable),e.el.find(".bhub-coupons").replaceWith(n.couponTemplate),n.depositSelection&&e.el.find(".bhub-deposit-payment-selection").replaceWith(n.depositSelection))},complete:function(){e.el.find(".bhub-coupons").bhubUnBlock()}})}),e.summaryInintedOnce||n.el.on("submit",".bhub-coupon-form",function(t){var n=this;t.preventDefault(),t.stopPropagation(),c.ajax({url:BF.ajaxUrl,method:"POST",dataType:"json",data:[c(this).serialize(),c.param({_ajax_nonce:BF.nonce,collect:JSON.stringify(e.collect),action:"bhub/coupons/add"})].join("&"),beforeSend:function(){c(n).find(".bhub-coupon-form__error").remove(),e.el.find(".bhub-coupons").bhubBlock(),e.summaryInintedOnce=!0},success:function(t){var i=t.data,r=t.success;r?(e.el.find(".bhub-payment-table").replaceWith(i.paymentTable),e.el.find(".bhub-coupons").replaceWith(i.couponTemplate),i.depositSelection&&e.el.find(".bhub-deposit-payment-selection").replaceWith(i.depositSelection),e.refreshTooltips()):c(n).append('<span class="bhub-coupon-form__error">'.concat(i.message,"</span>"))},complete:function(){e.el.find(".bhub-coupons").bhubUnBlock()}})})}),this.el=t,this.stepsEl=this.el.find(".bhub-hotel-form__steps"),this.activeStepEl=null,this.navEl=this.el.find(".bhub-hotel-form-nav"),this.daterangeEl=null,this.getParams={},this.disabledDays=[],this.formId=1*t.attr("data-form-id"),this.bookingId=t.attr("data-booking-id"),this.globalResponse={},this.mainArgs={},this.activeStep=this.stepsEl.find('[data-step][data-status="active"]').first().attr("data-step"),this.roomsWrapper=this.el.find(".bhub-hotel-form__rooms"),this.isotope=null,this.layoutToggle=this.el.find(".bhub-hotel-form-filter__layout"),this.sortButton=this.el.find(".bhub-hotel-form-filter__sort"),this.sortDialog=this.el.find(".bhub-hotel-form-filter__sort
2-options"),this.filters=this.el.find(".bhub-hotel-form-filter__filters"),this.filterToggle=this.el.find(".bhub-hotel-form-filter__toggle"),this.sortFilter=this.el.find(".bhub-hotel-form-filter__sort-option"),this.dateHolder=this.el.find(".bhub-hotel-form-info__date-holder > span"),this.roomsButton=this.el.find(".bhub-hotel-form-info__room-holder"),this.roomDialog=this.el.find(".bhub-hotel-form-info__dialog--room"),this.guestButton=this.el.find(".bhub-hotel-form-info__guests-holder"),this.guestDialog=this.el.find(".bhub-hotel-form-info__dialog--guests"),this.roomInput=this.el.find('input[name="rooms"]'),this.adultsInput=this.el.find('input[name="adults"]'),this.childrenInput=this.el.find('input[name="children"]'),this.resultEl=this.el.find(".bhub-hotel-form-result"),this.skeleton=BF.roomSkeleton,this.guestsCount=0,this.postsCount=this.el.find(".bhub-feed-hotel-room-2").length||4,this.skeletonCount=this.postsCount>0?this.postsCount:2,this.direction="right",this.collect={formId:this.formId,bookingId:this.bookingId,step:this.activeStep,room:1,roomCount:1,adults:1,children:0,date:[]},this.requesting=!1,this.roomParamTriggered=!1,this.bookingType="hotel",this.datepicker={},this.el[0].bookingHub=this,this.roomsInit=!1,void 0===window.bookingHubState&&(window.bookingHubState={}),window.bookingHubState[this.bookingId]={isReady:!1};var i=this;document.addEventListener("DOMContentLoaded",function(){i.init()}),this.layoutToggle.on("click",function(){n.layoutToggle.find("i").toggleClass("bhub-icons-grid bhub-icons-list"),n.roomsWrapper.toggleClass("bhub-hotel-form__rooms--list"),n.roomsWrapper.find(".bhub-feed-hotel-room-2").toggleClass("bhub-feed-hotel-room-2--list"),n.isotope&&n.isotope.layout()}),this.sortButton.on("click",function(){i.sortDialog.toggleClass("bhub-active")}),this.roomsButton.on("click",function(){i.roomDialog.toggleClass("bhub-active")}),this.guestButton.on("click",function(){i.guestDialog.toggleClass("bhub-active")}),this.sortFilter.on("click",function(){if(i.isotope){var e=c(this).attr("data-sort");i.isotope.arrange({sortBy:e}),i.sortDialog.removeClass("bhub-active")}}),this.filterToggle.on("click",function(){i.filters.toggleClass("bhub-active"),i.filterToggle.find("i").toggleClass("bhub-icons-filter bhub-icons-close")}),Wz(this.roomInput.get(0)),Wz(this.adultsInput.get(0)),Wz(this.childrenInput.get(0)),this.roomInput.on("change",this.debounce(function(){var e=c(this).val();i.collect.roomCount=e,"rooms"===i.activeStep?i.request():i.filterRequest("rooms").catch(function(){})},500)),this.adultsInput.on("change",this.debounce(function(){var e=c(this).val();i.collect.adults=e,"rooms"===i.activeStep?i.request():i.filterRequest("adults").catch(function(){})},500)),this.childrenInput.on("change",this.debounce(function(){var e=c(this).val();i.collect.children=e,"rooms"===i.activeStep?i.request():i.filterRequest("children").catch(function(){})},500)),this.roomInput.on("change",function(){i.collect.roomCount=1*c(this).val(),i.remakeRoomString()}),this.adultsInput.on("change",function(){i.collect.adults=1*c(this).val(),i.remakeGuestString()}),this.childrenInput.on("change",function(){i.collect.children=1*c(this).val(),i.remakeGuestString()}),c(document).on("click",function(e){c(e.target).closest(i.sortButton).length||0!==c(e.target).closest(i.sortDialog).length||i.sortDialog.removeClass("bhub-active"),c(e.target).closest(i.roomsButton).length||0!==c(e.target).closest(i.roomDialog).length||i.roomDialog.removeClass("bhub-active"),c(e.target).closest(i.guestButton).length||0!==c(e.target).closest(i.guestDialog).length||i.guestDialog.removeClass("bhub-active"),c(e.target).closest(i.filterToggle).length||0!==c(e.target).closest(i.filters).length||(i.filters.removeClass("bhub-active"),i.filterToggle.find("i").removeClass("bhub-icons-close"),i.filterToggle.find("i").addClass("bhub-icons-filter"))}),window.addEventListener("bookingHubStepTransition",function(e){var t=e.detail.instance;if("checkout"===t.activeStep&&!t.activeStepEl[0].bookingHubDepositPaymentInit){t.activeStepEl[0].bookingHubDepositPaymentInit=!0;var n=t.activeStepEl.find('input[name="deposit_selection"]:checked');n.prop("disabled")||(t.collect.depositPayment=n.val());var i=function(){var e=t.activeStepEl.find(".bhub-payment-field--due"),n=t.activeStepEl.find(".bhub-payment-field--deposit");"deposit"===t.collect.depositPayment&&(n.show(),e.show()),"full"===t.collect.depositPayment&&(n.hide(),e.hide())};i(),t.activeStepEl.on("change",'input[name="deposit_selection"]',function(){t.collect.depositPayment=c(this).val(),i()})}})},[{key:"init",value:(e=function(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var s=e.apply(t,n);function o(e){CF(s,i,r,o,a,"next",e)}function a(e){CF(s,i,r,o,a,"throw",e)}o(void 0)})}}(YF().m(function e(){var t,n,i=this;return YF().w(function(e){for(;;)switch(e.n){case 0:return t=this,this.activeStepEl=this.stepsEl.find("[data-step=".concat(this.activeStep,"]")),this.daterangeEl=this.el.find(".bhub-hotel-form-info__daterange"),this.getParams=this.buildGetParams(),this.mainArgs=this.el.data("args"),this.collect.adults=this.getParams.adult_count||1,this.collect.children=this.getParams.child_count||0,this.collect.room=this.getParams.room||1,this.collect.roomCount=this.getParams.room_count||1,this.collect.date=this.getParams.date||[],this.collect.rate=this.getParams.rate||"0",e.n=1,this.initDays(this.daterangeEl.data("disabled-days"));case 1:if(this.roomsWrapper.find(".bhub-feed-hotel-room-2").each(function(){t.initRoomGallery(c(this))}),window.dispatchEvent(new CustomEvent("bookingHubStepTransition",{detail:{instance:this,mainEl
2:this.el[0],bookingId:this.bookingId,step:this.activeStep}})),"rooms"!==this.activeStep){e.n=3;break}return e.n=2,this.initIsotope();case 2:this.initRooms(),this.autoSelectRoomFromParams();case 3:if("extras"!==this.activeStep){e.n=5;break}return e.n=4,this.initExtra();case 4:this.autoSelectRoomFromParams();case 5:"checkout"===this.activeStep&&(this.initCheckout(),this.autoSelectRoomFromParams(),void 0!==this.getParams.rate&&(this.collect.step="checkout",this.request().then(function(e){i.stepsEl.find("[data-step=checkout]").remove(),i.stepsEl.append(e.template),i.goStep(e.activeStep),"checkout"===e.activeStep&&i.initCheckout()}))),this.el.on("click","button[data-go]",function(){var e=c(this).attr("data-direction"),n=c(this).attr("data-go");t.direction=e,t.goStep(n)}),n=document.title,document.addEventListener("visibilitychange",function(){document.hidden?document.title=BF.inactiveTabTitle:document.title=n}),window.bookingHubState.isReady=!0,window.dispatchEvent(new CustomEvent("bookingHubReady"));case 6:return e.a(2)}},e,this)})),function(){return e.apply(this,arguments)})}]);var e}(),UF=WF;window.addEventListener("bookingHubPaymentStep",function(e){var t=e.detail,n=t.mainEl,i=t.submit;"local"===t.paymentMethod&&c(n).on("click",".bhub-local-payment-form",function(){i().catch(function(e){alert(e.message)})})},{once:!0}),c(".bhub-step-booking-form").each(function(){var e=c(this);new mF(e)}),c(".bhub-hotel-form").each(function(){var e=c(this);new UF(e)});var VF=document.querySelector(".bhub-woocommerce-ty");VF&&($z(VF).then(function(){Jj(VF)}),tF(VF),h(VF))}()}(); 3//# sourceMappingURL=booking-hub.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.