(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+Gs+":function(t,e,n){var r=e;r.bignum=n("8kJ5"),r.define=n("uH4/").define,r.base=n("45vN"),r.constants=n("Xr9Y"),r.decoders=n("uaRH"),r.encoders=n("5wZK")},"+JHh":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"+Ls2":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("TiKg"))},"+MGR":function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},"+krU":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("Zf0h")),i=a(n("uLrD")),o=a(n("w+CG")),s=a(n("plIT"));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(){var t=new Uint32Array(10),e=new Uint32Array(10),n=new Uint32Array(2);return function(a){for(var u=0;u<24;u++)(0,s.default)({A:a,C:t,D:e,W:n}),(0,o.default)({A:a,C:t,W:n}),(0,r.default)({A:a,C:t}),(0,i.default)({A:a,roundIndex:u});t.fill(0),e.fill(0),n.fill(0)}};e.default=u},"+oaW":function(t,e,n){"use strict";var r=n("wfEq"),i=n("cq1r"),o=n("Olfb"),s=n("thXI"),a=n("ql4I");function u(t){a.call(this,"digest"),this._hash=t}r(u,a),u.prototype._update=function(t){this._hash.update(t)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new u(s(t))}},"+t3Y":function(t,e,n){"use strict";t.exports=s;var r=n("A/eZ"),i=Object.create(n("nrnY"));function o(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},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("TiKg"))},"/ieh":function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function s(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(t,e,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var a=new s(n,r||t,o),u=i?i+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],a]:t._events[u].push(a):(t._events[u]=a,t._eventsCount++),t}function u(t,e){0==--t._eventsCount?t._events=new o:delete t._events[e]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)r.call(t,e)&&n.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},c.prototype.listeners=function(t){var e=i?i+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,s=new Array(o);r=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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("TiKg"))},"0+Cr":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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("TiKg"))},"0+hf":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=n("qykS"),o=(r=n("+krU"))&&r.__esModule?r:{default:r};var s=[224,256,384,512],a=function(t,e){for(var n=0;n=h&&(a(f,d),u(d),l=0);return e},this.squeeze=function(){var t={queue:i.Buffer.allocUnsafe(h),state:new Uint32Array(50)};f.copy(t.queue);for(var e=0;e>>8,n[r+2]=t[o+1]>>>16,n[r+3]=t[o+1]>>>24,n[r+4]=t[o],n[r+5]=t[o]>>>8,n[r+6]=t[o]>>>16,n[r+7]=t[o]>>>24}return n}(t.state,c)},this.reset=function(){return f.fill(0),d.fill(0),l=0,e},this};e.default=u},"0V88":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(t){return t>1&&t<5&&1!=~~(t/10)}function s(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?i+(o(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?i+(o(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?i+(o(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?i+(o(t)?"dny":"dní"):i+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?i+(o(t)?"měsíce":"měsíců"):i+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?i+(o(t)?"roky":"let"):i+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"0vPu":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("TiKg"))},"1XdC":function(t,e,n){"use strict";n.r(e),n.d(e,"logout",(function(){return i}));var r=n("JpNb");function i(){Object(r.clean)()}},"1qNd":function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},"27bB":function(t,e,n){"use strict";var r=n("vdEC");Object.defineProperty(e,"__esModule",{value:!0}),e.getRandomBytes=e.getRandomSampledString=e.getRandomAsciiString=e.getRandomString=void 0;var i=r(n("wQqr"));e.getRandomString=function(t){for(var e=o(t),n=o(t),r="",i=0;i>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function d(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function f(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function _(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0>>0?1:0}r(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,u=0|this._fh,v=0|this._gh,b=0|this._hh,g=0|this._al,w=0|this._bl,x=0|this._cl,M=0|this._dl,S=0|this._el,T=0|this._fl,A=0|this._gl,E=0|this._hl,L=0;L<32;L+=2)e[L]=t.readInt32BE(4*L),e[L+1]=t.readInt32BE(4*L+4);for(;L<160;L+=2){var D=e[L-30],C=e[L-30+1],k=f(D,C),O=p(C,D),I=_(D=e[L-4],C=e[L-4+1]),P=m(C,D),R=e[L-14],Y=e[L-14+1],B=e[L-32],N=e[L-32+1],j=O+Y|0,F=k+R+y(j,O)|0;F=(F=F+I+y(j=j+P|0,P)|0)+B+y(j=j+N|0,N)|0,e[L]=F,e[L+1]=j}for(var U=0;U<160;U+=2){F=e[U],j=e[U+1];var G=h(n,r,i),H=h(g,w,x),V=l(n,g),z=l(g,n),W=d(a,S),X=d(S,a),J=s[U],K=s[U+1],q=c(a,u,v),$=c(S,T,A),Z=E+X|0,Q=b+W+y(Z,E)|0;Q=(Q=(Q=Q+q+y(Z=Z+$|0,$)|0)+J+y(Z=Z+K|0,K)|0)+F+y(Z=Z+j|0,j)|0;var tt=z+H|0,et=V+G+y(tt,z)|0;b=v,E=A,v=u,A=T,u=a,T=S,a=o+Q+y(S=M+Z|0,M)|0,o=i,M=x,i=r,x=w,r=n,w=g,n=Q+et+y(g=Z+tt|0,Z)|0}this._al=this._al+g|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+M|0,this._el=this._el+S|0,this._fl=this._fl+T|0,this._gl=this._gl+A|0,this._hl=this._hl+E|0,this._ah=this._ah+n+y(this._al,g)|0,this._bh=this._bh+r+y(this._bl,w)|0,this._ch=this._ch+i+y(this._cl,x)|0,this._dh=this._dh+o+y(this._dl,M)|0,this._eh=this._eh+a+y(this._el,S)|0,this._fh=this._fh+u+y(this._fl,T)|0,this._gh=this._gh+v+y(this._gl,A)|0,this._hh=this._hh+b+y(this._hl,E)|0},u.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=u},"2q8S":function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return h})),n.d(e,"d",(function(){return p}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("JpNb");function a(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,s;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(!t.ok)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,t.json()];case 2:return[2,r.sent()];case 3:return r.sent(),[2,t];case 4:return e=String(t.status),n=o.a.has(e)?e:i.z,[4,t.json().catch((function(){throw Object(o.j)(n,t.statusText)}))];case 5:throw s=r.sent(),Object(o.j)(s.error||n,s.error_description||s.message)}}))}))}function u(t){var e=function(t){if(t)return t;var e=Object(s.getAccessToken)();if(!e)throw Object(o.j)(i.y,"Need access_token for api call, Please login first");return{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer "+e}}(t&&t.headers);return Object(r.a)(Object(r.a)({},t),{headers:e})}function c(t,e){var n;try{n=u(e)}catch(t){return Promise.reject(t)}return fetch(t,n).then(a)}function h(t,e){var n;try{n=u(e)}catch(t){return Promise.reject(t)}return fetch(t,n)}function l(t){var e=t.subdomain;return"https://"+(void 0===e?"api":e)+".line.me/"+t.pathname}var d={token:l({pathname:"oauth2/v2.1/token"}),certs:l({pathname:"oauth2/v2.1/certs"}),"openid-configuration":l({subdomain:"access",pathname:".well-known/openid-configuration"}),authorize:l({subdomain:"access",pathname:"liff/v1/authorize"}),profile:l({pathname:"v2/profile"}),message:l({pathname:"message/v3/share"}),messageOTT:l({pathname:"message/v3/multisend?type=ott"}),friendship:l({pathname:"friendship/v1/status"}),shareTargetPicker:l({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker"}),shareTargetPickerOtt:l({pathname:"liff/v2/apps"}),shareTargetPickerResult:l({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker/result"}),apps:l({pathname:"liff/v2/apps"}),subWindowGetMSIT:l({pathname:"liff/v2/sub/msit"}),subWindowGetMSTByMSIT:l({pathname:"liff/v2/sub/mst"}),subWindowSubscribe:l({subdomain:"liff",pathname:"liff/v2/sub/waitResult"}),subWindowPost:l({pathname:"liff/v2/sub/result"}),subWindowGetAppData:l({pathname:"liff/v2/sub/appData"}),subWindowGetOrigin:function(t){return l({pathname:"liff/v2/sub/"+t+"/origin"})},accessTokenVerify:l({pathname:"oauth2/v2.1/verify"}),unauthorizedPermissions:l({subdomain:"liff",pathname:"liff/v2/incrementalAgreement/unauthorizedPermissions"})};function f(t){return d[t]}function p(t){return c(f("accessTokenVerify")+"?access_token="+encodeURIComponent(t),{headers:{"Content-Type":"application/json",Accept:"application/json"}})}},"2tm8":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("TiKg"))},"2xJO":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n){var r=" ";return(t%100>=20||t>=100&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("TiKg"))},"3MSx":function(t,e,n){var r=n("LER9"),i=n("bPso"),o=n("+oaW"),s=n("CsW6"),a=n("F1mQ"),u=n("8kJ5"),c=n("HfSF"),h=n("5Wkw"),l=n("pRMk").Buffer;t.exports=function(t,e,n){var d;d=t.padding?t.padding:n?1:4;var f,p=r(t);if(4===d)f=function(t,e){var n=t.modulus.byteLength(),r=e.length,c=o("sha1").update(l.alloc(0)).digest(),h=c.length,d=2*h;if(r>n-d-2)throw new Error("message too long");var f=l.alloc(n-r-d-2),p=n-h-1,_=i(h),m=a(l.concat([c,f,l.alloc(1,1),e],p),s(_,p)),y=a(_,s(m,h));return new u(l.concat([l.alloc(1),y,m],n))}(p,e);else if(1===d)f=function(t,e,n){var r,o=e.length,s=t.modulus.byteLength();if(o>s-11)throw new Error("message too long");r=n?l.alloc(s-o-3,255):function(t){var e,n=l.allocUnsafe(t),r=0,o=i(2*t),s=0;for(;r=0)throw new Error("data too long for modulus")}return n?h(f,p):c(f,p)}},"3Wkq":function(t,e,n){(function(e){var r=n("8kJ5"),i=new(n("y9a5")),o=new r(24),s=new r(11),a=new r(10),u=new r(3),c=new r(7),h=n("cyIN"),l=n("bPso");function d(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._pub=new r(t),this}function f(t,n){return n=n||"utf8",e.isBuffer(t)||(t=new e(t,n)),this._priv=new r(t),this}t.exports=_;var p={};function _(t,e,n){this.setGenerator(e),this.__prime=new r(t),this._prime=r.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=f):this._primeCode=8}function m(t,n){var r=new e(t.toArray());return n?r.toString(n):r}Object.defineProperty(_.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var n=e.toString("hex"),r=[n,t.toString(16)].join("_");if(r in p)return p[r];var l,d=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!i.test(t))return d+=1,d+="02"===n||"05"===n?8:4,p[r]=d,d;switch(i.test(t.shrn(1))||(d+=2),n){case"02":t.mod(o).cmp(s)&&(d+=8);break;case"05":(l=t.mod(a)).cmp(u)&&l.cmp(c)&&(d+=8);break;default:d+=4}return p[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),_.prototype.generateKeys=function(){return this._priv||(this._priv=new r(l(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},_.prototype.computeSecret=function(t){var n=(t=(t=new r(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new e(n.toArray()),o=this.getPrime();if(i.length",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(c),l=["%","/","?",";","#"].concat(h),d=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n("UKnr");function b(t,e,n){if(t&&i.isObject(t)&&t instanceof o)return t;var r=new o;return r.parse(t,e,n),r}o.prototype.parse=function(t,e,n){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o127?I+="x":I+=O[P];if(!I.match(f)){var Y=C.slice(0,E),B=C.slice(E+1),N=O.match(p);N&&(Y.push(N[1]),B.unshift(N[2])),B.length&&(b="/"+B.join(".")+b),this.hostname=Y.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var j=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+j,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!_[x])for(E=0,k=h.length;E0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift());return n.search=t.search,n.query=t.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!M.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=M.slice(-1)[0],A=(n.host||t.host||M.length>1)&&("."===T||".."===T)||""===T,E=0,L=M.length;L>=0;L--)"."===(T=M[L])?M.splice(L,1):".."===T?(M.splice(L,1),E++):E&&(M.splice(L,1),E--);if(!w&&!x)for(;E--;E)M.unshift("..");!w||""===M[0]||M[0]&&"/"===M[0].charAt(0)||M.unshift(""),A&&"/"!==M.join("/").substr(-1)&&M.push("");var D,C=""===M[0]||M[0]&&"/"===M[0].charAt(0);S&&(n.hostname=n.host=C?"":M.length?M.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift()));return(w=w||n.host&&M.length)&&!C&&M.unshift(""),M.length?n.pathname=M.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},"3qw6":function(t,e){t.exports=function(t){for(var e,n=t.length;n--;){if(255!==(e=t.readUInt8(n))){e++,t.writeUInt8(e,n);break}t.writeUInt8(0,n)}}},"45vN":function(t,e,n){var r=e;r.Reporter=n("E9s0").Reporter,r.DecoderBuffer=n("Imh/").DecoderBuffer,r.EncoderBuffer=n("Imh/").EncoderBuffer,r.Node=n("soaT")},"48B7":function(t,e,n){"use strict";var r=n("fOyB"),i=n("8kJ5"),o=n("wfEq"),s=n("7ZyU"),a=r.assert;function u(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,s.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function c(t,e,n,r,o){s.BasePoint.call(this,t,"projective"),null===e&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,s),t.exports=u,u.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},u.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},u.prototype.jpoint=function(t,e,n,r){return this.point(t,e,n,r)},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var u=a.fromRed().isOdd();return(e&&!u||!e&&u)&&(a=a.redNeg()),this.point(t,a)},u.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==e&&(a=a.redNeg()),this.point(a,t)},u.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),n=t.y.redSqr(),r=e.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(n)));return 0===r.cmp(i)},o(c,s.BasePoint),u.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},u.prototype.point=function(t,e,n,r){return new c(this,t,e,n,r)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=r.redAdd(e),s=o.redSub(n),a=r.redSub(e),u=i.redMul(s),c=o.redMul(a),h=i.redMul(a),l=s.redMul(o);return this.curve.point(u,c,l,h)},c.prototype._projDbl=function(){var t,e,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(a)).redAdd(u);this.zOne?(t=s.redSub(a).redSub(u).redMul(c.redSub(this.curve.two)),e=c.redMul(r.redSub(u)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=s.redSub(a).redISub(u).redMul(o),e=c.redMul(r.redSub(u)),n=c.redMul(o))}else r=a.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),t=this.curve._mulC(s.redISub(r)).redMul(o),e=this.curve._mulC(r).redMul(a.redISub(u)),n=r.redMul(o);return this.curve.point(t,e,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),r=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=n.redSub(e),s=i.redSub(r),a=i.redAdd(r),u=n.redAdd(e),c=o.redMul(s),h=a.redMul(u),l=o.redMul(u),d=s.redMul(a);return this.curve.point(c,h,d,l)},c.prototype._projAdd=function(t){var e,n,r=this.z.redMul(t.z),i=r.redSqr(),o=this.x.redMul(t.x),s=this.y.redMul(t.y),a=this.curve.d.redMul(o).redMul(s),u=i.redSub(a),c=i.redAdd(a),h=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(s),l=r.redMul(u).redMul(h);return this.curve.twisted?(e=r.redMul(c).redMul(s.redSub(this.curve._mulA(o))),n=u.redMul(c)):(e=r.redMul(c).redMul(s.redSub(o)),n=this.curve._mulC(u).redMul(c)),this.curve.point(l,e,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!1)},c.prototype.jmulAdd=function(t,e,n){return this.curve._wnafMulAdd(1,[this,e],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var n=t.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(r),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},"4OlW":function(t,e,n){"use strict";var r=n("ovh1"),i=n("bRtl");t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},"4dXb":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},"4lZK":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("TiKg"))},"5+HP":function(t,e,n){"use strict";(function(t){var r=n("Z3s7"),i=n("AIuu"),o=setTimeout;function s(t){return Boolean(t&&void 0!==t.length)}function a(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(t,this)}function c(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,u._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void l(e.promise,t)}h(e.promise,r)}else(1===t._state?h:l)(e.promise,t._value)}))):t._deferreds.push(e)}function h(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void d(t);if("function"==typeof n)return void p((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,d(t)}catch(e){l(t,e)}var r,i}function l(t,e){t._state=2,t._value=e,d(t)}function d(t){2===t._state&&0===t._deferreds.length&&u._immediateFn((function(){t._handled||u._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e1)for(var n=1;n=0||!n.umod(t.prime1)||!n.umod(t.prime2);)n=new r(i(e));return n}t.exports=o,o.getr=s}).call(this,n("qykS").Buffer)},"5wZK":function(t,e,n){var r=e;r.der=n("LpNI"),r.pem=n("wQuK")},"62Az":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("TiKg"))},"63Ad":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},"6Bnx":function(t,e,n){"use strict";n.r(e),n.d(e,"InitModule",(function(){return W}));var r=n("bb6g"),i=n("ZIm7"),o=n("eJvy"),s=n("JpNb"),a=n("kp3F"),u=n("NOeq"),c=n("53ng");function h(){return function(){return t=this,e=void 0,r=function(){return function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&!t.startsWith("/")?"/":"")+t},t.prototype.invoke=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e,n,i,s;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(t=o.u.parse(window.location.search),"string"!=typeof(e=t["liff.state"]))return[2];r.label=1;case 1:return r.trys.push([1,4,,5]),n=location.href,(i=this.decodeState(e))===n?[3,3]:(t["liff.hback"]?location.replace(Object(o.c)(i,{"liff.hback":t["liff.hback"]})):location.replace(i),[4,new Promise((function(){}))]);case 2:r.sent(),r.label=3;case 3:return[3,5];case 4:if((s=r.sent()).code===a.e)throw s;return b.a.debug(s),[3,5];case 5:return[2]}}))}))},t}());function z(t,e,n){return Object(r.b)(this,void 0,void 0,(function(){var i;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(!n.liffId)throw Object(o.j)(a.g,"liffId is necessary for liff.init()");return Object(s.setConfig)(n),!Object(l.isInClient)()&&Object(d.isLoggedIn)()&&(Object(s.getExpireTime)()||Object(f.logout)()),i=o.u.parse(window.location.search),!Object(p.isSubWindow)()||Object(l.isInClient)()?[3,2]:[4,new Promise((function(t){Object(_.getMainWindowOrigin)()?t():window.addEventListener("message",(function e(n){var r=n.data,i=n.source,o=n.origin;if(r){var u=r.type,c=r.message;u===a.t&&(window.removeEventListener("message",e),c&&Object(s.setAppData)(c),Object(_.setMainWindowOrigin)(o),i&&i.postMessage&&i.postMessage({status:a.t},o),t())}}))}))];case 1:r.sent(),r.label=2;case 2:if(i.error&&i.liffOAuth2Error)throw h=i.error,m=i.error_description.replace(/\+/g," "),Object(o.j)(a.e,h+": "+m);return u=i.code,c=Object(s.getLoginTmp)(),Boolean(u&&!Object(d.isLoggedIn)()&&c&&c.codeVerifier)?[4,H(i.liffClientId)]:[3,4];case 3:r.sent(),r.label=4;case 4:return Object(l.isInClient)()?[4,F(t,n)]:[3,6];case 5:return r.sent(),[3,8];case 6:return Object(d.isLoggedIn)()?[3,8]:[4,G()];case 7:r.sent(),r.label=8;case 8:return[4,V.invoke()];case 9:return r.sent(),[4,e.runHook("beforeInitFinished")];case 10:return r.sent(),Object(o.x)(window.location.href),[2]}var u,c,h,m}))}))}var W=function(){function t(t,e){this.liff=t,this.moduleDriver=e}return Object.defineProperty(t.prototype,"name",{get:function(){return"init"},enumerable:!1,configurable:!0}),t.prototype.install=function(){return this.init.bind(this)},t.prototype.init=function(t,e,n){return Object(r.b)(this,void 0,void 0,(function(){var o;return Object(r.d)(this,(function(r){switch(r.label){case 0:a=this.liff,window&&!window.liff&&(window.liff=a),r.label=1;case 1:return r.trys.push([1,4,,6]),[4,Promise.all([E(this.liff),z(this.liff,this.moduleDriver,t)])];case 2:return r.sent(),function(){var t;A("color-scheme",((null==(t=Object(s.getContext)())?void 0:t.menuColorSetting)||{adaptableColorSchemes:["light"]}).adaptableColorSchemes.join(" "));var e=window.matchMedia("(prefers-color-scheme: dark)");S({matches:null==e?void 0:e.matches,media:null==e?void 0:e.media}),e.addEventListener?e.addEventListener("change",S):e.addListener&&e.addListener(S)}(),[4,this.moduleDriver.runHook("beforeInitSuccess")];case 3:return r.sent(),"function"==typeof e&&e(),Object(i.done)(),[3,6];case 4:return o=r.sent(),[4,this.moduleDriver.runHook("initError",o)];case 5:throw r.sent(),"function"==typeof n&&n(o),o;case 6:return[2]}var a}))}))},t}()},"6DIm":function(t,e,n){"use strict";(function(t,n){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var r=Object.freeze({});function i(t){return null==t}function o(t){return null!=t}function s(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function h(t){return"[object Object]"===c.call(t)}function l(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function _(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function g(t,e){return b.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,M=w((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),S=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=w((function(t){return t.replace(T,"-$1").toLowerCase()}));var E=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function L(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function C(t){for(var e={},n=0;n0,$=J&&J.indexOf("edge/")>0,Z=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===X),Q=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(z)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var rt=function(){return void 0===H&&(H=!z&&!W&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),H},it=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,at="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);st="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=k,ct=0,ht=function(){this.id=ct++,this.subs=[]};ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){v(this.subs,t)},ht.prototype.depend=function(){ht.target&&ht.target.addDep(this)},ht.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!g(i,"default"))s=!1;else if(""===s||s===A(t)){var u=Ut(String,i.type);(u<0||a0&&(he((u=t(u,(n||"")+"_"+r))[0])&&he(h)&&(l[c]=yt(h.text+u[0].text),u.shift()),l.push.apply(l,u)):a(u)?he(h)?l[c]=yt(h.text+u):""!==u&&l.push(yt(u)):he(u)&&he(h)?l[c]=yt(h.text+u.text):(s(e._isVList)&&o(u.tag)&&i(u.key)&&o(n)&&(u.key="__vlist"+n+"_"+r+"__"),l.push(u)));return l}(t):void 0}function he(t){return o(t)&&o(t.text)&&!1===t.isComment}function le(t,e){if(t){for(var n=Object.create(null),r=at?Reflect.ownKeys(t):Object.keys(t),i=0;i0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==r&&a===n.$key&&!o&&!n.$hasNormal)return n;for(var u in i={},t)t[u]&&"$"!==u[0]&&(i[u]=_e(e,u,t[u]))}else i={};for(var c in e)c in i||(i[c]=me(e,c));return t&&Object.isExtensible(t)&&(t._normalized=i),U(i,"$stable",s),U(i,"$key",a),U(i,"$hasNormal",o),i}function _e(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ce(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function me(t,e){return function(){return t[e]}}function ye(t,e){var n,r,i,s,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;rdocument.createEvent("Event").timeStamp&&(un=function(){return cn.now()})}function hn(){var t,e;for(an=un(),on=!0,tn.sort((function(t,e){return t.id-e.id})),sn=0;snsn&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(hn))}}(this)},dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Gt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:k,set:k};function pn(t,e,n){fn.get=function(){return this[e][n]},fn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,fn)}function _n(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&Mt(!1);var o=function(o){i.push(o);var s=Nt(o,e,n,t);At(r,o,s),o in t||pn(t,"_props",o)};for(var s in e)o(s);Mt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:E(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;h(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Gt(t,e,"data()"),{}}finally{ft()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&g(r,o)||(s=void 0,36!==(s=(o+"").charCodeAt(0))&&95!==s&&pn(t,"_data",o))}var s;Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=rt();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;0,r||(n[i]=new dn(t,s||k,k,mn)),i in t||yn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function En(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Tn(s.componentOptions);a&&!e(a)&&Ln(n,o,r,i)}}}function Ln(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=wn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Yt(xn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Je(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=de(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return je(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return je(t,e,n,r,i,!0)};var o=n&&n.data;At(t,"$attrs",o&&o.attrs||r,null,!0),At(t,"$listeners",e._parentListeners||r,null,!0)}(e),Qe(e,"beforeCreate"),function(t){var e=le(t.$options.inject,t);e&&(Mt(!1),Object.keys(e).forEach((function(n){At(t,n,e[n])})),Mt(!0))}(e),_n(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Qe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Mn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Et,t.prototype.$delete=Lt,t.prototype.$watch=function(t,e,n){if(h(e))return gn(this,t,e,n);(n=n||{}).user=!0;var r=new dn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Gt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Mn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i1?L(n):n;for(var r=L(arguments,1),i='event handler for "'+t+'"',o=0,s=n.length;oparseInt(this.max)&&Ln(s,a[0],a,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:D,mergeOptions:Yt,defineReactive:At},t.set=Et,t.delete=Lt,t.nextTick=ee,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,Cn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=L(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Yt(this.options,t),this}}(t),Sn(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Mn),Object.defineProperty(Mn.prototype,"$isServer",{get:rt}),Object.defineProperty(Mn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Mn,"FunctionalRenderContext",{value:Oe}),Mn.version="2.6.11";var kn=m("style,class"),On=m("input,textarea,option,select,progress"),In=m("contenteditable,draggable,spellcheck"),Pn=m("events,caret,typing,plaintext-only"),Rn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Yn="http://www.w3.org/1999/xlink",Bn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Nn=function(t){return Bn(t)?t.slice(6,t.length):""},jn=function(t){return null==t||!1===t};function Fn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Un(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Un(e,n.data));return function(t,e){if(o(t)||o(e))return Gn(t,Hn(e));return""}(e.staticClass,e.class)}function Un(t,e){return{staticClass:Gn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Gn(t,e){return t?e?t+" "+e:t:e||""}function Hn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r-1?dr(t,e,n):Rn(e)?jn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,function(t,e){return jn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):Bn(e)?jn(n)?t.removeAttributeNS(Yn,Nn(e)):t.setAttributeNS(Yn,e,n):dr(t,e,n)}function dr(t,e,n){if(jn(n))t.removeAttribute(e);else{if(K&&!q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var fr={create:hr,update:hr};function pr(t,e){var n=e.elm,r=e.data,s=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(s)||i(s.staticClass)&&i(s.class)))){var a=Fn(e),u=n._transitionClasses;o(u)&&(a=Gn(a,Hn(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var _r,mr={create:pr,update:pr};function yr(t,e,n){var r=_r;return function i(){var o=e.apply(null,arguments);null!==o&&gr(t,i,n,r)}}var vr=Xt&&!(Q&&Number(Q[1])<=53);function br(t,e,n,r){if(vr){var i=an,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}_r.addEventListener(t,e,et?{capture:n,passive:r}:n)}function gr(t,e,n,r){(r||_r).removeEventListener(t,e._wrapper||e,n)}function wr(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};_r=e.elm,function(t){if(o(t.__r)){var e=K?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),se(n,r,br,gr,yr,e.context),_r=void 0}}var xr,Mr={create:wr,update:wr};function Sr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,s=e.elm,a=t.data.domProps||{},u=e.data.domProps||{};for(n in o(u.__ob__)&&(u=e.data.domProps=D({},u)),a)n in u||(s[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=r;var c=i(r)?"":String(r);Tr(s,c)&&(s.value=c)}else if("innerHTML"===n&&Wn(s.tagName)&&i(s.innerHTML)){(xr=xr||document.createElement("div")).innerHTML=""+r+"";for(var h=xr.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;h.firstChild;)s.appendChild(h.firstChild)}else if(r!==a[n])try{s[n]=r}catch(t){}}}}function Tr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.number)return _(n)!==_(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Ar={create:Sr,update:Sr},Er=w((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Lr(t){var e=Dr(t.style);return t.staticStyle?D(t.staticStyle,e):e}function Dr(t){return Array.isArray(t)?C(t):"string"==typeof t?Er(t):t}var Cr,kr=/^--/,Or=/\s*!important$/,Ir=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Or.test(n))t.style.setProperty(A(e),n.replace(Or,""),"important");else{var r=Rr(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(Nr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Nr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ur(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&D(e,Gr(t.name||"v")),D(e,t),e}return"string"==typeof t?Gr(t):void 0}}var Gr=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Hr=z&&!q,Vr="transition",zr="transitionend",Wr="animation",Xr="animationend";Hr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Vr="WebkitTransition",zr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Wr="WebkitAnimation",Xr="webkitAnimationEnd"));var Jr=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Kr(t){Jr((function(){Jr(t)}))}function qr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),jr(t,e))}function $r(t,e){t._transitionClasses&&v(t._transitionClasses,e),Fr(t,e)}function Zr(t,e,n){var r=ti(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a="transition"===i?zr:Xr,u=0,c=function(){t.removeEventListener(a,h),n()},h=function(e){e.target===t&&++u>=s&&c()};setTimeout((function(){u0&&(n="transition",h=s,l=o.length):"animation"===e?c>0&&(n="animation",h=c,l=u.length):l=(n=(h=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?o.length:u.length:0,{type:n,timeout:h,propCount:l,hasTransform:"transition"===n&&Qr.test(r[Vr+"Property"])}}function ei(t,e){for(;t.length1}function ai(t,e){!0!==e.data.show&&ri(e)}var ui=function(t){var e,n,r={},u=t.modules,c=t.nodeOps;for(e=0;ep?b(t,i(n[y+1])?null:n[y+1].elm,n,f,y,r):f>y&&w(e,d,p)}(d,m,y,n,h):o(y)?(o(t.text)&&c.setTextContent(d,""),b(d,null,y,0,y.length-1,n)):o(m)?w(m,0,m.length-1):o(t.text)&&c.setTextContent(d,""):t.text!==e.text&&c.setTextContent(d,e.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(t,e)}}}function T(t,e,n){if(s(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,s.selected!==o&&(s.selected=o);else if(P(fi(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function di(t,e){return e.every((function(e){return!P(e,t)}))}function fi(t){return"_value"in t?t._value:t.value}function pi(t){t.target.composing=!0}function _i(t){t.target.composing&&(t.target.composing=!1,mi(t.target,"input"))}function mi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function yi(t){return!t.componentInstance||t.data&&t.data.transition?t:yi(t.componentInstance._vnode)}var vi={model:ci,show:{bind:function(t,e,n){var r=e.value,i=(n=yi(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,ri(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=yi(n)).data&&n.data.transition?(n.data.show=!0,r?ri(n,(function(){t.style.display=t.__vOriginalDisplay})):ii(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},bi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function gi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?gi(Ve(e.children)):t}function wi(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[M(o)]=i[o];return e}function xi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Mi=function(t){return t.tag||He(t)},Si=function(t){return"show"===t.name},Ti={name:"transition",props:bi,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Mi)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=gi(i);if(!o)return i;if(this._leaving)return xi(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var u=(o.data||(o.data={})).transition=wi(this),c=this._vnode,h=gi(c);if(o.data.directives&&o.data.directives.some(Si)&&(o.data.show=!0),h&&h.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,h)&&!He(h)&&(!h.componentInstance||!h.componentInstance._vnode.isComment)){var l=h.data.transition=D({},u);if("out-in"===r)return this._leaving=!0,ae(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),xi(t,i);if("in-out"===r){if(He(o))return c;var d,f=function(){d()};ae(u,"afterEnter",f),ae(u,"enterCancelled",f),ae(l,"delayLeave",(function(t){d=t}))}}return i}}},Ai=D({tag:String,moveClass:String},bi);function Ei(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Li(t){t.data.newPos=t.elm.getBoundingClientRect()}function Di(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Ai.mode;var Ci={Transition:Ti,TransitionGroup:{props:Ai,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=qe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=wi(this),a=0;a-1?Jn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Jn[t]=/HTMLUnknownElement/.test(e.toString())},D(Mn.options.directives,vi),D(Mn.options.components,Ci),Mn.prototype.__patch__=z?ui:k,Mn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=mt),Qe(t,"beforeMount"),r=function(){t._update(t._render(),n)},new dn(t,r,k,{before:function(){t._isMounted&&!t._isDestroyed&&Qe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Qe(t,"mounted")),t}(this,t=t&&z?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},z&&setTimeout((function(){j.devtools&&it&&it.emit("init",Mn)}),0),e.a=Mn}).call(this,n("pCvA"),n("oPUo").setImmediate)},"6Huv":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,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(t){return"شام"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("TiKg"))},"6K5y":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.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(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n("TiKg"))},"6MVH":function(t,e,n){"use strict";var r=e;r.version=n("cEa6").version,r.utils=n("fOyB"),r.rand=n("Wxe8"),r.curve=n("aAq9"),r.curves=n("cFST"),r.ec=n("t6uJ"),r.eddsa=n("dLON")},"6Nbo":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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("TiKg"))},"6aAO":function(t,e,n){"use strict";function r(t,e,n){n=n||2;var r,a,u,c,h,f,p,m=e&&e.length,y=m?e[0]*n:t.length,v=i(t,0,y,n,!0),b=[];if(!v||v.next===v.prev)return b;if(m&&(v=function(t,e,n,r){var s,a,u,c,h,f=[];for(s=0,a=e.length;s80*n){r=u=t[0],a=c=t[1];for(var g=n;gu&&(u=h),f>c&&(c=f);p=0!==(p=Math.max(u-r,c-a))?1/p:0}return s(v,b,n,r,a,p),b}function i(t,e,n,r,i){var o,s;if(i===L(t,e,n,r)>0)for(o=e;o=e;o-=r)s=T(o,t[o],t[o+1],s);return s&&b(s,s.next)&&(A(s),s=s.next),s}function o(t,e){if(!t)return t;e||(e=t);var n,r=t;do{if(n=!1,r.steiner||!b(r,r.next)&&0!==v(r.prev,r,r.next))r=r.next;else{if(A(r),(r=e=r.prev)===r.next)break;n=!0}}while(n||r!==e);return e}function s(t,e,n,r,i,l,d){if(t){!d&&l&&function(t,e,n,r){var i=t;do{null===i.z&&(i.z=p(i.x,i.y,e,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,n,r,i,o,s,a,u,c=1;do{for(n=t,t=null,o=null,s=0;n;){for(s++,r=n,a=0,e=0;e0||u>0&&r;)0!==a&&(0===u||!r||n.z<=r.z)?(i=n,n=n.nextZ,a--):(i=r,r=r.nextZ,u--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;n=r}o.nextZ=null,c*=2}while(s>1)}(i)}(t,r,i,l);for(var f,_,m=t;t.prev!==t.next;)if(f=t.prev,_=t.next,l?u(t,r,i,l):a(t))e.push(f.i/n),e.push(t.i/n),e.push(_.i/n),A(t),t=_.next,m=_.next;else if((t=_)===m){d?1===d?s(t=c(o(t),e,n),e,n,r,i,l,2):2===d&&h(t,e,n,r,i,l):s(o(t),e,n,r,i,l,1);break}}}function a(t){var e=t.prev,n=t,r=t.next;if(v(e,n,r)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(m(e.x,e.y,n.x,n.y,r.x,r.y,i.x,i.y)&&v(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function u(t,e,n,r){var i=t.prev,o=t,s=t.next;if(v(i,o,s)>=0)return!1;for(var a=i.xo.x?i.x>s.x?i.x:s.x:o.x>s.x?o.x:s.x,h=i.y>o.y?i.y>s.y?i.y:s.y:o.y>s.y?o.y:s.y,l=p(a,u,e,n,r),d=p(c,h,e,n,r),f=t.prevZ,_=t.nextZ;f&&f.z>=l&&_&&_.z<=d;){if(f!==t.prev&&f!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,_!==t.prev&&_!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,_.x,_.y)&&v(_.prev,_,_.next)>=0)return!1;_=_.nextZ}for(;f&&f.z>=l;){if(f!==t.prev&&f!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;_&&_.z<=d;){if(_!==t.prev&&_!==t.next&&m(i.x,i.y,o.x,o.y,s.x,s.y,_.x,_.y)&&v(_.prev,_,_.next)>=0)return!1;_=_.nextZ}return!0}function c(t,e,n){var r=t;do{var i=r.prev,s=r.next.next;!b(i,s)&&g(i,r,r.next,s)&&M(i,s)&&M(s,i)&&(e.push(i.i/n),e.push(r.i/n),e.push(s.i/n),A(r),A(r.next),r=t=s),r=r.next}while(r!==t);return o(r)}function h(t,e,n,r,i,a){var u=t;do{for(var c=u.next.next;c!==u.prev;){if(u.i!==c.i&&y(u,c)){var h=S(u,c);return u=o(u,u.next),h=o(h,h.next),s(u,e,n,r,i,a),void s(h,e,n,r,i,a)}c=c.next}u=u.next}while(u!==t)}function l(t,e){return t.x-e.x}function d(t,e){var n=function(t,e){var n,r=e,i=t.x,o=t.y,s=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var a=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(a<=i&&a>s){if(s=a,a===i){if(o===r.y)return r;if(o===r.next.y)return r.next}n=r.x=r.x&&r.x>=h&&i!==r.x&&m(on.x||r.x===n.x&&f(n,r)))&&(n=r,d=u)),r=r.next}while(r!==c);return n}(t,e);if(!n)return e;var r=S(n,t),i=o(n,n.next);return o(r,r.next),e===n?i:e}function f(t,e){return v(t.prev,t,e.prev)<0&&v(e.next,t,t.next)<0}function p(t,e,n,r,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-r)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function _(t){var e=t,n=t;do{(e.x=0&&(t-s)*(r-a)-(n-s)*(e-a)>=0&&(n-s)*(o-a)-(i-s)*(r-a)>=0}function y(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&g(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&(M(t,e)&&M(e,t)&&function(t,e){var n=t,r=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==t);return r}(t,e)&&(v(t.prev,t,e.prev)||v(t,e.prev,e))||b(t,e)&&v(t.prev,t,t.next)>0&&v(e.prev,e,e.next)>0)}function v(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function b(t,e){return t.x===e.x&&t.y===e.y}function g(t,e,n,r){var i=x(v(t,e,n)),o=x(v(t,e,r)),s=x(v(n,r,t)),a=x(v(n,r,e));return i!==o&&s!==a||(!(0!==i||!w(t,n,e))||(!(0!==o||!w(t,r,e))||(!(0!==s||!w(n,t,r))||!(0!==a||!w(n,e,r)))))}function w(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function x(t){return t>0?1:t<0?-1:0}function M(t,e){return v(t.prev,t,t.next)<0?v(t,e,t.next)>=0&&v(t,t.prev,e)>=0:v(t,e,t.prev)<0||v(t,t.next,e)<0}function S(t,e){var n=new E(t.i,t.x,t.y),r=new E(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function T(t,e,n,r){var i=new E(t,e,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function A(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function E(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function L(t,e,n,r){for(var i=0,o=e,s=n-r;o0&&(r+=t[i-1].length,n.holes.push(r))}return n}},"6rtq":function(t,e,n){var r=n("8gph"),i=n("pRMk").Buffer,o=n("ql4I");function s(t,e,n,s){o.call(this),this._cipher=new r.AES(e),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._mode=t}n("wfEq")(s,o),s.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},t.exports=s},"6s8r":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"6ucV":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},"6vYI":function(t,e,n){"use strict";n.r(e),n.d(e,"shareTargetPicker",(function(){return x}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("JpNb"),a=n("YaxJ"),u=n("hGkD"),c=n("sXMr"),h=n("bI9i"),l=n("53ng"),d=n("QuL7"),f=n("2q8S"),p=n("NOeq"),_={};function m(t,e){var n=_,i=Object(r.e)(e.split("."),1)[0],o=n[e];o&&t.removeEventListener(i,o),n[e]=null}var y=!1,v=!1;function b(t,e,n,r){if(void 0===n&&(n={}),"object"!=typeof t||!t.postMessage)throw Object(o.j)(i.f,"target must be window object");if("string"!=typeof e)throw Object(o.j)(i.f,"keyname must be string");if("object"!=typeof n)throw Object(o.j)(i.f,"incorrect body format. It should be Object or Array comprised of Object");if(!r)throw Object(o.j)(i.f,"serverEndPointUrl isn't passed. please fill up with proper url");if("*"===r)throw new Error("serverEndPointUrl doesn't allow to set '*'");var s={name:e,body:n};t.postMessage(s,r)}function g(t,e,n,i){!function(t,e,n,i){y||(v=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!1}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}(),y=!0);var o=Object(r.e)(e.split("."),1)[0];new Promise((function(r){var s=function(o){r(o),n&&n(o),i&&i.once&&m(t,e)};!function(t,e){_[t]=e}(e,s),t.addEventListener(o,s,!!v&&i)}))}(t,"message."+e,function(t,e,n){return function(r){d.a.debug("messageReceive",r),r.origin===n&&r.data.name===t&&e(r)}}(e,n,i))}var w=function(){function t(){this.payloadToShareTargetPicker=null,this.popupWindow=null,this.doesWaitForSubwindowResult=!1}return t.getInstance=function(){return t.instance?t.instance.reset():t.instance=new t,t.instance},t.prototype.init=function(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n;return Object(r.d)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),this.liffId=t.referrer.liffId,this.doesWaitForSubwindowResult=!(!t.options||!t.options.waitForSubwindowResult),this.allowPostMessageOrigin=this.initAllowPostMessageOrigin(),this.payloadToShareTargetPicker=this.buildPayloadToShareTargetPicker(t),window.AbortController&&(this.abortController=new window.AbortController),this.prepareAnotherWindow(),[4,this.initOtt()];case 1:return r.sent(),this.initListener(),this.openAnotherWindow(),this.doesWaitForSubwindowResult?[4,this.pollingShareResult()]:[3,3];case 2:return e=r.sent(),this.finalize(),[2,e];case 3:return[2];case 4:return[3,6];case 5:if(n=r.sent(),this.finalize(),"AbortError"!==n.name)throw n;return[3,6];case 6:return[2]}}))}))},t.prototype.resetAllVariables=function(){this.liffId="",this.allowPostMessageOrigin="",this.payloadToShareTargetPicker=null,this.ott="",this.popupWindow=null,this.timeoutIDForHealthCheck=null,this.abortController=null,this.internalError=null,this.doesWaitForSubwindowResult=!1},t.prototype.reset=function(){this.finalize(),this.resetAllVariables()},t.prototype.finalize=function(){var t,e;this.abortController&&this.abortController.abort(),Object(a.isInClient)()||(t=this.timeoutIDForHealthCheck,e=this.popupWindow,m(window,"message.receivedHealthcheck"),t&&clearTimeout(t),e&&!e.closed&&e.close())},t.prototype.buildPayloadToShareTargetPicker=function(t){return{messages:t.messages,referrer:t.referrer}},t.prototype.initAllowPostMessageOrigin=function(t){return void 0===t&&(t=Object(f.b)("shareTargetPicker")),Object(o.m)(t)},t.prototype.initOtt=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e,n;return Object(r.d)(this,(function(r){switch(r.label){case 0:return this.abortController&&(t=this.abortController.signal),e=Object(f.b)("shareTargetPickerOtt")+"/"+this.liffId+"/ott",n=this,[4,Object(f.a)(e,{method:"GET",signal:t}).then((function(t){return t.ott}))];case 1:return n.ott=r.sent(),[2]}}))}))},t.prototype.prepareAnotherWindow=function(){Object(a.isInClient)()||("ios"!==Object(p.getOS)()||Object(o.p)()?this.popupWindow=window.open("","liffpopup","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):this.popupWindow=window.open())},t.prototype.openAnotherWindow=function(){if(Object(a.isInClient)()&&this.payloadToShareTargetPicker)t=this.liffId,e=this.ott,n=this.payloadToShareTargetPicker,r={liffId:t,ott:e,data:JSON.stringify(n),closeModals:!1},location.href="line://picker?"+o.u.stringify(r);else{if(this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),!this.popupWindow)throw Object(o.j)(i.a);!function(t,e,n){var r={liffId:e,ott:n};t.location.href=Object(f.b)("shareTargetPicker")+"?"+o.u.stringify(r)}(this.popupWindow,this.liffId,this.ott)}var t,e,n,r},t.prototype.initListener=function(){var t,e;Object(a.isInClient)()||(t=this.onReceivedHealthcheck.bind(this),e=this.allowPostMessageOrigin,g(window,"receivedHealthcheck",t,e))},t.prototype.healthCheck=function(){return Object(r.b)(this,void 0,void 0,(function(){var t;return Object(r.d)(this,(function(e){switch(e.label){case 0:if(this.popupWindow&&!this.popupWindow.closed)return[3,7];if(!this.doesWaitForSubwindowResult)return[3,5];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.onCanceled()];case 2:return e.sent(),[3,4];case 3:return t=e.sent(),this.internalError=t,[3,4];case 4:return[3,6];case 5:this.finalize(),e.label=6;case 6:return[3,8];case 7:b(this.popupWindow,"healthcheck",void 0,this.allowPostMessageOrigin),this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),e.label=8;case 8:return[2]}}))}))},t.prototype.onReceivedHealthcheck=function(){if(!this.popupWindow||!this.payloadToShareTargetPicker)throw Object(o.j)(i.a);b(this.popupWindow,"ready",this.payloadToShareTargetPicker,this.allowPostMessageOrigin)},t.prototype.onCanceled=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(Object(a.isInClient)()||!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(t=this.abortController.signal),e={liffId:this.liffId,ott:this.ott},[4,Object(f.a)(Object(f.b)("shareTargetPickerResult")+"?"+o.u.stringify(e),{method:"POST",signal:t,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},body:"result=CANCEL"})];case 1:return[2,"ok"===n.sent().status]}}))}))},t.prototype.getShareResult=function(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){if(!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(t=this.abortController.signal),e={liffId:this.liffId,ott:this.ott},d.a.debug("fetch: getShareResult"),[2,Object(f.a)(Object(f.b)("shareTargetPickerResult")+"?"+o.u.stringify(e),{method:"GET",headers:{Accept:"application/json"},signal:t})]}))}))},t.isPollingTimeOut=function(t,e){return(e-t)/6e4>=10},t.prototype.pollingShareResult=function(){return Object(r.b)(this,void 0,void 0,(function(){var e,n;return Object(r.d)(this,(function(r){switch(r.label){case 0:e=Date.now(),r.label=1;case 1:if(t.isPollingTimeOut(e,Date.now()))return[3,4];if(this.internalError)throw this.internalError;return[4,this.getShareResult()];case 2:if((n=r.sent())&&n.result)switch(n.result){case"SUCCESS":return[2,{status:"success"}];case"CANCEL":return[2];case"FAILURE":default:throw new Error(n.resultDescription)}return[4,new Promise((function(t){setTimeout(t,500)}))];case 3:return r.sent(),[3,1];case 4:throw new Error("Timeout: not finished within 10min")}}))}))},t}();function x(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,d,f,p,_;return Object(r.d)(this,(function(r){switch(r.label){case 0:if(function(){if(Object(h.isSubWindow)())throw Object(o.j)(i.d,"The operation is not allowed in the SubWindow");var t=((Object(s.getContext)()||{}).availability||{}).shareTargetPicker||{},e=t.permission,n=t.minVer;if(!e)throw Object(a.isInClient)()?Object(o.j)(i.d,"Need LINE App "+n+" at least or consent on shareTargetPicker usage on LINE developer site"):Object(o.j)(i.d,"Need consent on shareTargetPicker usage on LINE developer site")}(),!Object(u.isLoggedIn)())throw Object(o.j)(i.y,"Need access_token for api call, Please login first");if(!t||!Array.isArray(t)||0===t.length)throw Object(o.j)(i.f,"no proper argument");if(t.length>i.j)throw Object(o.j)(i.f,"exceed the limit of num of messages");if(!(e=Object(s.getConfig)().liffId))throw Object(o.j)(i.g);window.liff&&(n=window.liff).analytics&&Object(c.sendShareTargetPicker)(n.analytics),r.label=1;case 1:return r.trys.push([1,3,,4]),d=w.getInstance(),f=Object(l.getLineVersion)(),p={waitForSubwindowResult:!0},Object(a.isInClient)()&&f&&Object(o.e)(f,"10.11.0")<0&&(p.waitForSubwindowResult=!1),[4,d.init({messages:t,referrer:{liffId:e,url:location.origin},options:p})];case 2:return[2,r.sent()];case 3:throw(_=r.sent())instanceof o.b?_:Object(o.j)(i.c,_.message);case 4:return[2]}}))}))}},"6yG2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRandomBytes",{enumerable:!0,get:function(){return r.getRandomBytes}}),Object.defineProperty(e,"getRandomAsciiString",{enumerable:!0,get:function(){return r.getRandomAsciiString}}),Object.defineProperty(e,"getRandomString",{enumerable:!0,get:function(){return r.getRandomString}}),Object.defineProperty(e,"getRandomSampledString",{enumerable:!0,get:function(){return r.getRandomSampledString}}),e.default=void 0;var r=n("27bB"),i={getRandomBytes:r.getRandomBytes,getRandomAsciiString:r.getRandomAsciiString,getRandomString:r.getRandomString,getRandomSampledString:r.getRandomSampledString};e.default=i},"71kK":function(t,e,n){"use strict";var r=n("ovh1");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},"794S":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},"7D2V":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("TiKg"))},"7ZyU":function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB"),o=i.getNAF,s=i.getJSF,a=i.assert;function u(t,e){this.type=t,this.p=new r(e.p,16),this.red=e.prime?r.red(e.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=e.n&&new r(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(t,e){a(t.precomputed);var n=t._getDoubles(),r=o(e,1,this._bitLength),i=(1<=s;h--)u=(u<<1)+r[h];c.push(u)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),f=i;f>0;f--){for(s=0;s=0;c--){for(var h=0;c>=0&&0===s[c];c--)h++;if(c>=0&&h++,u=u.dblp(h),c<0)break;var l=s[c];a(0!==l),u="affine"===t.type?l>0?u.mixedAdd(i[l-1>>1]):u.mixedAdd(i[-l-1>>1].neg()):l>0?u.add(i[l-1>>1]):u.add(i[-l-1>>1].neg())}return"affine"===t.type?u.toP():u},u.prototype._wnafMulAdd=function(t,e,n,r,i){var a,u,c,h=this._wnafT1,l=this._wnafT2,d=this._wnafT3,f=0;for(a=0;a=1;a-=2){var _=a-1,m=a;if(1===h[_]&&1===h[m]){var y=[e[_],null,null,e[m]];0===e[_].y.cmp(e[m].y)?(y[1]=e[_].add(e[m]),y[2]=e[_].toJ().mixedAdd(e[m].neg())):0===e[_].y.cmp(e[m].y.redNeg())?(y[1]=e[_].toJ().mixedAdd(e[m]),y[2]=e[_].add(e[m].neg())):(y[1]=e[_].toJ().mixedAdd(e[m]),y[2]=e[_].toJ().mixedAdd(e[m].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],b=s(n[_],n[m]);for(f=Math.max(b[0].length,f),d[_]=new Array(f),d[m]=new Array(f),u=0;u=0;a--){for(var S=0;a>=0;){var T=!0;for(u=0;u=0&&S++,x=x.dblp(S),a<0)break;for(u=0;u0?c=l[u][A-1>>1]:A<0&&(c=l[u][-A-1>>1].neg()),x="affine"===c.type?x.mixedAdd(c):x.add(c))}}for(a=0;a=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i2&&void 0!==arguments[2]&&arguments[2];if(Object.keys(s.default.namedCurves).indexOf(t.crv)<0)throw new Error("UnsupportedCurve");var r=(0,a.fromJwk)(t,{outputFormat:"binary",outputPublic:!0,compact:n}),i=s.default.publicKeyAlgorithms.EC.oid,o={unused:0,data:Array.from(r)},h=u.encode({type:"namedCurve",value:s.default.namedCurves[t.crv].oid},"der"),l={algorithm:i,parameters:h},d={};if("public"===e)d.subjectPublicKey=o,d.algorithm=l;else if("private"===e){var f=(0,a.fromJwk)(t,{outputFormat:"binary",outputPublic:!1,compact:n});d.version=0,d.privateKeyAlgorithm=l,d.privateKey=c.encode({version:1,privateKey:Array.from(f),parameters:h,publicKey:o},"der")}return d};e.toJWK=function(t,e){if("public"===e){t.algorithm.parameters=u.decode(t.algorithm.parameters,"der");var n=new Uint8Array(t.subjectPublicKey.data),r=(0,s.getAlgorithmFromOid)(t.algorithm.parameters.value,s.default.namedCurves);if(r.length<1)throw new Error("UnsupportedCurve");return(0,a.toJwk)(n,r[0],{outputPublic:!0})}if("private"===e){t.privateKeyAlgorithm.parameters=u.decode(t.privateKeyAlgorithm.parameters,"der");try{t.privateKey=c.decode(t.privateKey,"der")}catch(e){t.privateKey=h.decode(t.privateKey,"der")}var i=new Uint8Array(t.privateKey.privateKey),o=(0,s.getAlgorithmFromOid)(t.privateKeyAlgorithm.parameters.value,s.default.namedCurves);if(o.length<1)throw new Error("UnsupportedCurve");return(0,a.toJwk)(i,o[0],{outputPublic:!1})}};var u=o.default.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),c=o.default.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().any(),this.key("publicKey").explicit(1).optional().bitstr())})),h=o.default.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("publicKey").explicit(1).optional().bitstr())}))},"8J7P":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.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(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(n("TiKg"))},"8Sms":function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwk=e.fromJwk=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("8ImE")),u=r(n("cQcr")),c=r(n("omOp")),h=i(n("SDgz")),l=i(n("qykS")),d=n("zYJ4"),f=n("yRLl"),p=n("srdS"),_=l.default.Buffer,m=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,c,l,_,m,y,v;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.outputPublic,s=r.compact,c=void 0!==s&&s,l=r.encOptions,_=(0,p.getJwkType)(e),m="boolean"==typeof i&&i?"public":_,"EC"===e.kty?y=a.fromJWK(e,m,c):"RSA"===e.kty&&(y=u.fromJwk(e,m)),"public"!==m){t.next=8;break}v=d.SubjectPublicKeyInfo.encode(y,"der"),t.next=14;break;case 8:if(v=d.OneAsymmetricKey.encode(y,"der"),!(void 0!==l.passphrase&&l.passphrase.length>0)){t.next=14;break}return t.next=12,(0,f.encryptEncryptedPrivateKeyInfo)(v,l);case 12:v=t.sent,m="encryptedPrivate";case 14:return v=new Uint8Array(v),t.abrupt("return","pem"===n?h.default.formatter.binToPem(v,m):v);case 16:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.fromJwk=m;var y=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,p,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=r.outputPublic,s=r.passphrase,l="pem"===n?h.default.formatter.pemToBin(e):e,t.prev=2,p=d.KeyStructure.decode(_.from(l),"der"),t.next=9;break;case 6:throw t.prev=6,t.t0=t.catch(2),new Error("FailedToDecodeKey");case 9:if("subjectPublicKeyInfo"!==p.type){t.next=14;break}m="public",p=p.value,t.next=26;break;case 14:if(m="boolean"==typeof i&&i?"public":"private","encryptedPrivateKeyInfo"!==p.type){t.next=21;break}return t.next=18,(0,f.decryptEncryptedPrivateKeyInfo)(p.value,s);case 18:p=t.sent,t.next=26;break;case 21:if("oneAsymmetricKey"!==p.type){t.next=25;break}p=p.value,t.next=26;break;case 25:throw new Error("UnsupportedKeyStructure");case 26:if(!((y=(0,c.getAlgorithmFromOid)("public"===m?p.algorithm.algorithm:p.privateKeyAlgorithm.algorithm,c.default.publicKeyAlgorithms)).length<1)){t.next=29;break}throw new Error("UnsupportedKey");case 29:if("EC"!==y[0]){t.next=33;break}return t.abrupt("return",a.toJWK(p,m));case 33:if("RSA"!==y[0]){t.next=37;break}return t.abrupt("return",u.toJwk(p,m));case 37:throw new Error("InvalidKeyType");case 38:case"end":return t.stop()}}),t,null,[[2,6]])})));return function(e,n,r){return t.apply(this,arguments)}}();e.toJwk=y},"8VmE":function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e>>24]^h[p>>>16&255]^l[_>>>8&255]^d[255&m]^e[y++],s=c[p>>>24]^h[_>>>16&255]^l[m>>>8&255]^d[255&f]^e[y++],a=c[_>>>24]^h[m>>>16&255]^l[f>>>8&255]^d[255&p]^e[y++],u=c[m>>>24]^h[f>>>16&255]^l[p>>>8&255]^d[255&_]^e[y++],f=o,p=s,_=a,m=u;return o=(r[f>>>24]<<24|r[p>>>16&255]<<16|r[_>>>8&255]<<8|r[255&m])^e[y++],s=(r[p>>>24]<<24|r[_>>>16&255]<<16|r[m>>>8&255]<<8|r[255&f])^e[y++],a=(r[_>>>24]<<24|r[m>>>16&255]<<16|r[f>>>8&255]<<8|r[255&p])^e[y++],u=(r[m>>>24]<<24|r[f>>>16&255]<<16|r[p>>>8&255]<<8|r[255&_])^e[y++],[o>>>=0,s>>>=0,a>>>=0,u>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,u=0;u<256;++u){var c=a^a<<1^a<<2^a<<3^a<<4;c=c>>>8^255&c^99,n[s]=c,r[c]=s;var h=t[s],l=t[h],d=t[l],f=257*t[c]^16843008*c;i[0][s]=f<<24|f>>>8,i[1][s]=f<<16|f>>>16,i[2][s]=f<<8|f>>>24,i[3][s]=f,f=16843009*d^65537*l^257*h^16843008*s,o[0][c]=f<<24|f>>>8,o[1][c]=f<<16|f>>>16,o[2][c]=f<<8|f>>>24,o[3][c]=f,0===s?s=a=1:(s=h^t[t[t[d^h]]],a^=t[t[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,n=e+6,r=4*(n+1),i=[],o=0;o>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=a[o/e|0]<<24):e>6&&o%e==4&&(s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]),i[o]=i[o-e]^s}for(var c=[],h=0;h>>24]]^u.INV_SUB_MIX[1][u.SBOX[d>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[d>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return s(t=i(t),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),n=r.allocUnsafe(16);return n.writeUInt32BE(e[0],0),n.writeUInt32BE(e[1],4),n.writeUInt32BE(e[2],8),n.writeUInt32BE(e[3],12),n},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var n=s(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},"8kJ5":function(t,e,n){(function(t){!function(t,e){"use strict";function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var s;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{s=n(3).Buffer}catch(t){}function a(t,e,n){for(var i=0,o=Math.min(t.length,n),s=0,a=e;a=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,s|=u}return r(!(240&s),"Invalid character in "+t),i}function u(t,e,n,i){for(var o=0,s=0,a=Math.min(t.length,n),u=e;u=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&s"}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=6)i=a(t,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=a(t,e,n+6),this.words[r]|=i<>>26-o&4194303),this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,s=o%r,a=Math.min(o,o-s)+n,c=0,h=n;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h:o.prototype.inspect=h;var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,s=0;s>>24-i&16777215)||s!==this.length-1?l[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],h=f[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var _=p.modrn(h).toString(t);n=(p=p.idivn(h)).isZero()?_+n:l[c-_.length]+_+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var c=1;c>>26,l=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;h+=(s=(i=0|t.words[p])*(o=0|e.words[f])+l)/67108864|0,l=67108863&s}n.words[c]=0|l,u=0|h}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n=0&&(t[n--]=s>>8&255),n>=0&&(t[n--]=s>>16&255),6===o?(n>=0&&(t[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&e;for(;0!==o&&s>26,this.words[s]=67108863&e;if(0===o&&s>>13,f=0|s[1],p=8191&f,_=f>>>13,m=0|s[2],y=8191&m,v=m>>>13,b=0|s[3],g=8191&b,w=b>>>13,x=0|s[4],M=8191&x,S=x>>>13,T=0|s[5],A=8191&T,E=T>>>13,L=0|s[6],D=8191&L,C=L>>>13,k=0|s[7],O=8191&k,I=k>>>13,P=0|s[8],R=8191&P,Y=P>>>13,B=0|s[9],N=8191&B,j=B>>>13,F=0|a[0],U=8191&F,G=F>>>13,H=0|a[1],V=8191&H,z=H>>>13,W=0|a[2],X=8191&W,J=W>>>13,K=0|a[3],q=8191&K,$=K>>>13,Z=0|a[4],Q=8191&Z,tt=Z>>>13,et=0|a[5],nt=8191&et,rt=et>>>13,it=0|a[6],ot=8191&it,st=it>>>13,at=0|a[7],ut=8191&at,ct=at>>>13,ht=0|a[8],lt=8191&ht,dt=ht>>>13,ft=0|a[9],pt=8191&ft,_t=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var mt=(c+(r=Math.imul(l,U))|0)+((8191&(i=(i=Math.imul(l,G))+Math.imul(d,U)|0))<<13)|0;c=((o=Math.imul(d,G))+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(p,U),i=(i=Math.imul(p,G))+Math.imul(_,U)|0,o=Math.imul(_,G);var yt=(c+(r=r+Math.imul(l,V)|0)|0)+((8191&(i=(i=i+Math.imul(l,z)|0)+Math.imul(d,V)|0))<<13)|0;c=((o=o+Math.imul(d,z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,U),i=(i=Math.imul(y,G))+Math.imul(v,U)|0,o=Math.imul(v,G),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,z)|0)+Math.imul(_,V)|0,o=o+Math.imul(_,z)|0;var vt=(c+(r=r+Math.imul(l,X)|0)|0)+((8191&(i=(i=i+Math.imul(l,J)|0)+Math.imul(d,X)|0))<<13)|0;c=((o=o+Math.imul(d,J)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(g,U),i=(i=Math.imul(g,G))+Math.imul(w,U)|0,o=Math.imul(w,G),r=r+Math.imul(y,V)|0,i=(i=i+Math.imul(y,z)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,z)|0,r=r+Math.imul(p,X)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,J)|0;var bt=(c+(r=r+Math.imul(l,q)|0)|0)+((8191&(i=(i=i+Math.imul(l,$)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,G))+Math.imul(S,U)|0,o=Math.imul(S,G),r=r+Math.imul(g,V)|0,i=(i=i+Math.imul(g,z)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,z)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,J)|0)+Math.imul(v,X)|0,o=o+Math.imul(v,J)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(_,q)|0,o=o+Math.imul(_,$)|0;var gt=(c+(r=r+Math.imul(l,Q)|0)|0)+((8191&(i=(i=i+Math.imul(l,tt)|0)+Math.imul(d,Q)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(A,U),i=(i=Math.imul(A,G))+Math.imul(E,U)|0,o=Math.imul(E,G),r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,z)|0)+Math.imul(S,V)|0,o=o+Math.imul(S,z)|0,r=r+Math.imul(g,X)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,J)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,$)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,tt)|0;var wt=(c+(r=r+Math.imul(l,nt)|0)|0)+((8191&(i=(i=i+Math.imul(l,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(D,U),i=(i=Math.imul(D,G))+Math.imul(C,U)|0,o=Math.imul(C,G),r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,z)|0)+Math.imul(E,V)|0,o=o+Math.imul(E,z)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,J)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,J)|0,r=r+Math.imul(g,q)|0,i=(i=i+Math.imul(g,$)|0)+Math.imul(w,q)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(_,nt)|0,o=o+Math.imul(_,rt)|0;var xt=(c+(r=r+Math.imul(l,ot)|0)|0)+((8191&(i=(i=i+Math.imul(l,st)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,st)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(O,U),i=(i=Math.imul(O,G))+Math.imul(I,U)|0,o=Math.imul(I,G),r=r+Math.imul(D,V)|0,i=(i=i+Math.imul(D,z)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,z)|0,r=r+Math.imul(A,X)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(E,X)|0,o=o+Math.imul(E,J)|0,r=r+Math.imul(M,q)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(g,Q)|0,i=(i=i+Math.imul(g,tt)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,st)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,st)|0;var Mt=(c+(r=r+Math.imul(l,ut)|0)|0)+((8191&(i=(i=i+Math.imul(l,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,G))+Math.imul(Y,U)|0,o=Math.imul(Y,G),r=r+Math.imul(O,V)|0,i=(i=i+Math.imul(O,z)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,z)|0,r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,J)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(A,q)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(E,q)|0,o=o+Math.imul(E,$)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,r=r+Math.imul(g,nt)|0,i=(i=i+Math.imul(g,rt)|0)+Math.imul(w,nt)|0,o=o+Math.imul(w,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,st)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,st)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0;var St=(c+(r=r+Math.imul(l,lt)|0)|0)+((8191&(i=(i=i+Math.imul(l,dt)|0)+Math.imul(d,lt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(N,U),i=(i=Math.imul(N,G))+Math.imul(j,U)|0,o=Math.imul(j,G),r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,z)|0)+Math.imul(Y,V)|0,o=o+Math.imul(Y,z)|0,r=r+Math.imul(O,X)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(D,q)|0,i=(i=i+Math.imul(D,$)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,$)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,tt)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,tt)|0,r=r+Math.imul(M,nt)|0,i=(i=i+Math.imul(M,rt)|0)+Math.imul(S,nt)|0,o=o+Math.imul(S,rt)|0,r=r+Math.imul(g,ot)|0,i=(i=i+Math.imul(g,st)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,st)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,lt)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(_,lt)|0,o=o+Math.imul(_,dt)|0;var Tt=(c+(r=r+Math.imul(l,pt)|0)|0)+((8191&(i=(i=i+Math.imul(l,_t)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,_t)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(N,V),i=(i=Math.imul(N,z))+Math.imul(j,V)|0,o=Math.imul(j,z),r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,J)|0)+Math.imul(Y,X)|0,o=o+Math.imul(Y,J)|0,r=r+Math.imul(O,q)|0,i=(i=i+Math.imul(O,$)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,$)|0,r=r+Math.imul(D,Q)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(C,Q)|0,o=o+Math.imul(C,tt)|0,r=r+Math.imul(A,nt)|0,i=(i=i+Math.imul(A,rt)|0)+Math.imul(E,nt)|0,o=o+Math.imul(E,rt)|0,r=r+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,st)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,st)|0,r=r+Math.imul(g,ut)|0,i=(i=i+Math.imul(g,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,r=r+Math.imul(y,lt)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,lt)|0,o=o+Math.imul(v,dt)|0;var At=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,_t)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,_t)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(N,X),i=(i=Math.imul(N,J))+Math.imul(j,X)|0,o=Math.imul(j,J),r=r+Math.imul(R,q)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(Y,q)|0,o=o+Math.imul(Y,$)|0,r=r+Math.imul(O,Q)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,r=r+Math.imul(D,nt)|0,i=(i=i+Math.imul(D,rt)|0)+Math.imul(C,nt)|0,o=o+Math.imul(C,rt)|0,r=r+Math.imul(A,ot)|0,i=(i=i+Math.imul(A,st)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,st)|0,r=r+Math.imul(M,ut)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,r=r+Math.imul(g,lt)|0,i=(i=i+Math.imul(g,dt)|0)+Math.imul(w,lt)|0,o=o+Math.imul(w,dt)|0;var Et=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,_t)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,_t)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(N,q),i=(i=Math.imul(N,$))+Math.imul(j,q)|0,o=Math.imul(j,$),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(Y,Q)|0,o=o+Math.imul(Y,tt)|0,r=r+Math.imul(O,nt)|0,i=(i=i+Math.imul(O,rt)|0)+Math.imul(I,nt)|0,o=o+Math.imul(I,rt)|0,r=r+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,st)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,st)|0,r=r+Math.imul(A,ut)|0,i=(i=i+Math.imul(A,ct)|0)+Math.imul(E,ut)|0,o=o+Math.imul(E,ct)|0,r=r+Math.imul(M,lt)|0,i=(i=i+Math.imul(M,dt)|0)+Math.imul(S,lt)|0,o=o+Math.imul(S,dt)|0;var Lt=(c+(r=r+Math.imul(g,pt)|0)|0)+((8191&(i=(i=i+Math.imul(g,_t)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,_t)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(N,Q),i=(i=Math.imul(N,tt))+Math.imul(j,Q)|0,o=Math.imul(j,tt),r=r+Math.imul(R,nt)|0,i=(i=i+Math.imul(R,rt)|0)+Math.imul(Y,nt)|0,o=o+Math.imul(Y,rt)|0,r=r+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,st)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,st)|0,r=r+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(C,ut)|0,o=o+Math.imul(C,ct)|0,r=r+Math.imul(A,lt)|0,i=(i=i+Math.imul(A,dt)|0)+Math.imul(E,lt)|0,o=o+Math.imul(E,dt)|0;var Dt=(c+(r=r+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,_t)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,_t)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,r=Math.imul(N,nt),i=(i=Math.imul(N,rt))+Math.imul(j,nt)|0,o=Math.imul(j,rt),r=r+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,st)|0)+Math.imul(Y,ot)|0,o=o+Math.imul(Y,st)|0,r=r+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(I,ut)|0,o=o+Math.imul(I,ct)|0,r=r+Math.imul(D,lt)|0,i=(i=i+Math.imul(D,dt)|0)+Math.imul(C,lt)|0,o=o+Math.imul(C,dt)|0;var Ct=(c+(r=r+Math.imul(A,pt)|0)|0)+((8191&(i=(i=i+Math.imul(A,_t)|0)+Math.imul(E,pt)|0))<<13)|0;c=((o=o+Math.imul(E,_t)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(N,ot),i=(i=Math.imul(N,st))+Math.imul(j,ot)|0,o=Math.imul(j,st),r=r+Math.imul(R,ut)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(Y,ut)|0,o=o+Math.imul(Y,ct)|0,r=r+Math.imul(O,lt)|0,i=(i=i+Math.imul(O,dt)|0)+Math.imul(I,lt)|0,o=o+Math.imul(I,dt)|0;var kt=(c+(r=r+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,_t)|0)+Math.imul(C,pt)|0))<<13)|0;c=((o=o+Math.imul(C,_t)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(N,ut),i=(i=Math.imul(N,ct))+Math.imul(j,ut)|0,o=Math.imul(j,ct),r=r+Math.imul(R,lt)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(Y,lt)|0,o=o+Math.imul(Y,dt)|0;var Ot=(c+(r=r+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,_t)|0)+Math.imul(I,pt)|0))<<13)|0;c=((o=o+Math.imul(I,_t)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(N,lt),i=(i=Math.imul(N,dt))+Math.imul(j,lt)|0,o=Math.imul(j,dt);var It=(c+(r=r+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,_t)|0)+Math.imul(Y,pt)|0))<<13)|0;c=((o=o+Math.imul(Y,_t)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863;var Pt=(c+(r=Math.imul(N,pt))|0)+((8191&(i=(i=Math.imul(N,_t))+Math.imul(j,pt)|0))<<13)|0;return c=((o=Math.imul(j,_t))+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,u[0]=mt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=gt,u[5]=wt,u[6]=xt,u[7]=Mt,u[8]=St,u[9]=Tt,u[10]=At,u[11]=Et,u[12]=Lt,u[13]=Dt,u[14]=Ct,u[15]=kt,u[16]=Ot,u[17]=It,u[18]=Pt,0!==c&&(u[19]=c,n.length++),n};function m(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return m(t,e,n)}function v(t,e){this.x=t,this.y=e}Math.imul||(_=p),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?_(this,t,e):n<63?p(this,t,e):n<1024?m(this,t,e):y(this,t,e)},v.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},v.prototype.permute=function(t,e,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*e;s>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(e=0;e>>26-n}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,s=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,c=0;c=0&&(0!==h||c>=i);c--){var l=0|this.words[c];this.words[c]=h<<26-o|l>>>o,h=l&a}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,u=r.length-i.length;if("mod"!==e){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var c=0;c=0;l--){var d=67108864*(0|r.words[i.length+l])+(0|r.words[i.length+l-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,l);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,l),r.isZero()||(r.negative^=1);a&&(a.words[l]=d)}return a&&a._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var h=n.clone(),l=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(h),s.isub(l)),i.iushrn(1),s.iushrn(1);for(var p=0,_=1;0==(n.words[0]&_)&&p<26;++p,_<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(h),u.isub(l)),a.iushrn(1),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(a),s.isub(u)):(n.isub(e),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new o(1),a=new o(0),u=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,h=1;0==(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var l=0,d=1;0==(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);e.cmp(n)>=0?(e.isub(n),s.isub(a)):(n.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new T(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function T(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function A(t){T.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(w,g),w.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r>>22,i=o}i>>>=22,t.words[r-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new x;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return b[t]=e,e},T.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},T.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},T.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},T.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},T.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},T.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},T.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},T.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},T.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},T.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},T.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},T.prototype.isqr=function(t){return this.imul(t,t.clone())},T.prototype.sqr=function(t){return this.mul(t,t)},T.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var l=this.pow(h,i),d=this.pow(t,i.addn(1).iushrn(1)),f=this.pow(t,i),p=s;0!==f.cmp(a);){for(var _=f,m=0;0!==_.cmp(a);m++)_=_.redSqr();r(m=0;r--){for(var c=e.words[r],h=u-1;h>=0;h--){var l=c>>h&1;i!==n[0]&&(i=this.sqr(i)),0!==l||0!==s?(s<<=1,s|=l,(4===++a||0===r&&0===h)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}u=26}return i},T.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},T.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new A(t)},i(A,T),A.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},A.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},A.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},A.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n("RoC8")(t))},"8wa+":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},"9G7C":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return t},week:{dow:1,doy:4}})}(n("TiKg"))},"9dER":function(t,e,n){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=n("bPso"),e.createHash=e.Hash=n("+oaW"),e.createHmac=e.Hmac=n("cXWM");var r=n("G2uu"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var s=n("hnK/");e.pbkdf2=s.pbkdf2,e.pbkdf2Sync=s.pbkdf2Sync;var a=n("QEnC");e.Cipher=a.Cipher,e.createCipher=a.createCipher,e.Cipheriv=a.Cipheriv,e.createCipheriv=a.createCipheriv,e.Decipher=a.Decipher,e.createDecipher=a.createDecipher,e.Decipheriv=a.Decipheriv,e.createDecipheriv=a.createDecipheriv,e.getCiphers=a.getCiphers,e.listCiphers=a.listCiphers;var u=n("C1tN");e.DiffieHellmanGroup=u.DiffieHellmanGroup,e.createDiffieHellmanGroup=u.createDiffieHellmanGroup,e.getDiffieHellman=u.getDiffieHellman,e.createDiffieHellman=u.createDiffieHellman,e.DiffieHellman=u.DiffieHellman;var c=n("Z+yf");e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=n("Q6g+");var h=n("kmpK");e.publicEncrypt=h.publicEncrypt,e.privateEncrypt=h.privateEncrypt,e.publicDecrypt=h.publicDecrypt,e.privateDecrypt=h.privateDecrypt;var l=n("L2gJ");e.randomFill=l.randomFill,e.randomFillSync=l.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"9hTT":function(t,e,n){"use strict";n.r(e),n.d(e,"getProfile",(function(){return i}));var r=n("2q8S");function i(){return Object(r.a)(Object(r.b)("profile"))}},"9o/V":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<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("TiKg"))},"9va6":function(t,e,n){(function(t,r){var i; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o="Expected a function",s="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",c="[object Array]",h="[object Boolean]",l="[object Date]",d="[object Error]",f="[object Function]",p="[object GeneratorFunction]",_="[object Map]",m="[object Number]",y="[object Object]",v="[object RegExp]",b="[object Set]",g="[object String]",w="[object Symbol]",x="[object WeakMap]",M="[object ArrayBuffer]",S="[object DataView]",T="[object Float32Array]",A="[object Float64Array]",E="[object Int8Array]",L="[object Int16Array]",D="[object Int32Array]",C="[object Uint8Array]",k="[object Uint16Array]",O="[object Uint32Array]",I=/\b__p \+= '';/g,P=/\b(__p \+=) '' \+/g,R=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,B=/[&<>"']/g,N=RegExp(Y.source),j=RegExp(B.source),F=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,G=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,X=RegExp(W.source),J=/^\s+/,K=/\s/,q=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,it=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,st=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,ut=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ht=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ft="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="[\\ud800-\\udfff]",_t="["+ft+"]",mt="["+dt+"]",yt="\\d+",vt="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+ft+yt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wt="\\ud83c[\\udffb-\\udfff]",xt="[^\\ud800-\\udfff]",Mt="(?:\\ud83c[\\udde6-\\uddff]){2}",St="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",At="(?:"+bt+"|"+gt+")",Et="(?:"+Tt+"|"+gt+")",Lt="(?:"+mt+"|"+wt+")"+"?",Dt="[\\ufe0e\\ufe0f]?"+Lt+("(?:\\u200d(?:"+[xt,Mt,St].join("|")+")[\\ufe0e\\ufe0f]?"+Lt+")*"),Ct="(?:"+[vt,Mt,St].join("|")+")"+Dt,kt="(?:"+[xt+mt+"?",mt,Mt,St,pt].join("|")+")",Ot=RegExp("['’]","g"),It=RegExp(mt,"g"),Pt=RegExp(wt+"(?="+wt+")|"+kt+Dt,"g"),Rt=RegExp([Tt+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[_t,Tt,"$"].join("|")+")",Et+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[_t,Tt+At,"$"].join("|")+")",Tt+"?"+At+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Tt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",yt,Ct].join("|"),"g"),Yt=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jt=-1,Ft={};Ft[T]=Ft[A]=Ft[E]=Ft[L]=Ft[D]=Ft[C]=Ft["[object Uint8ClampedArray]"]=Ft[k]=Ft[O]=!0,Ft[u]=Ft[c]=Ft[M]=Ft[h]=Ft[S]=Ft[l]=Ft[d]=Ft[f]=Ft[_]=Ft[m]=Ft[y]=Ft[v]=Ft[b]=Ft[g]=Ft[x]=!1;var Ut={};Ut[u]=Ut[c]=Ut[M]=Ut[S]=Ut[h]=Ut[l]=Ut[T]=Ut[A]=Ut[E]=Ut[L]=Ut[D]=Ut[_]=Ut[m]=Ut[y]=Ut[v]=Ut[b]=Ut[g]=Ut[w]=Ut[C]=Ut["[object Uint8ClampedArray]"]=Ut[k]=Ut[O]=!0,Ut[d]=Ut[f]=Ut[x]=!1;var Gt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ht=parseFloat,Vt=parseInt,zt="object"==typeof t&&t&&t.Object===Object&&t,Wt="object"==typeof self&&self&&self.Object===Object&&self,Xt=zt||Wt||Function("return this")(),Jt=e&&!e.nodeType&&e,Kt=Jt&&"object"==typeof r&&r&&!r.nodeType&&r,qt=Kt&&Kt.exports===Jt,$t=qt&&zt.process,Zt=function(){try{var t=Kt&&Kt.require&&Kt.require("util").types;return t||$t&&$t.binding&&$t.binding("util")}catch(t){}}(),Qt=Zt&&Zt.isArrayBuffer,te=Zt&&Zt.isDate,ee=Zt&&Zt.isMap,ne=Zt&&Zt.isRegExp,re=Zt&&Zt.isSet,ie=Zt&&Zt.isTypedArray;function oe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function se(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function de(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function Re(t,e){for(var n=t.length;n--&&we(e,t[n],0)>-1;);return n}function Ye(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Be=Ae({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ne=Ae({"&":"&","<":"<",">":">",'"':""","'":"'"});function je(t){return"\\"+Gt[t]}function Fe(t){return Yt.test(t)}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Ge(t,e){return function(n){return t(e(n))}}function He(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var qe=function t(e){var n,r=(e=null==e?Xt:qe.defaults(Xt.Object(),e,qe.pick(Xt,Nt))).Array,i=e.Date,K=e.Error,dt=e.Function,ft=e.Math,pt=e.Object,_t=e.RegExp,mt=e.String,yt=e.TypeError,vt=r.prototype,bt=dt.prototype,gt=pt.prototype,wt=e["__core-js_shared__"],xt=bt.toString,Mt=gt.hasOwnProperty,St=0,Tt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",At=gt.toString,Et=xt.call(pt),Lt=Xt._,Dt=_t("^"+xt.call(Mt).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ct=qt?e.Buffer:void 0,kt=e.Symbol,Pt=e.Uint8Array,Yt=Ct?Ct.allocUnsafe:void 0,Gt=Ge(pt.getPrototypeOf,pt),zt=pt.create,Wt=gt.propertyIsEnumerable,Jt=vt.splice,Kt=kt?kt.isConcatSpreadable:void 0,$t=kt?kt.iterator:void 0,Zt=kt?kt.toStringTag:void 0,ve=function(){try{var t=to(pt,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ae=e.clearTimeout!==Xt.clearTimeout&&e.clearTimeout,$e=i&&i.now!==Xt.Date.now&&i.now,Ze=e.setTimeout!==Xt.setTimeout&&e.setTimeout,Qe=ft.ceil,tn=ft.floor,en=pt.getOwnPropertySymbols,nn=Ct?Ct.isBuffer:void 0,rn=e.isFinite,on=vt.join,sn=Ge(pt.keys,pt),an=ft.max,un=ft.min,cn=i.now,hn=e.parseInt,ln=ft.random,dn=vt.reverse,fn=to(e,"DataView"),pn=to(e,"Map"),_n=to(e,"Promise"),mn=to(e,"Set"),yn=to(e,"WeakMap"),vn=to(pt,"create"),bn=yn&&new yn,gn={},wn=Lo(fn),xn=Lo(pn),Mn=Lo(_n),Sn=Lo(mn),Tn=Lo(yn),An=kt?kt.prototype:void 0,En=An?An.valueOf:void 0,Ln=An?An.toString:void 0;function Dn(t){if(zs(t)&&!Ps(t)&&!(t instanceof In)){if(t instanceof On)return t;if(Mt.call(t,"__wrapped__"))return Do(t)}return new On(t)}var Cn=function(){function t(){}return function(e){if(!Vs(e))return{};if(zt)return zt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function kn(){}function On(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function In(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function $n(t,e,n,r,i,o){var s,a=1&e,c=2&e,d=4&e;if(n&&(s=i?n(t,r,i,o):n(t)),void 0!==s)return s;if(!Vs(t))return t;var x=Ps(t);if(x){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Mt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!a)return vi(t,s)}else{var I=ro(t),P=I==f||I==p;if(Ns(t))return di(t,a);if(I==y||I==u||P&&!i){if(s=c||P?{}:oo(t),!a)return c?function(t,e){return bi(t,no(t),e)}(t,function(t,e){return t&&bi(e,xa(e),t)}(s,t)):function(t,e){return bi(t,eo(t),e)}(t,Xn(s,t))}else{if(!Ut[I])return i?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case M:return fi(t);case h:case l:return new r(+t);case S:return function(t,e){var n=e?fi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case T:case A:case E:case L:case D:case C:case"[object Uint8ClampedArray]":case k:case O:return pi(t,n);case _:return new r;case m:case g:return new r(t);case v:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case b:return new r;case w:return i=t,En?pt(En.call(i)):{}}var i}(t,I,a)}}o||(o=new Nn);var R=o.get(t);if(R)return R;o.set(t,s),qs(t)?t.forEach((function(r){s.add($n(r,e,n,r,t,o))})):Ws(t)&&t.forEach((function(r,i){s.set(i,$n(r,e,n,i,t,o))}));var Y=x?void 0:(d?c?Xi:Wi:c?xa:wa)(t);return ae(Y||t,(function(r,i){Y&&(r=t[i=r]),Vn(s,i,$n(r,e,n,i,t,o))})),s}function Zn(t,e,n){var r=n.length;if(null==t)return!r;for(t=pt(t);r--;){var i=n[r],o=e[i],s=t[i];if(void 0===s&&!(i in t)||!o(s))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new yt(o);return wo((function(){t.apply(void 0,n)}),e)}function tr(t,e,n,r){var i=-1,o=le,s=!0,a=t.length,u=[],c=e.length;if(!a)return u;n&&(e=fe(e,ke(n))),r?(o=de,s=!1):e.length>=200&&(o=Ie,s=!1,e=new Bn(e));t:for(;++i-1},Rn.prototype.set=function(t,e){var n=this.__data__,r=zn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(pn||Rn),string:new Pn}},Yn.prototype.delete=function(t){var e=Zi(this,t).delete(t);return this.size-=e?1:0,e},Yn.prototype.get=function(t){return Zi(this,t).get(t)},Yn.prototype.has=function(t){return Zi(this,t).has(t)},Yn.prototype.set=function(t,e){var n=Zi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Bn.prototype.add=Bn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Bn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Rn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Rn){var r=n.__data__;if(!pn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(t,e),this.size=n.size,this};var er=xi(cr),nr=xi(hr,!0);function rr(t,e){var n=!0;return er(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function ir(t,e,n){for(var r=-1,i=t.length;++r0&&n(a)?e>1?sr(a,e-1,n,r,i):pe(i,a):r||(i[i.length]=a)}return i}var ar=Mi(),ur=Mi(!0);function cr(t,e){return t&&ar(t,e,wa)}function hr(t,e){return t&&ur(t,e,wa)}function lr(t,e){return he(e,(function(e){return Us(t[e])}))}function dr(t,e){for(var n=0,r=(e=ui(e,t)).length;null!=t&&ne}function mr(t,e){return null!=t&&Mt.call(t,e)}function yr(t,e){return null!=t&&e in pt(t)}function vr(t,e,n){for(var i=n?de:le,o=t[0].length,s=t.length,a=s,u=r(s),c=1/0,h=[];a--;){var l=t[a];a&&e&&(l=fe(l,ke(e))),c=un(l.length,c),u[a]=!n&&(e||o>=120&&l.length>=120)?new Bn(a&&l):void 0}l=t[0];var d=-1,f=u[0];t:for(;++d=a)return u;var c=n[r];return u*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)}))}function Pr(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)a!==t&&Jt.call(a,u,1),Jt.call(t,u,1);return t}function Yr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;ao(i)?Jt.call(t,i,1):ti(t,i)}}return t}function Br(t,e){return t+tn(ln()*(e-t+1))}function Nr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function jr(t,e){return xo(mo(t,e,Xa),t+"")}function Fr(t){return Fn(Ca(t))}function Ur(t,e){var n=Ca(t);return To(n,qn(e,0,n.length))}function Gr(t,e,n,r){if(!Vs(t))return t;for(var i=-1,o=(e=ui(e,t)).length,s=o-1,a=t;null!=a&&++io?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i>>1,s=t[o];null!==s&&!Zs(s)&&(n?s<=e:s=200){var c=e?null:Ni(t);if(c)return Ve(c);s=!1,i=Ie,u=new Bn}else u=e?[]:a;t:for(;++r=r?t:Wr(t,e,n)}var li=Ae||function(t){return Xt.clearTimeout(t)};function di(t,e){if(e)return t.slice();var n=t.length,r=Yt?Yt(n):new t.constructor(n);return t.copy(r),r}function fi(t){var e=new t.constructor(t.byteLength);return new Pt(e).set(new Pt(t)),e}function pi(t,e){var n=e?fi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function _i(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=Zs(t),s=void 0!==e,a=null===e,u=e==e,c=Zs(e);if(!a&&!c&&!o&&t>e||o&&s&&u&&!a&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,s&&uo(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),e=pt(e);++r-1?i[o?e[s]:s]:void 0}}function Li(t){return zi((function(e){var n=e.length,r=n,i=On.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new yt(o);if(i&&!a&&"wrapper"==Ki(s))var a=new On([],!0)}for(r=a?r:n;++r1&&b.reverse(),l&&ca))return!1;var c=o.get(t),h=o.get(e);if(c&&h)return c==e&&h==t;var l=-1,d=!0,f=2&n?new Bn:void 0;for(o.set(t,e),o.set(e,t);++l-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(q,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ae(a,(function(n){var r="_."+n[0];e&n[1]&&!le(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match($);return e?e[1].split(Z):[]}(r),n)))}function So(t){var e=0,n=0;return function(){var r=cn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function To(t,e){var n=-1,r=t.length,i=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Ko(t,n)}));function ns(t){var e=Dn(t);return e.__chain__=!0,e}function rs(t,e){return e(t)}var is=zi((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Kn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof In&&ao(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:rs,args:[i],thisArg:void 0}),new On(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)}));var os=gi((function(t,e,n){Mt.call(t,n)?++t[n]:Jn(t,n,1)}));var ss=Ei(Io),as=Ei(Po);function us(t,e){return(Ps(t)?ae:er)(t,$i(e,3))}function cs(t,e){return(Ps(t)?ue:nr)(t,$i(e,3))}var hs=gi((function(t,e,n){Mt.call(t,n)?t[n].push(e):Jn(t,n,[e])}));var ls=jr((function(t,e,n){var i=-1,o="function"==typeof e,s=Ys(t)?r(t.length):[];return er(t,(function(t){s[++i]=o?oe(e,t,n):br(t,e,n)})),s})),ds=gi((function(t,e,n){Jn(t,n,e)}));function fs(t,e){return(Ps(t)?fe:Lr)(t,$i(e,3))}var ps=gi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var _s=jr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&uo(t,e[0],e[1])?e=[]:n>2&&uo(e[0],e[1],e[2])&&(e=[e[0]]),Ir(t,sr(e,1),[])})),ms=$e||function(){return Xt.Date.now()};function ys(t,e,n){return e=n?void 0:e,Fi(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function vs(t,e){var n;if("function"!=typeof e)throw new yt(o);return t=ia(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var bs=jr((function(t,e,n){var r=1;if(n.length){var i=He(n,qi(bs));r|=32}return Fi(t,r,e,n,i)})),gs=jr((function(t,e,n){var r=3;if(n.length){var i=He(n,qi(gs));r|=32}return Fi(e,r,t,n,i)}));function ws(t,e,n){var r,i,s,a,u,c,h=0,l=!1,d=!1,f=!0;if("function"!=typeof t)throw new yt(o);function p(e){var n=r,o=i;return r=i=void 0,h=e,a=t.apply(o,n)}function _(t){return h=t,u=wo(y,e),l?p(t):a}function m(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-h>=s}function y(){var t=ms();if(m(t))return v(t);u=wo(y,function(t){var n=e-(t-c);return d?un(n,s-(t-h)):n}(t))}function v(t){return u=void 0,f&&r?p(t):(r=i=void 0,a)}function b(){var t=ms(),n=m(t);if(r=arguments,i=this,c=t,n){if(void 0===u)return _(c);if(d)return li(u),u=wo(y,e),p(c)}return void 0===u&&(u=wo(y,e)),a}return e=sa(e)||0,Vs(n)&&(l=!!n.leading,s=(d="maxWait"in n)?an(sa(n.maxWait)||0,e):s,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==u&&li(u),h=0,r=c=i=u=void 0},b.flush=function(){return void 0===u?a:v(ms())},b}var xs=jr((function(t,e){return Qn(t,1,e)})),Ms=jr((function(t,e,n){return Qn(t,sa(e)||0,n)}));function Ss(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ss.Cache||Yn),n}function Ts(t){if("function"!=typeof t)throw new yt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Ss.Cache=Yn;var As=ci((function(t,e){var n=(e=1==e.length&&Ps(e[0])?fe(e[0],ke($i())):fe(sr(e,1),ke($i()))).length;return jr((function(r){for(var i=-1,o=un(r.length,n);++i=e})),Is=gr(function(){return arguments}())?gr:function(t){return zs(t)&&Mt.call(t,"callee")&&!Wt.call(t,"callee")},Ps=r.isArray,Rs=Qt?ke(Qt):function(t){return zs(t)&&pr(t)==M};function Ys(t){return null!=t&&Hs(t.length)&&!Us(t)}function Bs(t){return zs(t)&&Ys(t)}var Ns=nn||su,js=te?ke(te):function(t){return zs(t)&&pr(t)==l};function Fs(t){if(!zs(t))return!1;var e=pr(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Js(t)}function Us(t){if(!Vs(t))return!1;var e=pr(t);return e==f||e==p||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Gs(t){return"number"==typeof t&&t==ia(t)}function Hs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Vs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function zs(t){return null!=t&&"object"==typeof t}var Ws=ee?ke(ee):function(t){return zs(t)&&ro(t)==_};function Xs(t){return"number"==typeof t||zs(t)&&pr(t)==m}function Js(t){if(!zs(t)||pr(t)!=y)return!1;var e=Gt(t);if(null===e)return!0;var n=Mt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&xt.call(n)==Et}var Ks=ne?ke(ne):function(t){return zs(t)&&pr(t)==v};var qs=re?ke(re):function(t){return zs(t)&&ro(t)==b};function $s(t){return"string"==typeof t||!Ps(t)&&zs(t)&&pr(t)==g}function Zs(t){return"symbol"==typeof t||zs(t)&&pr(t)==w}var Qs=ie?ke(ie):function(t){return zs(t)&&Hs(t.length)&&!!Ft[pr(t)]};var ta=Ri(Er),ea=Ri((function(t,e){return t<=e}));function na(t){if(!t)return[];if(Ys(t))return $s(t)?Xe(t):vi(t);if($t&&t[$t])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[$t]());var e=ro(t);return(e==_?Ue:e==b?Ve:Ca)(t)}function ra(t){return t?(t=sa(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var e=ra(t),n=e%1;return e==e?n?e-n:e:0}function oa(t){return t?qn(ia(t),0,4294967295):0}function sa(t){if("number"==typeof t)return t;if(Zs(t))return NaN;if(Vs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Vs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ce(t);var n=ot.test(t);return n||at.test(t)?Vt(t.slice(2),n?2:8):it.test(t)?NaN:+t}function aa(t){return bi(t,xa(t))}function ua(t){return null==t?"":Zr(t)}var ca=wi((function(t,e){if(fo(e)||Ys(e))bi(e,wa(e),t);else for(var n in e)Mt.call(e,n)&&Vn(t,n,e[n])})),ha=wi((function(t,e){bi(e,xa(e),t)})),la=wi((function(t,e,n,r){bi(e,xa(e),t,r)})),da=wi((function(t,e,n,r){bi(e,wa(e),t,r)})),fa=zi(Kn);var pa=jr((function(t,e){t=pt(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&uo(e[0],e[1],i)&&(r=1);++n1),e})),bi(t,Xi(t),n),r&&(n=$n(n,7,Hi));for(var i=e.length;i--;)ti(n,e[i]);return n}));var Aa=zi((function(t,e){return null==t?{}:function(t,e){return Pr(t,e,(function(e,n){return ya(t,n)}))}(t,e)}));function Ea(t,e){if(null==t)return{};var n=fe(Xi(t),(function(t){return[t]}));return e=$i(e),Pr(t,n,(function(t,n){return e(t,n[0])}))}var La=ji(wa),Da=ji(xa);function Ca(t){return null==t?[]:Oe(t,wa(t))}var ka=Ti((function(t,e,n){return e=e.toLowerCase(),t+(n?Oa(e):e)}));function Oa(t){return Fa(ua(t).toLowerCase())}function Ia(t){return(t=ua(t))&&t.replace(ct,Be).replace(It,"")}var Pa=Ti((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ra=Ti((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ya=Si("toLowerCase");var Ba=Ti((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Na=Ti((function(t,e,n){return t+(n?" ":"")+Fa(e)}));var ja=Ti((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Fa=Si("toUpperCase");function Ua(t,e,n){return t=ua(t),void 0===(e=n?void 0:e)?function(t){return Bt.test(t)}(t)?function(t){return t.match(Rt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var Ga=jr((function(t,e){try{return oe(t,void 0,e)}catch(t){return Fs(t)?t:new K(t)}})),Ha=zi((function(t,e){return ae(e,(function(e){e=Eo(e),Jn(t,e,bs(t[e],t))})),t}));function Va(t){return function(){return t}}var za=Li(),Wa=Li(!0);function Xa(t){return t}function Ja(t){return Sr("function"==typeof t?t:$n(t,1))}var Ka=jr((function(t,e){return function(n){return br(n,t,e)}})),qa=jr((function(t,e){return function(n){return br(t,n,e)}}));function $a(t,e,n){var r=wa(e),i=lr(e,r);null!=n||Vs(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=lr(e,wa(e)));var o=!(Vs(n)&&"chain"in n&&!n.chain),s=Us(t);return ae(i,(function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=vi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,pe([this.value()],arguments))})})),t}function Za(){}var Qa=Oi(fe),tu=Oi(ce),eu=Oi(ye);function nu(t){return co(t)?Te(Eo(t)):function(t){return function(e){return dr(e,t)}}(t)}var ru=Pi(),iu=Pi(!0);function ou(){return[]}function su(){return!1}var au=ki((function(t,e){return t+e}),0),uu=Bi("ceil"),cu=ki((function(t,e){return t/e}),1),hu=Bi("floor");var lu,du=ki((function(t,e){return t*e}),1),fu=Bi("round"),pu=ki((function(t,e){return t-e}),0);return Dn.after=function(t,e){if("function"!=typeof e)throw new yt(o);return t=ia(t),function(){if(--t<1)return e.apply(this,arguments)}},Dn.ary=ys,Dn.assign=ca,Dn.assignIn=ha,Dn.assignInWith=la,Dn.assignWith=da,Dn.at=fa,Dn.before=vs,Dn.bind=bs,Dn.bindAll=Ha,Dn.bindKey=gs,Dn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ps(t)?t:[t]},Dn.chain=ns,Dn.chunk=function(t,e,n){e=(n?uo(t,e,n):void 0===e)?1:an(ia(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,s=0,a=r(Qe(i/e));oi?0:i+n),(r=void 0===r||r>i?i:ia(r))<0&&(r+=i),r=n>r?0:oa(r);n>>0)?(t=ua(t))&&("string"==typeof e||null!=e&&!Ks(e))&&!(e=Zr(e))&&Fe(t)?hi(Xe(t),0,n):t.split(e,n):[]},Dn.spread=function(t,e){if("function"!=typeof t)throw new yt(o);return e=null==e?0:an(ia(e),0),jr((function(n){var r=n[e],i=hi(n,0,e);return r&&pe(i,r),oe(t,this,i)}))},Dn.tail=function(t){var e=null==t?0:t.length;return e?Wr(t,1,e):[]},Dn.take=function(t,e,n){return t&&t.length?Wr(t,0,(e=n||void 0===e?1:ia(e))<0?0:e):[]},Dn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Wr(t,(e=r-(e=n||void 0===e?1:ia(e)))<0?0:e,r):[]},Dn.takeRightWhile=function(t,e){return t&&t.length?ni(t,$i(e,3),!1,!0):[]},Dn.takeWhile=function(t,e){return t&&t.length?ni(t,$i(e,3)):[]},Dn.tap=function(t,e){return e(t),t},Dn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new yt(o);return Vs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ws(t,e,{leading:r,maxWait:e,trailing:i})},Dn.thru=rs,Dn.toArray=na,Dn.toPairs=La,Dn.toPairsIn=Da,Dn.toPath=function(t){return Ps(t)?fe(t,Eo):Zs(t)?[t]:vi(Ao(ua(t)))},Dn.toPlainObject=aa,Dn.transform=function(t,e,n){var r=Ps(t),i=r||Ns(t)||Qs(t);if(e=$i(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Vs(t)&&Us(o)?Cn(Gt(t)):{}}return(i?ae:cr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Dn.unary=function(t){return ys(t,1)},Dn.union=zo,Dn.unionBy=Wo,Dn.unionWith=Xo,Dn.uniq=function(t){return t&&t.length?Qr(t):[]},Dn.uniqBy=function(t,e){return t&&t.length?Qr(t,$i(e,2)):[]},Dn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qr(t,void 0,e):[]},Dn.unset=function(t,e){return null==t||ti(t,e)},Dn.unzip=Jo,Dn.unzipWith=Ko,Dn.update=function(t,e,n){return null==t?t:ei(t,e,ai(n))},Dn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:ei(t,e,ai(n),r)},Dn.values=Ca,Dn.valuesIn=function(t){return null==t?[]:Oe(t,xa(t))},Dn.without=qo,Dn.words=Ua,Dn.wrap=function(t,e){return Es(ai(e),t)},Dn.xor=$o,Dn.xorBy=Zo,Dn.xorWith=Qo,Dn.zip=ts,Dn.zipObject=function(t,e){return oi(t||[],e||[],Vn)},Dn.zipObjectDeep=function(t,e){return oi(t||[],e||[],Gr)},Dn.zipWith=es,Dn.entries=La,Dn.entriesIn=Da,Dn.extend=ha,Dn.extendWith=la,$a(Dn,Dn),Dn.add=au,Dn.attempt=Ga,Dn.camelCase=ka,Dn.capitalize=Oa,Dn.ceil=uu,Dn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=sa(n))==n?n:0),void 0!==e&&(e=(e=sa(e))==e?e:0),qn(sa(t),e,n)},Dn.clone=function(t){return $n(t,4)},Dn.cloneDeep=function(t){return $n(t,5)},Dn.cloneDeepWith=function(t,e){return $n(t,5,e="function"==typeof e?e:void 0)},Dn.cloneWith=function(t,e){return $n(t,4,e="function"==typeof e?e:void 0)},Dn.conformsTo=function(t,e){return null==e||Zn(t,e,wa(e))},Dn.deburr=Ia,Dn.defaultTo=function(t,e){return null==t||t!=t?e:t},Dn.divide=cu,Dn.endsWith=function(t,e,n){t=ua(t),e=Zr(e);var r=t.length,i=n=void 0===n?r:qn(ia(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Dn.eq=Cs,Dn.escape=function(t){return(t=ua(t))&&j.test(t)?t.replace(B,Ne):t},Dn.escapeRegExp=function(t){return(t=ua(t))&&X.test(t)?t.replace(W,"\\$&"):t},Dn.every=function(t,e,n){var r=Ps(t)?ce:rr;return n&&uo(t,e,n)&&(e=void 0),r(t,$i(e,3))},Dn.find=ss,Dn.findIndex=Io,Dn.findKey=function(t,e){return be(t,$i(e,3),cr)},Dn.findLast=as,Dn.findLastIndex=Po,Dn.findLastKey=function(t,e){return be(t,$i(e,3),hr)},Dn.floor=hu,Dn.forEach=us,Dn.forEachRight=cs,Dn.forIn=function(t,e){return null==t?t:ar(t,$i(e,3),xa)},Dn.forInRight=function(t,e){return null==t?t:ur(t,$i(e,3),xa)},Dn.forOwn=function(t,e){return t&&cr(t,$i(e,3))},Dn.forOwnRight=function(t,e){return t&&hr(t,$i(e,3))},Dn.get=ma,Dn.gt=ks,Dn.gte=Os,Dn.has=function(t,e){return null!=t&&io(t,e,mr)},Dn.hasIn=ya,Dn.head=Yo,Dn.identity=Xa,Dn.includes=function(t,e,n,r){t=Ys(t)?t:Ca(t),n=n&&!r?ia(n):0;var i=t.length;return n<0&&(n=an(i+n,0)),$s(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&we(t,e,n)>-1},Dn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ia(n);return i<0&&(i=an(r+i,0)),we(t,e,i)},Dn.inRange=function(t,e,n){return e=ra(e),void 0===n?(n=e,e=0):n=ra(n),function(t,e,n){return t>=un(e,n)&&t=-9007199254740991&&t<=9007199254740991},Dn.isSet=qs,Dn.isString=$s,Dn.isSymbol=Zs,Dn.isTypedArray=Qs,Dn.isUndefined=function(t){return void 0===t},Dn.isWeakMap=function(t){return zs(t)&&ro(t)==x},Dn.isWeakSet=function(t){return zs(t)&&"[object WeakSet]"==pr(t)},Dn.join=function(t,e){return null==t?"":on.call(t,e)},Dn.kebabCase=Pa,Dn.last=Fo,Dn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=ia(n))<0?an(r+i,0):un(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):ge(t,Me,i,!0)},Dn.lowerCase=Ra,Dn.lowerFirst=Ya,Dn.lt=ta,Dn.lte=ea,Dn.max=function(t){return t&&t.length?ir(t,Xa,_r):void 0},Dn.maxBy=function(t,e){return t&&t.length?ir(t,$i(e,2),_r):void 0},Dn.mean=function(t){return Se(t,Xa)},Dn.meanBy=function(t,e){return Se(t,$i(e,2))},Dn.min=function(t){return t&&t.length?ir(t,Xa,Er):void 0},Dn.minBy=function(t,e){return t&&t.length?ir(t,$i(e,2),Er):void 0},Dn.stubArray=ou,Dn.stubFalse=su,Dn.stubObject=function(){return{}},Dn.stubString=function(){return""},Dn.stubTrue=function(){return!0},Dn.multiply=du,Dn.nth=function(t,e){return t&&t.length?Or(t,ia(e)):void 0},Dn.noConflict=function(){return Xt._===this&&(Xt._=Lt),this},Dn.noop=Za,Dn.now=ms,Dn.pad=function(t,e,n){t=ua(t);var r=(e=ia(e))?We(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ii(tn(i),n)+t+Ii(Qe(i),n)},Dn.padEnd=function(t,e,n){t=ua(t);var r=(e=ia(e))?We(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=ln();return un(t+i*(e-t+Ht("1e-"+((i+"").length-1))),e)}return Br(t,e)},Dn.reduce=function(t,e,n){var r=Ps(t)?_e:Ee,i=arguments.length<3;return r(t,$i(e,4),n,i,er)},Dn.reduceRight=function(t,e,n){var r=Ps(t)?me:Ee,i=arguments.length<3;return r(t,$i(e,4),n,i,nr)},Dn.repeat=function(t,e,n){return e=(n?uo(t,e,n):void 0===e)?1:ia(e),Nr(ua(t),e)},Dn.replace=function(){var t=arguments,e=ua(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Dn.result=function(t,e,n){var r=-1,i=(e=ui(e,t)).length;for(i||(i=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=un(t,4294967295);t-=4294967295;for(var i=De(r,e=$i(e));++n=o)return t;var a=n-We(r);if(a<1)return r;var u=s?hi(s,0,a).join(""):t.slice(0,a);if(void 0===i)return u+r;if(s&&(a+=u.length-a),Ks(i)){if(t.slice(a).search(i)){var c,h=u;for(i.global||(i=_t(i.source,ua(rt.exec(i))+"g")),i.lastIndex=0;c=i.exec(h);)var l=c.index;u=u.slice(0,void 0===l?a:l)}}else if(t.indexOf(Zr(i),a)!=a){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},Dn.unescape=function(t){return(t=ua(t))&&N.test(t)?t.replace(Y,Ke):t},Dn.uniqueId=function(t){var e=++St;return ua(t)+e},Dn.upperCase=ja,Dn.upperFirst=Fa,Dn.each=us,Dn.eachRight=cs,Dn.first=Yo,$a(Dn,(lu={},cr(Dn,(function(t,e){Mt.call(Dn.prototype,e)||(lu[e]=t)})),lu),{chain:!1}),Dn.VERSION="4.17.21",ae(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Dn[t].placeholder=Dn})),ae(["drop","take"],(function(t,e){In.prototype[t]=function(n){n=void 0===n?1:an(ia(n),0);var r=this.__filtered__&&!e?new In(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},In.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ae(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;In.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:$i(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ae(["head","last"],(function(t,e){var n="take"+(e?"Right":"");In.prototype[t]=function(){return this[n](1).value()[0]}})),ae(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");In.prototype[t]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter(Xa)},In.prototype.find=function(t){return this.filter(t).head()},In.prototype.findLast=function(t){return this.reverse().find(t)},In.prototype.invokeMap=jr((function(t,e){return"function"==typeof t?new In(this):this.map((function(n){return br(n,t,e)}))})),In.prototype.reject=function(t){return this.filter(Ts($i(t)))},In.prototype.slice=function(t,e){t=ia(t);var n=this;return n.__filtered__&&(t>0||e<0)?new In(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=ia(e))<0?n.dropRight(-e):n.take(e-t)),n)},In.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},cr(In.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Dn[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(Dn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,a=e instanceof In,u=s[0],c=a||Ps(e),h=function(t){var e=i.apply(Dn,pe([t],s));return r&&l?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(a=c=!1);var l=this.__chain__,d=!!this.__actions__.length,f=o&&!l,p=a&&!d;if(!o&&c){e=p?e:new In(this);var _=t.apply(e,s);return _.__actions__.push({func:rs,args:[h],thisArg:void 0}),new On(_,l)}return f&&p?t.apply(this,s):(_=this.thru(h),f?r?_.value()[0]:_.value():_)})})),ae(["pop","push","shift","sort","splice","unshift"],(function(t){var e=vt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Dn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ps(i)?i:[],t)}return this[n]((function(n){return e.apply(Ps(n)?n:[],t)}))}})),cr(In.prototype,(function(t,e){var n=Dn[e];if(n){var r=n.name+"";Mt.call(gn,r)||(gn[r]=[]),gn[r].push({name:e,func:n})}})),gn[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var t=new In(this.__wrapped__);return t.__actions__=vi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=vi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=vi(this.__views__),t},In.prototype.reverse=function(){if(this.__filtered__){var t=new In(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},In.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ps(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Dn.prototype.plant=function(t){for(var e,n=this;n instanceof kn;){var r=Do(n);r.__index__=0,r.__values__=void 0,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Dn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof In){var e=t;return this.__actions__.length&&(e=new In(this)),(e=e.reverse()).__actions__.push({func:rs,args:[Vo],thisArg:void 0}),new On(e,this.__chain__)}return this.thru(Vo)},Dn.prototype.toJSON=Dn.prototype.valueOf=Dn.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},Dn.prototype.first=Dn.prototype.head,$t&&(Dn.prototype[$t]=function(){return this}),Dn}();Xt._=qe,void 0===(i=function(){return qe}.call(e,n,e,r))||(r.exports=i)}).call(this)}).call(this,n("pCvA"),n("RoC8")(t))},"A/eZ":function(t,e,n){"use strict";var r=n("upWy"),i=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=l;var o=Object.create(n("nrnY"));o.inherits=n("wfEq");var s=n("B0Cl"),a=n("g+31");o.inherits(l,s);for(var u=i(a.prototype),c=0;c0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?w(t,s,e,!1):T(t,s)):w(t,s,e,!1))):r||(s.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function M(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){f("emit readable"),t.emit("readable"),D(t)}function T(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(A,t,e))}function A(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;to.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}(t,e):function(t,e){var n=c.allocUnsafe(t),r=e.head,i=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),0===(t-=s)){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function k(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(O,e,t))}function O(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function I(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?k(this):M(this),null;if(0===(t=x(t,e))&&e.ended)return 0===e.length&&k(this),null;var r,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t0?C(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&k(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(t,e){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,e);var u=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?h:b;function c(e,r){f("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),t.removeListener("close",y),t.removeListener("finish",v),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",c),n.removeListener("end",h),n.removeListener("end",b),n.removeListener("data",_),d=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function h(){f("onend"),t.end()}o.endEmitted?i.nextTick(u):n.once("end",u),t.on("unpipe",c);var l=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,D(t))}}(n);t.on("drain",l);var d=!1;var p=!1;function _(e){f("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==I(o.pipes,t))&&!d&&(f("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(e){f("onerror",e),b(),t.removeListener("error",m),0===a(t,"error")&&t.emit("error",e)}function y(){t.removeListener("finish",v),b()}function v(){f("onfinish"),t.removeListener("close",y),b()}function b(){f("unpipe"),n.unpipe(t)}return n.on("data",_),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?s(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",m),t.once("close",y),t.once("finish",v),t.emit("pipe",n),o.flowing||(f("pipe resume"),n.resume()),t},b.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;op||new s(e).cmp(f.modulus)>=0)throw new Error("decryption error");d=n?c(new s(e),f):a(e,f);var _=h.alloc(p-d.length);if(d=h.concat([_,d],p),4===l)return function(t,e){var n=t.modulus.byteLength(),r=u("sha1").update(h.alloc(0)).digest(),s=r.length;if(0!==e[0])throw new Error("decryption error");var a=e.slice(1,s+1),c=e.slice(s+1),l=o(a,i(c,s)),d=o(c,i(l,n-s-1));if(function(t,e){t=h.from(t),e=h.from(e);var n=0,r=t.length;t.length!==e.length&&(n++,r=Math.min(t.length,e.length));var i=-1;for(;++i=e.length){o++;break}var s=e.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,d,n);if(3===l)return d;throw new Error("unknown padding")}},BO39:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwkFrom=e.fromJwkTo=void 0;var o=i(n("NthX")),s=i(n("e+GP")),a=i(n("fFdx")),u=r(n("8Sms")),c=r(n("kAr8")),h=function(){var t=(0,a.default)(o.default.mark((function t(){var e,n,r,i=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=i.length>0&&void 0!==i[0]?i[0]:"pem",n=i.length>1?i[1]:void 0,r=i.length>2&&void 0!==i[2]?i[2]:{},!(["pem","der","oct"].indexOf(e)<0)){t.next=5;break}throw new Error("InvalidOutputForm");case 5:if("object"===(0,s.default)(n)){t.next=7;break}throw new Error("InvalidJWKAsObject");case 7:if("EC"===n.kty||"RSA"===n.kty){t.next=9;break}throw new Error("UnsupportedKeyType");case 9:if(void 0===r.outputPublic||"boolean"==typeof r.outputPublic){t.next=11;break}throw new Error("outputPublicMustBeBoolean");case 11:if("EC"===n.key&&"boolean"!=typeof r.compact&&(r.compact=!1),"oct"===e&&"string"!==r.output&&(r.output="binary"),void 0===r.encryptParams&&(r.encryptParams={}),"der"!==e&&"pem"!==e||void 0!==r.encryptParams.passphrase||(r.encryptParams.passphrase=""),"der"!==e&&"pem"!==e){t.next=21;break}return t.next=18,u.fromJwk(n,e,{outputPublic:r.outputPublic,compact:r.compact,encOptions:r.encryptParams});case 18:return t.abrupt("return",t.sent);case 21:if("oct"!==e||"EC"!==n.kty){t.next=25;break}return t.abrupt("return",c.fromJwk(n,{outputPublic:r.outputPublic,outputFormat:r.output,compact:r.compact}));case 25:throw new Error("UnsupportedConversion");case 26:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e.fromJwkTo=h;var l=function(){var t=(0,a.default)(o.default.mark((function t(e,n){var r,i=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.length>2&&void 0!==i[2]?i[2]:{},!(["pem","der","oct"].indexOf(e)<0)){t.next=3;break}throw new Error("InvalidInputForm");case 3:if("oct"!==e||r.namedCurve){t.next=5;break}throw new Error("InappropriateOptions");case 5:if(void 0===r.outputPublic||"boolean"==typeof r.outputPublic){t.next=7;break}throw new Error("outputPublicMustBeBoolean");case 7:if("der"!==e&&"pem"!==e||void 0!==r.passphrase||(r.passphrase=""),"der"!==e&&"pem"!==e){t.next=14;break}return t.next=11,u.toJwk(n,e,{outputPublic:r.outputPublic,passphrase:r.passphrase});case 11:return t.abrupt("return",t.sent);case 14:if("oct"!==e){t.next=18;break}return t.abrupt("return",c.toJwk(n,r.namedCurve,{outputPublic:r.outputPublic}));case 18:throw new Error("UnsupportedConversion");case 19:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.toJwkFrom=l},BWwv:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("gd",{months:["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"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("TiKg"))},C1tN:function(t,e,n){(function(t){var r=n("cyIN"),i=n("+MGR"),o=n("3Wkq");var s={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var n=new t(i[e].prime,"hex"),r=new t(i[e].gen,"hex");return new o(n,r)},e.createDiffieHellman=e.DiffieHellman=function e(n,i,a,u){return t.isBuffer(i)||void 0===s[i]?e(n,"binary",i,a):(i=i||"binary",u=u||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,u)),"number"==typeof n?new o(r(n,a),a,!0):(t.isBuffer(n)||(n=new t(n,i)),new o(n,a,!0)))}}).call(this,n("qykS").Buffer)},C9xR:function(t,e,n){t.exports=n("5Ekh").Transform},CZE8:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},"Cla+":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(t,e,n,r){var i="";if(e)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाटे"===e||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n("TiKg"))},CsW6:function(t,e,n){var r=n("+oaW"),i=n("pRMk").Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var n,s=i.alloc(0),a=0;s.length0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==t)return new t(r);var s=new o.default({capacity:r,padding:e});return this.update=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(i.Buffer.isBuffer(t))return s.absorb(t),n;if("string"==typeof t)return n.update(i.Buffer.from(t,e));throw new TypeError("Not a string or buffer")},this.digest=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",e=s.squeeze();return t&&"binary"!==t?e.toString(t):e},this.reset=function(){return s.reset(),n},this}},a=s({padding:1});e.Keccak=a;var u=s({padding:6});e.SHA3=u;var c=a;e.SHA3Hash=c,u.SHA3Hash=c;var h=u;e.default=h},DDMh:function(t,e,n){"use strict";var r=n("HpGB"),i=n("siiD");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=r.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,i=0;r>>6-2*i);return e}},t.exports=r},DPpk:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},DQGM:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB"),o=i.assert;function s(t,e){if(t instanceof s)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new r(t.r,16),this.s=new r(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function a(){this.place=0}function u(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,s=e.place;o>>=0;return!(i<=127)&&(e.place=s,i)}function c(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}t.exports=s,s.prototype._importDER=function(t,e){t=i.toArray(t,e);var n=new a;if(48!==t[n.place++])return!1;var o=u(t,n);if(!1===o)return!1;if(o+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var s=u(t,n);if(!1===s)return!1;var c=t.slice(n.place,s+n.place);if(n.place+=s,2!==t[n.place++])return!1;var h=u(t,n);if(!1===h)return!1;if(t.length!==h+n.place)return!1;var l=t.slice(n.place,h+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}return this.r=new r(c),this.s=new r(l),this.recoveryParam=null,!0},s.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=c(e),n=c(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];h(r,e.length),(r=r.concat(e)).push(2),h(r,n.length);var o=r.concat(n),s=[48];return h(s,o.length),s=s.concat(o),i.encode(s,t)}},E9s0:function(t,e,n){var r=n("wfEq");function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,n){var r=this._reporterState;this.exitKey(t),null!==r.obj&&(r.obj[e]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,n=e.obj;return e.obj=t,n},i.prototype.error=function(t){var e,n=this._reporterState,r=t instanceof o;if(e=r?t:new o(n.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!n.options.partial)throw e;return r||n.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},r(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},EO1s:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={namedCurves:{"P-256":{indutnyName:"p256",nodeName:"prime256v1",payloadSize:32},"P-384":{indutnyName:"p384",nodeName:"secp384r1",payloadSize:48},"P-521":{indutnyName:"p521",nodeName:"secp521r1",payloadSize:66},"P-256K":{indutnyName:"secp256k1",nodeName:"secp256k1",payloadSize:32}},hashes:{"SHA-256":{nodeName:"sha256"},"SHA-384":{nodeName:"sha384"},"SHA-512":{nodeName:"sha512"},"SHA-1":{nodeName:"sha1"}}}},ESkz:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},EbX1:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},"Eg+Y":function(t,e,n){"use strict";var r=n("HpGB").rotr32;function i(t,e,n){return t&e^~t&n}function o(t,e,n){return t&e^t&n^e&n}function s(t,e,n){return t^e^n}e.ft_1=function(t,e,n,r){return 0===t?i(e,n,r):1===t||3===t?s(e,n,r):2===t?o(e,n,r):void 0},e.ch32=i,e.maj32=o,e.p32=s,e.s0_256=function(t){return r(t,2)^r(t,13)^r(t,22)},e.s1_256=function(t){return r(t,6)^r(t,11)^r(t,25)},e.g0_256=function(t){return r(t,7)^r(t,18)^t>>>3},e.g1_256=function(t){return r(t,17)^r(t,19)^t>>>10}},EpfC:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n("TiKg"))},EurX:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return r?i[n][0]:i[n][1]}t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}})}(n("TiKg"))},EvBf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={ciphers:{"AES-GCM":{nodePrefix:"aes-",nodeSuffix:"-gcm",ivLength:12,tagLength:16,staticIvLength:!0},"AES-CBC":{nodePrefix:"aes-",nodeSuffix:"-cbc",ivLength:16,staticIvLength:!0},"AES-CTR":{nodePrefix:"aes-",nodeSuffix:"-ctr",ivLength:12,staticIvLength:!1}},wrapKeys:{"AES-KW":{nodePrefix:"id-aes",nodeSuffix:"-wrap",ivLength:8,staticIvLength:!0,defaultIV:new Uint8Array([166,166,166,166,166,166,166,166])}}};e.default=r},F1mQ:function(t,e){t.exports=function(t,e){for(var n=t.length,r=-1;++r>1,h=-7,l=n?i-1:0,d=n?-1:1,f=t[e+l];for(l+=d,o=f&(1<<-h)-1,f>>=-h,h+=a;h>0;o=256*o+t[e+l],l+=d,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=r;h>0;s=256*s+t[e+l],l+=d,h-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,u,c=8*o-i-1,h=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+l>=1?d/u:d*Math.pow(2,1-l))*u>=2&&(s++,u/=2),s+l>=h?(a=0,s=h):s+l>=1?(a=(e*u-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<0;t[n+f]=255&s,f+=p,s/=256,c-=8);t[n+f-p]|=128*_}},Fthy:function(t,e,n){"use strict";n.r(e),n.d(e,"sendMessages",(function(){return u}));var r=n("kp3F"),i=n("eJvy"),o=n("2q8S"),s=function(t){return"object"==typeof t&&null!==t&&function(t){return"string"==typeof t||t instanceof String}(t.type)};function a(t){return Promise.reject(Object(i.j)(r.f,t))}function u(t){if(!function(t){return Array.isArray(t)&&t.every(s)}(t))return a("Parameter 'messages' must be an array of { type, ... }");var e=t.length;return e<1||e>5?a("Number of messages should be in range 1 to 5."):Object(o.a)(Object(o.b)("message"),{method:"POST",body:JSON.stringify({messages:t})})}},FvgC:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<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(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("TiKg"))},FyKI:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,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(t){return"މފ"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n("TiKg"))},G2uu:function(t,e,n){t.exports=n("2Mwr")},GNjU:function(t,e,n){"use strict";var r=n("siiD"),i=n("wfEq"),o={};function s(t){r.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e=0||!window._liff.postMessage){var n=t.url,h=t.external,l=void 0!==h&&h;window.open(function(t,e){var n=Object(r.e)(t.split("?"),2),i=n[0],o=n[1],s=Object(r.e)((void 0===o?"":o).split("#"),2),a=s[0],u=s[1];return i+"?is_liff_external_open_window="+!!e+(a?"&"+a.split("&").filter((function(t){return-1===t.indexOf("is_liff_external_open_window")})).join("&").concat(u?"#"+u:""):"")}(n,l))}else Object(c.call)("openWindow",t);else window.open(t.url,"_blank")}},GjBA:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("TiKg"))},GyEJ:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},"H+sD":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t){return t%100==11||t%10!=1}function n(t,n,r,i){var o=t+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return e(t)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}t.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("TiKg"))},HLui:function(t,e,n){var r=n("wfEq"),i=n("KSsY"),o=n("pRMk").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function h(t){return t<<30|t>>>2}function l(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var f=0;f<80;++f){var p=~~(f/20),_=c(r)+l(p,i,o,a)+u+n[f]+s[p]|0;u=a,a=o,o=h(i),i=r,r=_}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},HTX9:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("TiKg"))},HbDv:function(t,e,n){"use strict";var r=n("HpGB"),i=n("DDMh"),o=n("siiD"),s=r.rotr64_hi,a=r.rotr64_lo,u=r.shr64_hi,c=r.shr64_lo,h=r.sum64,l=r.sum64_hi,d=r.sum64_lo,f=r.sum64_4_hi,p=r.sum64_4_lo,_=r.sum64_5_hi,m=r.sum64_5_lo,y=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function g(t,e,n,r,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function w(t,e,n,r,i,o){var s=e&r^~e&o;return s<0&&(s+=4294967296),s}function x(t,e,n,r,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function M(t,e,n,r,i,o){var s=e&r^e&o^r&o;return s<0&&(s+=4294967296),s}function S(t,e){var n=s(t,e,28)^s(e,t,2)^s(e,t,7);return n<0&&(n+=4294967296),n}function T(t,e){var n=a(t,e,28)^a(e,t,2)^a(e,t,7);return n<0&&(n+=4294967296),n}function A(t,e){var n=s(t,e,14)^s(t,e,18)^s(e,t,9);return n<0&&(n+=4294967296),n}function E(t,e){var n=a(t,e,14)^a(t,e,18)^a(e,t,9);return n<0&&(n+=4294967296),n}function L(t,e){var n=s(t,e,1)^s(t,e,8)^u(t,e,7);return n<0&&(n+=4294967296),n}function D(t,e){var n=a(t,e,1)^a(t,e,8)^c(t,e,7);return n<0&&(n+=4294967296),n}function C(t,e){var n=s(t,e,19)^s(e,t,29)^u(t,e,6);return n<0&&(n+=4294967296),n}function k(t,e){var n=a(t,e,19)^a(e,t,29)^c(t,e,6);return n<0&&(n+=4294967296),n}r.inherits(b,y),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,e){for(var n=this.W,r=0;r<32;r++)n[r]=t[e+r];for(;r=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function a(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,n[r++]=63&s|128):o(t,i)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i>>0}return s},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,i){return t+e+n+r+i>>>0},e.sum64=function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,s=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,r){return(e+r>>>0>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,i,o,s,a){var u=0,c=e;return u+=(c=c+r>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,n,r,i,o,s,a){return e+r+o+a>>>0},e.sum64_5_hi=function(t,e,n,r,i,o,s,a,u,c){var h=0,l=e;return h+=(l=l+r>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,n,r,i,o,s,a,u,c){return e+r+o+a+c>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},I2oy:function(t,e,n){"use strict";n.r(e),n.d(e,"ModuleContextImpl",(function(){return o})),n.d(e,"ModuleDriverImpl",(function(){return s})),n.d(e,"UseModule",(function(){return a}));var r=n("bb6g"),i=n("QuL7"),o=function(t){var e=this;this.driver=t,this.addHooks=function(t){e.driver.addHooks(t)}},s=function(){function t(){this.modules=new Set,this.hooksSet=new Set}return t.prototype.addHooks=function(t){this.hooksSet.add(t)},t.prototype.addModule=function(t){this.modules.add(t)},t.prototype.hasModule=function(t){return this.modules.has(t)},t.prototype.runHook=function(t){for(var e=[],n=1;n0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var e,n,i,o=r.allocUnsafe(t>>>0),s=this.head,a=0;s;)e=s.data,n=o,i=a,e.copy(n,i),a+=s.data.length,s=s.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},Igas:function(t,e,n){"use strict";n.r(e),n.d(e,"Headers",(function(){return p})),n.d(e,"Request",(function(){return w})),n.d(e,"Response",(function(){return M})),n.d(e,"DOMException",(function(){return T})),n.d(e,"fetch",(function(){return A}));var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i="URLSearchParams"in r,o="Symbol"in r&&"iterator"in Symbol,s="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in r,u="ArrayBuffer"in r;if(u)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=ArrayBuffer.isView||function(t){return t&&c.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function d(t){return"string"!=typeof t&&(t=String(t)),t}function f(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function _(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function y(t){var e=new FileReader,n=m(e);return e.readAsArrayBuffer(t),n}function v(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():u&&s&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=v(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(t)||h(t))?this._bodyArrayBuffer=v(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var t=_(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=_(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var t,e,n,r=_(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=m(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r-1?r:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function x(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function M(t,e){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},b.call(w.prototype),b.call(M.prototype),M.prototype.clone=function(){return new M(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},M.error=function(){var t=new M(null,{status:0,statusText:""});return t.type="error",t};var S=[301,302,303,307,308];M.redirect=function(t,e){if(-1===S.indexOf(e))throw new RangeError("Invalid status code");return new M(null,{status:e,headers:{location:t}})};var T=r.DOMException;try{new T}catch(t){(T=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function A(t,e){return new Promise((function(n,i){var o=new w(t,e);if(o.signal&&o.signal.aborted)return i(new T("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();e.append(r,i)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;setTimeout((function(){n(new M(i,r))}),0)},a.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){i(new T("Aborted","AbortError"))}),0)},a.open(o.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&(s?a.responseType="blob":u&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof p?o.headers.forEach((function(t,e){a.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){a.setRequestHeader(t,d(e.headers[t]))})),o.signal&&(o.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",c)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}A.polyfill=!0,r.fetch||(r.fetch=A,r.Headers=p,r.Request=w,r.Response=M)},Ih9J:function(t,e,n){var r=n("MIvV"),i=n("Irje"),o=n("w8x0");e.createCipher=e.Cipher=r.createCipher,e.createCipheriv=e.Cipheriv=r.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},"Imh/":function(t,e,n){var r=n("wfEq"),i=n("45vN").Reporter,o=n("qykS").Buffer;function s(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function a(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return t instanceof a||(t=new a(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}r(s,i),e.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var n=new s(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+t,this.offset+=t,n},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=a,a.prototype.join=function(t,e){return t||(t=new o(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(t,e),e+=n.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},Irje:function(t,e,n){var r=n("xeyG"),i=n("pRMk").Buffer,o=n("89XF"),s=n("6rtq"),a=n("ql4I"),u=n("8gph"),c=n("peDq");function h(t,e,n){a.call(this),this._cache=new l,this._last=void 0,this._cipher=new u.AES(e),this._prev=i.from(n),this._mode=t,this._autopadding=!0}function l(){this.cache=i.allocUnsafe(0)}function d(t,e,n){var a=o[t.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof e&&(e=i.from(e)),e.length!==a.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===a.type?new s(a.module,e,n,!0):"auth"===a.type?new r(a.module,e,n,!0):new h(a.module,e,n)}n("wfEq")(h,a),h.prototype._update=function(t){var e,n;this._cache.add(t);for(var r=[];e=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,e),r.push(n);return i.concat(r)},h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var n=-1;for(;++n16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},l.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var n=o[t.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(e,!1,n.key,n.iv);return d(t,r.key,r.iv)},e.createDecipheriv=d},J6Gk:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("wQqr")),u=r(n("p8Dw")),c=r(n("jGT8")),h=r(n("YM0L")),l=function(){var t=(0,s.default)(o.default.mark((function t(){var e,n,r,i,s,l,d=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=d.length>0&&void 0!==d[0]?d[0]:"P-256",n=a.getWebCrypto(),r=a.getNodeCrypto(),i=!0,l={},void 0===n||"function"!=typeof n.generateKey||"function"!=typeof n.exportKey){t.next=11;break}return t.next=8,u.generateKey(e,n).catch((function(t){s=t.message,i=!1}));case 8:l=t.sent,t.next=18;break;case 11:if(void 0===r){t.next=17;break}return t.next=14,c.generateKey(e,r).catch((function(t){s=t.message,i=!1}));case 14:l=t.sent,t.next=18;break;case 17:i=!1;case 18:if(!1!==i){t.next=22;break}return t.next=21,h.generateKey(e).catch((function(t){throw s="".concat(s," => ").concat(t.message),new Error("UnsupportedEnvironment: ".concat(s))}));case 21:l=t.sent;case 22:return t.abrupt("return",l);case 23:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e.generateKey=l;var d=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,l,d,f,p,_=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=_.length>2&&void 0!==_[2]?_[2]:"SHA-256","raw"===(i=_.length>3&&void 0!==_[3]?_[3]:"raw")||"der"===i){t.next=4;break}throw new Error("InvalidSignatureFormat");case 4:if(s=a.getWebCrypto(),l=a.getNodeCrypto(),d=!0,void 0===s||"function"!=typeof s.importKey||"function"!=typeof s.sign){t.next=13;break}return t.next=10,u.sign(e,n,r,i,s).catch((function(t){f=t.message,d=!1}));case 10:p=t.sent,t.next=20;break;case 13:if(void 0===l){t.next=19;break}return t.next=16,c.sign(e,n,r,i,l).catch((function(t){f=t.message,d=!1}));case 16:p=t.sent,t.next=20;break;case 19:d=!1;case 20:if(!1!==d){t.next=24;break}return t.next=23,h.sign(e,n,r,i).catch((function(t){throw f="".concat(f," => ").concat(t.message),new Error("UnsupportedEnvironment: ".concat(f))}));case 23:p=t.sent;case 24:return t.abrupt("return",p);case 25:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.sign=d;var f=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,d,f,p,_,m=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=m.length>3&&void 0!==m[3]?m[3]:"SHA-256","raw"===(s=m.length>4&&void 0!==m[4]?m[4]:"raw")||"der"===s){t.next=4;break}throw new Error("InvalidSignatureFormat");case 4:if(l=a.getWebCrypto(),d=a.getNodeCrypto(),f=!0,void 0===l||"function"!=typeof l.importKey||"function"!=typeof l.verify){t.next=13;break}return t.next=10,u.verify(e,n,r,i,s,l).catch((function(t){p=t.message,f=!1}));case 10:_=t.sent,t.next=20;break;case 13:if(void 0===d){t.next=19;break}return t.next=16,c.verify(e,n,r,i,s,d).catch((function(t){p=t.message,f=!1}));case 16:_=t.sent,t.next=20;break;case 19:f=!1;case 20:if(!1!==f){t.next=24;break}return t.next=23,h.verify(e,n,r,i,s).catch((function(t){throw p="".concat(p," => ").concat(t.message),new Error("UnsupportedEnvironment: ".concat(p))}));case 23:_=t.sent;case 24:return t.abrupt("return",_);case 25:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.verify=f;var p=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,l,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.crv===n.crv){t.next=2;break}throw new Error("UnmatchedCurveName");case 2:if(r=a.getWebCrypto(),i=a.getNodeCrypto(),s=!0,void 0===r||"function"!=typeof r.importKey||"function"!=typeof r.deriveBits){t.next=11;break}return t.next=8,u.deriveSecret(e,n,r).catch((function(t){l=t.message,s=!1}));case 8:d=t.sent,t.next=12;break;case 11:if(void 0!==i)try{d=c.deriveSecret(e,n,i)}catch(t){l=t.message,s=!1}else s=!1;case 12:if(!1!==s){t.next=23;break}return t.prev=13,t.next=16,h.deriveSecret(e,n);case 16:d=t.sent,t.next=23;break;case 19:throw t.prev=19,t.t0=t.catch(13),l="".concat(l," => ").concat(t.t0.message),new Error("UnsupportedEnvironment: ".concat(l));case 23:return t.abrupt("return",d);case 24:case"end":return t.stop()}}),t,null,[[13,19]])})));return function(e,n){return t.apply(this,arguments)}}();e.deriveSecret=p},JNFb:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},JZuQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={hashes:{"SHA3-512":{hashSize:64},"SHA3-384":{hashSize:48},"SHA3-256":{hashSize:32},"SHA3-224":{hashSize:28},"SHA-256":{hashSize:32},"SHA-384":{hashSize:48},"SHA-512":{hashSize:64},"SHA-1":{hashSize:20},MD5:{hashSize:16}}}},Jhzd:function(t,e,n){var r=n("pRMk").Buffer;function i(t,e,n){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=r.concat([t._prev.slice(1),r.from([n?e:i])]),i}e.encrypt=function(t,e,n){for(var o=e.length,s=r.allocUnsafe(o),a=-1;++a=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},KZ9t:function(t,e,n){"use strict";function r(){return navigator.language}n.r(e),n.d(e,"getLanguage",(function(){return r}))},KbIP:function(t,e,n){"use strict";n.r(e),n.d(e,"closeWindow",(function(){return a}));var r=n("eJvy"),i=n("NOeq"),o=n("53ng"),s=n("cAUJ");function a(){var t=Object(o.getLineVersion)();null!==t&&("ios"===Object(i.getOS)()&&Object(r.e)(t,"9.19")>=0||"android"===Object(i.getOS)()&&Object(r.e)(t,"11.6.0")>=0)?location.href="liff://close":window._liff&&window._liff.postMessage?null!==t&&Object(r.e)(t,"10.15.0")>=0?"ios"===Object(i.getOS)()?window._liff.postMessage("closeWindow",""):window._liff.postMessage("closeWindow","","",""):Object(s.call)("closeWindow"):window.close()}},KlUR:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),s=r[0],a=r[1],u=new o(function(t,e,n){return 3*(e+n)/4-n}(0,s,a)),h=0,l=a>0?s-4:s;for(n=0;n>16&255,u[h++]=e>>8&255,u[h++]=255&e;2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[h++]=255&e);1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e);return u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=0,a=n-i;sa?a:s+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function h(t,e,n){for(var i,o,s=[],a=e;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},KxDR:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<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("TiKg"))},L2gJ:function(t,e,n){"use strict";(function(t,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n("pRMk"),s=n("bPso"),a=o.Buffer,u=o.kMaxLength,c=t.crypto||t.msCrypto,h=Math.pow(2,32)-1;function l(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>h||t<0)throw new TypeError("offset must be a uint32");if(t>u||t>e)throw new RangeError("offset out of range")}function d(t,e,n){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>h||t<0)throw new TypeError("size must be a uint32");if(t+e>n||t>u)throw new RangeError("buffer too small")}function f(t,e,n,i){if(r.browser){var o=t.buffer,a=new Uint8Array(o,e,n);return c.getRandomValues(a),i?void r.nextTick((function(){i(null,t)})):t}if(!i)return s(n).copy(t,e),t;s(n,(function(n,r){if(n)return i(n);r.copy(t,e),i(null,t)}))}c&&c.getRandomValues||!r.browser?(e.randomFill=function(e,n,r,i){if(!(a.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)i=n,n=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-n;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return l(n,e.length),d(r,n,e.length),f(e,n,r,i)},e.randomFillSync=function(e,n,r){void 0===n&&(n=0);if(!(a.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');l(n,e.length),void 0===r&&(r=e.length-n);return d(r,n,e.length),f(e,n,r)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,n("pCvA"),n("5IsQ"))},LER9:function(t,e,n){var r=n("jnim"),i=n("1qNd"),o=n("wuJa"),s=n("Ih9J"),a=n("hnK/"),u=n("pRMk").Buffer;function c(t){var e;"object"!=typeof t||u.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=u.from(t));var n,c,h=o(t,e),l=h.tag,d=h.data;switch(l){case"CERTIFICATE":c=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=r.PublicKey.decode(d,"der")),n=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=r.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"ENCRYPTED PRIVATE KEY":d=function(t,e){var n=t.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],c=t.algorithm.decrypt.cipher.iv,h=t.subjectPrivateKey,l=parseInt(o.split("-")[1],10)/8,d=a.pbkdf2Sync(e,n,r,l,"sha1"),f=s.createDecipheriv(o,d,c),p=[];return p.push(f.update(h)),p.push(f.final()),u.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(n=(c=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:r.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=r.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+l);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+l)}}t.exports=c,c.signature=r.signature},LRLT:function(t,e,n){"use strict";var r=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",n=0;n>8,s=255&i;o?n.push(o,s):n.push(s)}return n},r.zero2=i,r.toHex=o,r.encode=function(t,e){return"hex"===e?o(t):t}},LpNI:function(t,e,n){var r=n("wfEq"),i=n("qykS").Buffer,o=n("+Gs+"),s=o.base,a=o.constants.der;function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){s.Node.call(this,"der",t)}function h(t){return t<10?"0"+t:t}t.exports=u,u.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},r(c,s.Node),c.prototype._encodeComposite=function(t,e,n,r){var o,s=function(t,e,n,r){var i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return r.error("Unknown tag: "+t);i=t}if(i>=31)return r.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6}(t,e,n,this.reporter);if(r.length<128)return(o=new i(2))[0]=s,o[1]=r.length,this._createEncoderBuffer([o,r]);for(var u=1,c=r.length;c>=256;c>>=8)u++;(o=new i(2+u))[0]=s,o[1]=128|u;c=1+u;for(var h=r.length;h>0;c--,h>>=8)o[c]=255&h;return this._createEncoderBuffer([o,r])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var n=new i(2*t.length),r=0;r=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}var o=0;for(r=0;r=128;s>>=7)o++}var a=new i(o),u=a.length-1;for(r=t.length-1;r>=0;r--){s=t[r];for(a[u--]=127&s;(s>>=7)>0;)a[u--]=128|127&s}return this._createEncoderBuffer(a)},c.prototype._encodeTime=function(t,e){var n,r=new Date(t);return"gentime"===e?n=[h(r.getFullYear()),h(r.getUTCMonth()+1),h(r.getUTCDate()),h(r.getUTCHours()),h(r.getUTCMinutes()),h(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?n=[h(r.getFullYear()%100),h(r.getUTCMonth()+1),h(r.getUTCDate()),h(r.getUTCHours()),h(r.getUTCMinutes()),h(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var n=t.toArray();!t.sign&&128&n[0]&&n.unshift(0),t=new i(n)}if(i.isBuffer(t)){var r=t.length;0===t.length&&r++;var o=new i(r);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);r=1;for(var s=t;s>=256;s>>=8)r++;for(s=(o=new Array(r)).length-1;s>=0;s--)o[s]=255&t,t>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,n){var r,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r>>1];n=o.r28shl(n,a),i=o.r28shl(i,a),o.pc2(n,i,t.keys,s)}},u.prototype._update=function(t,e,n,r){var i=this._desState,s=o.readUInt32BE(t,e),a=o.readUInt32BE(t,e+4);o.ip(s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,s,a,i.tmp,0):this._decrypt(i,s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],o.writeUInt32BE(n,s,r),o.writeUInt32BE(n,a,r+4)},u.prototype._pad=function(t,e){for(var n=t.length-e,r=e;r>>0,s=d}o.rip(a,s,r,i)},u.prototype._decrypt=function(t,e,n,r,i){for(var s=n,a=e,u=t.keys.length-2;u>=0;u-=2){var c=t.keys[u],h=t.keys[u+1];o.expand(s,t.tmp,0),c^=t.tmp[0],h^=t.tmp[1];var l=o.substitute(c,h),d=s;s=(a^o.permute(l))>>>0,a=d}o.rip(s,a,r,i)}},LxOh:function(t,e,n){"use strict";t.exports=function(t,e){return function(n,r){var i=2*r,o=2*e;n[i]=t[o],n[i+1]=t[o+1]}}},Ly9c:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.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(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("TiKg"))},MEmy:function(t,e,n){var r=n("pRMk").Buffer,i=n("cXWM"),o=n("5Wkw"),s=n("6MVH").ec,a=n("8kJ5"),u=n("LER9"),c=n("Jlhb");function h(t,e,n,o){if((t=r.from(t.toArray())).length0&&n.ishrn(r),n}function d(t,e,n){var o,s;do{for(o=r.alloc(0);8*o.length15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},d.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),n=-1;++n0&&c>u&&(c=u);for(var h=0;h=0?(l=_.substr(0,m),d=_.substr(m+1)):(l=_,d=""),f=decodeURIComponent(l),p=decodeURIComponent(d),r(s,f)?i(s[f])?s[f].push(p):s[f]=[s[f],p]:s[f]=p}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},MTcW:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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("TiKg"))},"MV+h":function(t,e,n){var r=n("pRMk").Buffer;function i(t,e,n){for(var r,i,s=-1,a=0;++s<8;)r=e&1<<7-s?128:0,a+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^r))>>s%8,t._prev=o(t._prev,n?r:i);return a}function o(t,e){var n=t.length,i=-1,o=r.allocUnsafe(t.length);for(t=r.concat([t,r.from([e])]);++i>7;return o}e.encrypt=function(t,e,n){for(var o=e.length,s=r.allocUnsafe(o),a=-1;++a(Math.pow(2,32)-1)*d)){t.next=5;break}throw new Error("DerivedKeyTooLong");case 5:for(p=Math.ceil(a/d),_=a-(p-1)*d,m=function(){var t=(0,o.default)(i.default.mark((function t(o){var s,a,c,d;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=new Uint8Array(n.length+4)).set(n),s.set(l(o+1,4),n.length),t.next=5,u.default.compute(e,s,h);case 5:a=t.sent,c=new Uint8Array(a),d=1;case 8:if(!(d>8*(e-r-1);return n},d=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o,u){var h,l;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(f(e,n,r,o,u),"string"==typeof e&&(e=s.default.encoder.stringToArrayBuffer(e)),!(o>c.default.hashes[u].hashSize)){t.next=4;break}throw new Error("DerivedKeyTooLong");case 4:(h=new Uint8Array(e.length+n.length)).set(e),h.set(n,e.length),l=0;case 8:if(!(l1&&~~(t/10)%10!=1}function o(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(i(t)?"godziny":"godzin");case"ww":return r+(i(t)?"tygodnie":"tygodni");case"MM":return r+(i(t)?"miesiące":"miesięcy");case"yy":return r+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,r){return t?/D MMMM/.test(r)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},Mjob:function(t,e,n){"use strict";var r=n("HpGB"),i=n("a/ED");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},N7sV:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.verify=e.compute=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("WpTu")),u=r(n("wQqr")),c=i(n("cO3T")),h=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,c,h,d,f,p,_,m,y,v=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=v.length>2&&void 0!==v[2]?v[2]:"SHA-256",i=u.getWebCryptoAll(),s=u.getNodeCrypto(),c=!0,void 0===i||"function"!=typeof i.importKey||"function"!=typeof i.sign){t.next=38;break}if(void 0!==window.msCrypto){t.next=21;break}return t.prev=6,t.next=9,i.importKey("raw",e,{name:"HMAC",hash:{name:r}},!1,["sign","verify"]);case 9:return h=t.sent,t.next=12,i.sign({name:"HMAC",hash:{name:r}},h,n);case 12:return d=t.sent,t.abrupt("return",new Uint8Array(d));case 16:t.prev=16,t.t0=t.catch(6),c=!1;case 19:t.next=36;break;case 21:return t.prev=21,f=function(t,e,n,r,o){return new Promise((function(s,a){var u=i.importKey(t,e,n,r,o);u.oncomplete=function(t){s(t.target.result)},u.onerror=function(){a("KeyImportingFailed")}}))},p=function(t,e,n){return new Promise((function(r,o){var s=i.sign({name:"HMAC",hash:{name:t}},e,n);s.oncomplete=function(t){r(new Uint8Array(t.target.result))},s.onerror=function(){o("ComputingHMACFailed")}}))},t.next=26,f("raw",e,{name:"HMAC",hash:{name:r}},!1,["sign","verify"]);case 26:return _=t.sent,t.next=29,p(r,_,n);case 29:return m=t.sent,t.abrupt("return",new Uint8Array(m));case 33:t.prev=33,t.t1=t.catch(21),c=!1;case 36:t.next=50;break;case 38:if(void 0===s){t.next=49;break}return t.prev=39,y=s.createHmac(a.default.hashes[r].nodeName,e),t.abrupt("return",new Uint8Array(y.update(n).digest()));case 44:t.prev=44,t.t2=t.catch(39),c=!1;case 47:t.next=50;break;case 49:c=!1;case 50:if(c){t.next=60;break}return t.prev=51,t.next=54,l(e,n,r);case 54:return t.abrupt("return",t.sent);case 57:throw t.prev=57,t.t3=t.catch(51),new Error("UnsupportedEnvironments");case 60:case"end":return t.stop()}}),t,null,[[6,16],[21,33],[39,44],[51,57]])})));return function(e,n){return t.apply(this,arguments)}}();e.compute=h;var l=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,u,h,l,d,f,p;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=a.default.hashes[r].blockSize,s=a.default.hashes[r].hashSize,!(e.length>i)){t.next=6;break}return t.next=5,c.default.compute(e,r);case 5:e=t.sent;case 6:return(u=new Uint8Array(i)).set(e),h=u.map((function(t){return 255&(54^t)})),l=u.map((function(t){return 255&(92^t)})),(d=new Uint8Array(i+n.length)).set(h),d.set(n,i),t.next=15,c.default.compute(d,r);case 15:return f=t.sent,(p=new Uint8Array(i+s)).set(l),p.set(f,i),t.abrupt("return",c.default.compute(p,r));case 20:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,a=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=a.length>3&&void 0!==a[3]?a[3]:"SHA-256",r instanceof Uint8Array){t.next=3;break}throw new Error("InvalidInputMac");case 3:return t.next=5,h(e,n,i);case 5:return s=t.sent,t.abrupt("return",r.toString()===s.toString());case 7:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.verify=d},NOeq:function(t,e,n){"use strict";var r;function i(){if(!r){var t=window.navigator.userAgent.toLowerCase();r=/iphone|ipad|ipod/.test(t)?"ios":/android/.test(t)?"android":"web"}return r}function o(){r=void 0}n.r(e),n.d(e,"_cleanupCachedOS",(function(){return o})),n.d(e,"getOS",(function(){return i}))},NQcR:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("TiKg"))},NToG:function(t,e){function n(t,e){for(var n=0;n=100?100:null])}},week:{dow:1,doy:7}})}(n("TiKg"))},O477:function(t,e,n){"use strict";var r=n("tFbo"),i=n("LRLT"),o=n("siiD");function s(t){if(!(this instanceof s))return new s(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),n=i.toArray(t.nonce,t.nonceEnc||"hex"),r=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}t.exports=s,s.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},s.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(r=n,n=e,e=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length=500?[4,R()]:[3,9];case 7:return a.sent(),[4,B(P,{msit:e,mstChallenge:n,onSuccess:o,onError:s,reconnectCount:c+=1})];case 8:return a.sent(),[3,20];case 9:return l.status>=400&&500>l.status?[4,Y(l)]:[3,11];case 10:return(f=a.sent())?(d=f.errorDetail,s(Object(i.j)(r.f,d))):s(Object(i.j)(r.z,"Some error happened in the server")),[3,20];case 11:return 200!==l.status?[3,19]:[4,Y(l)];case 12:return(f=a.sent())?[3,13]:(s(Object(i.j)(r.z,"Some error happened in the server")),[3,18]);case 13:switch(p=f.status,_=f.result,p){case r.r:return[3,14];case r.q:case r.p:case r.x:return[3,16]}return[3,17];case 14:return[4,B(P,{msit:e,mstChallenge:n,onSuccess:o,onError:s,reconnectCount:c})];case 15:return a.sent(),[3,18];case 16:return o(p,_),[3,18];case 17:s(Object(i.j)(r.z,"Some error happened in the server")),a.label=18;case 18:return[3,20];case 19:s(Object(i.j)(r.z,"Some error happened in the server")),a.label=20;case 20:return[2]}}))}))}function R(){return new Promise((function(t){return setTimeout(t,1e3)}))}function Y(t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t.json()];case 1:return[2,e.sent()];case 2:return e.sent(),[2,null];case 3:return[2]}}))}))}function B(t,e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){switch(n.label){case 0:return e.reconnectCount>=10?(e.onError(Object(i.j)(r.z,"Failed to connect")),[3,3]):[3,1];case 1:return[4,t(e)];case 2:n.sent(),n.label=3;case 3:return[2]}}))}))}function N(t){var e={};return Object.keys(t).forEach((function(n){"closeButtonColor"===n?"white"===t[n]?e[n]="#ffffff":e[n]="#000000":e[n]=t[n]})),e}var j={height:"full",closeButtonPosition:"right",closeButtonColor:"black",closeButtonLabel:""};function F(){if(!Object(d.isSubWindow)())throw Object(i.j)(r.y,"this api can be only called in child window")}function U(t){if(!t.mst||!t.status)return Promise.reject(Object(i.j)(r.f,"no proper argument"));var e=JSON.stringify(t);return Object(h.a)(Object(h.b)("subWindowPost"),{method:"POST",body:e})}function G(t){var e=t.msit,n=t.mstVerifier;return e&&n?Object(h.a)(Object(h.b)("subWindowGetMSTByMSIT"),{method:"POST",body:JSON.stringify({msit:e,mstVerifier:n})}):Promise.reject(Object(i.j)(r.f,"no proper argument"))}function H(t){var e=t.mst;return e?Object(h.a)(Object(h.b)("subWindowGetAppData"),{method:"POST",body:JSON.stringify({mst:e})}):Promise.reject(Object(i.j)(r.f,"no proper argument"))}var V={on:function(t,e){_[t]||(_[t]=[]),_[t].push(e)},off:function(t,e){if(_[t]){var n=_[t].indexOf(e);n>=0&&_[t].splice(n,1)}},open:function(t){if(!Object(s.isApiAvailable)("subwindowOpen"))throw Object(i.j)(r.d,"No permission for liff.subWindow.open()");return function(){if(Object(d.isSubWindow)())throw Object(i.j)(r.y,"this api can be only called in parent window")}(),Object(o.isInClient)()?function(t){var e=t.appData,n=t.native,o=Object(l.getConfig)().liffId,s=Object(l.getMSTChallenge)(),a=Object(i.l)(t.url);if(!o)return Promise.reject(Object(i.j)(r.y,"liffId is invalid"));if(!s)return Promise.reject(Object(i.j)(r.y,"mst_challenge is invalid"));if(!a)return Promise.reject(Object(i.j)(r.f,"params.url must be liff url"));var u=Object.assign({},j,n);return function(t){var e=t.mainLiffId,n=t.subLiffId,o=t.mstChallenge,s=t.appData,a=t.view;return e&&o?Object(h.a)(Object(h.b)("subWindowGetMSIT"),{method:"POST",body:JSON.stringify({mainLiffId:e,subLiffId:n,mstChallenge:o,appData:s,view:a})}):Promise.reject(Object(i.j)(r.f,"no proper argument"))}({mainLiffId:o,subLiffId:a,mstChallenge:s,appData:e,view:N(u)}).then((function(e){var n=e.msit;P({msit:n,mstChallenge:s,onSuccess:function(t,e){m(t,e)},onError:function(t){m(r.r,t)}}),function(t,e){var n=t.url,i=new URLSearchParams;i.set("msit",e),location.href=r.v+"?url="+encodeURIComponent(n)+"&"+i.toString()}(t,n)}))}(t):function(t){var e=Object(i.l)(t.url);if(!e)return Promise.reject(Object(i.j)(r.f,"params.url must be liff url"));!function(){I(),S(!1);var t=A();t&&(t.close(),T(null))}();var n,o,s,u,h=t.url,l=t.appData,d=new URL(h);d.searchParams.append(r.u,"true"),d.hostname=(n=d.hostname,s=(o=Object(a.e)(n.split(".")))[0],u=o.slice(1),Object(a.f)([s+"-ext"],u).join("."));var f=d.toString();return T("ios"!==Object(c.getOS)()||Object(i.p)()?window.open("","liffsubwindow","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open()),p(e).then((function(t){var e,n=t.origin,o=t.subwindowCommonModule,s=A();if(!s)throw Object(i.j)(r.a);o?(function(t){g=t}(n),window.addEventListener("message",O),s.location.href=f,e=function(t,e){var n=A(),i={type:r.t};return e&&(i.message=JSON.stringify(e)),window.setInterval((function(){null==n||n.postMessage(i,t)}),r.s)}(n,l),b=e,function(t){v=t}(window.setInterval((function(){var t=A();t&&t.closed&&(I(),T(null),!1===M()&&(S(!0),m(r.q,{})))}),r.w))):s.close()}))}(t)},cancel:function(t){return void 0===t&&(t={}),F(),Object(o.isInClient)()?function(t){return void 0===t&&(t={}),Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(o){switch(o.label){case 0:return(e=Object(l.getMST)())?[4,U({mst:e,status:r.p,result:t})]:[2,Promise.reject(Object(i.j)(r.y,"mst is invalid"))];case 1:return n=o.sent(),S(!0),[2,n]}}))}))}(t):function(t){return void 0===t&&(t={}),k(r.p,t)}(t)},submit:function(t){return void 0===t&&(t={}),F(),Object(o.isInClient)()?function(t){return void 0===t&&(t={}),Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(o){switch(o.label){case 0:return(e=Object(l.getMST)())?[4,U({mst:e,status:r.x,result:t})]:[2,Promise.reject(Object(i.j)(r.y,"mst is invalid"))];case 1:return n=o.sent(),S(!0),[2,n]}}))}))}(t):function(t){return void 0===t&&(t={}),k(r.x,t)}(t)},close:function(){return F(),Object(o.isInClient)()?function(){return Object(a.b)(this,void 0,void 0,(function(){var t;return Object(a.d)(this,(function(e){switch(e.label){case 0:return!1!==M()?[3,2]:(t=Object(l.getMST)())?[4,U({mst:t,status:r.q,result:{}})]:[2,Promise.reject(Object(i.j)(r.y,"mst is invalid"))];case 1:e.sent(),e.label=2;case 2:return Object(f.closeWindow)(),[2]}}))}))}():(Object(f.closeWindow)(),Promise.resolve())},getAppData:function(){return F(),function(){var t,e=Object(l.getAppData)();try{t=e?JSON.parse(e):{}}catch(e){t={}}return Promise.resolve(t)}()}}},Odsn:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},Of5m:function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},Olfb:function(t,e,n){"use strict";var r=n("qykS").Buffer,i=n("wfEq"),o=n("ThzV"),s=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],l=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function f(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<>>32-e}function _(t,e,n,r,i,o,s,a){return p(t+(e^n^r)+o+s|0,a)+i|0}function m(t,e,n,r,i,o,s,a){return p(t+(e&n|~e&r)+o+s|0,a)+i|0}function y(t,e,n,r,i,o,s,a){return p(t+((e|~n)^r)+o+s|0,a)+i|0}function v(t,e,n,r,i,o,s,a){return p(t+(e&r|n&~r)+o+s|0,a)+i|0}function b(t,e,n,r,i,o,s,a){return p(t+(e^(n|~r))+o+s|0,a)+i|0}i(f,o),f.prototype._update=function(){for(var t=s,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,f=0|this._e,g=0|this._a,w=0|this._b,x=0|this._c,M=0|this._d,S=0|this._e,T=0;T<80;T+=1){var A,E;T<16?(A=_(n,r,i,o,f,t[a[T]],l[0],c[T]),E=b(g,w,x,M,S,t[u[T]],d[0],h[T])):T<32?(A=m(n,r,i,o,f,t[a[T]],l[1],c[T]),E=v(g,w,x,M,S,t[u[T]],d[1],h[T])):T<48?(A=y(n,r,i,o,f,t[a[T]],l[2],c[T]),E=y(g,w,x,M,S,t[u[T]],d[2],h[T])):T<64?(A=v(n,r,i,o,f,t[a[T]],l[3],c[T]),E=m(g,w,x,M,S,t[u[T]],d[3],h[T])):(A=b(n,r,i,o,f,t[a[T]],l[4],c[T]),E=_(g,w,x,M,S,t[u[T]],d[4],h[T])),n=f,f=o,o=p(i,10),i=r,r=A,g=S,S=M,M=p(x,10),x=w,w=E}var L=this._b+i+M|0;this._b=this._c+o+S|0,this._c=this._d+f+g|0,this._d=this._e+n+w|0,this._e=this._a+r+x|0,this._a=L},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=r.alloc?r.alloc(20):new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=f},OmE2:function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},PXYQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"compute",{enumerable:!0,get:function(){return r.compute}}),Object.defineProperty(e,"verify",{enumerable:!0,get:function(){return r.verify}}),e.default=void 0;var r=n("N7sV"),i={compute:r.compute,verify:r.verify};e.default=i},Pfmo:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},PunD:function(t,e){var n=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!=e)throw new TypeError("Bad key length")}},Pyak:function(t,e,n){"use strict";n.r(e),n.d(e,"PermissionModule",(function(){return w})),n.d(e,"attachChecker",(function(){return g})),n.d(e,"module",(function(){return x}));var r=n("bb6g"),i=n("kp3F"),o=n("eJvy"),s=n("JpNb"),a=n("2q8S"),u=n("YaxJ"),c=n("OOa2"),h=n("YVk5");function l(t){return Object(r.b)(this,void 0,void 0,(function(){var e,n,u,c,h,l,d;return Object(r.d)(this,(function(f){switch(f.label){case 0:return function(t){if(!i.l.includes(t))throw Object(o.j)(i.f,"Unexpected permission name.");var e=Object(s.getContext)();return!!(null==e?void 0:e.scope.includes(t))}(t)?(e=Object(s.getAccessToken)())?[4,Object(a.d)(e)]:[3,2]:[2,{state:"unavailable"}];case 1:n=f.sent(),u=unescape(n.scope).split(" ");try{for(c=Object(r.g)(u),h=c.next();!h.done;h=c.next())if(h.value.includes(t))return[2,{state:"granted"}]}catch(t){l={error:t}}finally{try{h&&!h.done&&(d=c.return)&&d.call(c)}finally{if(l)throw l.error}}return[2,{state:"prompt"}];case 2:throw Object(o.j)(i.y,"LiffId is not found.")}}))}))}function d(){var t,e,n=Object(s.getContext)();return!!n&&"square_chat"!==n.type&&(Object(h.isApiAvailable)("skipChannelVerificationScreen")||!Object(u.isInClient)()&&(null===(e=null===(t=n.availability)||void 0===t?void 0:t.skipChannelVerificationScreen)||void 0===e?void 0:e.permission))}function f(){var t=Object(s.getConfig)().liffId;if(t)return Object(a.a)(Object(a.b)("unauthorizedPermissions")+"?liffId="+t,{headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer "+Object(s.getAccessToken)()}});throw Object(o.j)(i.y,"liffId is required")}var p,_=c.subWindow.on,m=c.subWindow.off,y=c.subWindow.open,v=function(){function t(t,e){var n=this;this.onSubmit=function(t){var e=t.newAccessToken,s=t.error;return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(t){return e?this.resolve({newAccessToken:e}):s&&this.reject(Object(o.j)(i.z,s)),this.teardown(),[2]}))}))},this.onClose=function(){return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(t){return this.reject(Object(o.j)(i.y,"user didn't allow the agreement")),this.teardown(),[2]}))}))},this.onCancel=function(){return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(t){return this.reject(Object(o.j)(i.y,"user didn't allow the agreement")),this.teardown(),[2]}))}))},this.onError=function(t){return Object(r.b)(n,void 0,void 0,(function(){return Object(r.d)(this,(function(e){return this.reject(t),this.teardown(),[2]}))}))},this.resolve=t,this.reject=e,this.setup()}return t.prototype.setup=function(){_("submit",this.onSubmit),_("close",this.onClose),_("cancel",this.onCancel),_("error",this.onError)},t.prototype.teardown=function(){m("submit",this.onSubmit),m("close",this.onClose),m("cancel",this.onCancel),m("error",this.onError),p=void 0},t.prototype.open=function(){var t=Object(s.getConfig)().liffId;t?y({url:"https://liff.line.me/1656032314-Xgrw5Pmk",appData:{liffId:t,channelId:Object(o.k)(t),accessToken:Object(s.getAccessToken)()}}):this.reject(Object(o.j)(i.y,"liffId is required"))},t}();function b(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(!d())throw Object(o.j)(i.d,"SkipChannelVerificationScreen is unavailable.");return p&&p.teardown(),[4,f()];case 1:return t=n.sent(),(Object(u.isInClient)()?t:t.filter((function(t){return"chat_message.write"!==t}))).length>0?[4,new Promise((function(t,e){(p=new v(t,e)).open()}))]:[3,3];case 2:return e=n.sent().newAccessToken,Object(s.setAccessToken)(e),[3,4];case 3:throw Object(o.j)(i.d,"All permissions have already been approved.");case 4:return[2]}}))}))}function g(t,e){var n=this;return function(){for(var s=[],a=0;a0?s[s.length-1]:{}).ignorePermissionCheck,a=void 0!==n&&n,[4,l(e)];case 1:if("unavailable"!==(c=h.sent().state))return[3,2];throw Object(o.j)(i.d,"The permission is not in LIFF app scope.");case 2:return"prompt"!==c||!d()||a||!Object(u.isInClient)()&&"chat_message.write"===e?[3,4]:[4,b()];case 3:return h.sent(),[3,5];case 4:a&&s.pop(),h.label=5;case 5:return[4,t.apply(void 0,Object(r.f)(s))];case 6:return[2,h.sent()]}}))}))}}var w=function(){function t(){this.name="permission"}return t.prototype.install=function(){return{query:l,requestAll:b}},t}(),x=new w},"Q6g+":function(t,e,n){(function(e){var r=n("6MVH"),i=n("8kJ5");t.exports=function(t){return new s(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function a(t,n,r){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(r&&i.length=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},RoC8:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Rs7L:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt=e.encrypt=e.unwrapKey=e.wrapKey=void 0;var i=r(n("EvBf"));e.wrapKey=function(t,e,n,r){var i=n.name,s=void 0===i?"AES-KW":i,a=n.iv;return o(t,e,{name:s,iv:a},r,!0)};e.unwrapKey=function(t,e,n,r){var i=n.name,o=void 0===i?"AES-KW":i,a=n.iv;return s(t,e,{name:o,iv:a},r,!0)};var o=function(t,e,n,r){var o,s,u,c,h=n.name,l=n.iv,d=n.additionalData,f=n.tagLength,p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=a(h,e.byteLength,p?i.default.wrapKeys:i.default.ciphers);switch(h){case"AES-GCM":(o=r.createCipheriv(_,e,l,{authTagLength:f})).setAAD(d);break;case"AES-CTR":if(0===l.length||l.length>16)throw new Error("InvalidIVLength");var m=new Uint8Array(16);m.set(l),m[15]+=1,o=r.createCipheriv(_,e,m);break;default:o=r.createCipheriv(_,e,l)}try{s=new Uint8Array(o.update(t)),u=new Uint8Array(o.final()),c=new Uint8Array([]),"AES-GCM"===h&&(c=new Uint8Array(o.getAuthTag()))}catch(t){throw new Error("NodeCrypto_EncryptionFailure")}var y=new Uint8Array(s.length+u.length+c.length);return y.set(s),y.set(u,s.length),y.set(c,s.length+u.length),y};e.encrypt=o;var s=function(t,e,n,r){var o,s,u,c,h=n.name,l=n.iv,d=n.additionalData,f=n.tagLength,p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_=a(h,e.byteLength,p?i.default.wrapKeys:i.default.ciphers);switch(h){case"AES-GCM":(o=r.createDecipheriv(_,e,l,{authTagLength:f})).setAAD(d),s=t.slice(0,t.length-f);var m=t.slice(t.length-f);o.setAuthTag(m);break;case"AES-CTR":if(0===l.length||l.length>16)throw new Error("InvalidIVLength");var y=new Uint8Array(16);y.set(l),y[15]+=1,o=r.createDecipheriv(_,e,y),s=t;break;default:o=r.createDecipheriv(_,e,l),s=t}try{u=o.update(s),c=o.final()}catch(t){throw new Error("NodeCrypto_DecryptionFailure")}var v=new Uint8Array(c.length+u.length);return v.set(u),v.set(c,u.length),v};e.decrypt=s;var a=function(t,e,n){var r=n[t].nodePrefix;return(r="".concat(r).concat((8*e).toString()))+n[t].nodeSuffix}},Rvex:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Key",{enumerable:!0,get:function(){return r.Key}}),e.default=void 0;var r=n("dIx8"),i={Key:r.Key};e.default=i},Rzld:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},S2bg:function(t,e,n){var r=n("pRMk").Buffer,i=r.alloc(16,0);function o(t){var e=r.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function s(t){this.h=t,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(t){for(var e=-1;++e0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},s.prototype.update=function(t){var e;for(this.cache=r.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},s.prototype.final=function(t,e){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=s},SDJZ:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},SDgz:function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("X9FS"));e.encoder=i;var o=r(n("WFt6"));e.formatter=o,e.default={encoder:i,formatter:o}},SKOl:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n("TiKg"))},SPmb:function(t,e,n){"use strict";var r=n("+Gs+"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),u=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=r.define("RDNSequence",(function(){this.seqof(u)})),h=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),l=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),f=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(h),this.key("validity").use(l),this.key("subject").use(h),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));t.exports=p},SRLO:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={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"};t.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(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var r=t%10;return t+(e[r]||e[t%100-r]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("TiKg"))},SUNt:function(t,e,n){var r=n("nIf0"),i=n("Olfb"),o=n("thXI"),s=n("pRMk").Buffer,a=n("PunD"),u=n("cDjl"),c=n("h07j"),h=s.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(t,e,n){var a=function(t){function e(e){return o(t).update(e).digest()}return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?r:e}(t),u="sha512"===t||"sha384"===t?128:64;e.length>u?e=a(e):e.length-1}function i(t,e){return r(t)&&t._isRouter&&(null==e||t.type===e)}function o(t,e){for(var n in e)t[n]=e[n];return t}var s={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,s=e.data;s.routerView=!0;for(var u=i.$createElement,c=n.name,h=i.$route,l=i._routerViewCache||(i._routerViewCache={}),d=0,f=!1;i&&i._routerRoot!==i;){var p=i.$vnode?i.$vnode.data:{};p.routerView&&d++,p.keepAlive&&i._directInactive&&i._inactive&&(f=!0),i=i.$parent}if(s.routerViewDepth=d,f){var _=l[c],m=_&&_.component;return m?(_.configProps&&a(m,s,_.route,_.configProps),u(m,s,r)):u()}var y=h.matched[d],v=y&&y.components[c];if(!y||!v)return l[c]=null,u();l[c]={component:v},s.registerRouteInstance=function(t,e){var n=y.instances[c];(e&&n!==t||!e&&n===t)&&(y.instances[c]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){y.instances[c]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==y.instances[c]&&(y.instances[c]=t.componentInstance)};var b=y.props&&y.props[c];return b&&(o(l[c],{route:h,configProps:b}),a(v,s,h,b)),u(v,s,r)}};function a(t,e,n,r){var i=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,r);if(i){i=e.props=o({},i);var s=e.attrs=e.attrs||{};for(var a in i)t.props&&a in t.props||(s[a]=i[a],delete i[a])}}var u=/[!'()*]/g,c=function(t){return"%"+t.charCodeAt(0).toString(16)},h=/%2C/g,l=function(t){return encodeURIComponent(t).replace(u,c).replace(h,",")},d=decodeURIComponent;function f(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=d(n.shift()),i=n.length>0?d(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return l(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(l(e)):r.push(l(e)+"="+l(t)))})),r.join("&")}return l(e)+"="+l(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var _=/\/?$/;function m(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=y(o)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:g(e,i),matched:t?b(t):[]};return n&&(s.redirectedFrom=g(n,i)),Object.freeze(s)}function y(t){if(Array.isArray(t))return t.map(y);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=y(t[n]);return e}return t}var v=m(null,{path:"/"});function b(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function g(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||p)(r)+i}function w(t,e){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(_,"")===e.path.replace(_,"")&&t.hash===e.hash&&x(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&x(t.query,e.query)&&x(t.params,e.params)))}function x(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((function(n){var r=t[n],i=e[n];return"object"==typeof r&&"object"==typeof i?x(r,i):String(r)===String(i)}))}function M(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),h=e&&e.path||"/",l=c.path?M(c.path,h,n||i.append):h,d=function(t,e,n){void 0===e&&(e={});var r,i=n||f;try{r=i(t||"")}catch(t){r={}}for(var o in e)r[o]=e[o];return r}(c.query,i.query,r&&r.options.parseQuery),p=i.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:l,query:d,hash:p}}var V,z=function(){},W={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),s=i.location,a=i.route,u=i.href,c={},h=n.options.linkActiveClass,l=n.options.linkExactActiveClass,d=null==h?"router-link-active":h,f=null==l?"router-link-exact-active":l,p=null==this.activeClass?d:this.activeClass,y=null==this.exactActiveClass?f:this.exactActiveClass,v=a.redirectedFrom?m(null,H(a.redirectedFrom),null,n):a;c[y]=w(r,v),c[p]=this.exact?c[y]:function(t,e){return 0===t.path.replace(_,"/").indexOf(e.path.replace(_,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var b=c[y]?this.ariaCurrentValue:null,g=function(t){X(t)&&(e.replace?n.replace(s,z):n.push(s,z))},x={click:X};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=g})):x[this.event]=g;var M={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:a,navigate:g,isActive:c[p],isExactActive:c[y]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)M.on=x,M.attrs={href:u,"aria-current":b};else{var T=function t(e){var n;if(e)for(var r=0;r-1&&(a.params[d]=n.params[d]);return a.path=G(h.path,a.params),u(h,a,s)}if(a.path){a.params={};for(var f=0;f=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function bt(t){return function(e,n,i){var o=!1,s=0,a=null;gt(t,(function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){o=!0,s++;var c,h=Mt((function(e){var r;((r=e).__esModule||xt&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:V.extend(e),n.components[u]=e,--s<=0&&i()})),l=Mt((function(t){var e="Failed to resolve async component "+u+": "+t;a||(a=r(t)?t:new Error(e),i(a))}));try{c=t(h,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(h,l);else{var d=c.component;d&&"function"==typeof d.then&&d.then(h,l)}}})),o||i()}}function gt(t,e){return wt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function wt(t){return Array.prototype.concat.apply([],t)}var xt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Mt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var St=1,Tt=2,At=3,Et=4;function Lt(t,e){return Ct(t,e,St,'Redirected from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return kt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Dt(t,e){return Ct(t,e,At,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ct(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var kt=["params","query","hash"];var Ot=function(t,e){this.router=t,this.base=function(t){if(!t)if(J){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function It(t,e,n,r){var i=gt(t,(function(t,r,i,o){var s=function(t,e){"function"!=typeof t&&(t=V.extend(t));return t.options[e]}(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,r,i,o)})):n(s,r,i,o)}));return wt(r?i.reverse():i)}function Pt(t,e){if(e)return function(){return t.apply(e,arguments)}}Ot.prototype.listen=function(t){this.cb=t},Ot.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ot.prototype.onError=function(t){this.errorCbs.push(t)},Ot.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,(function(){var t=r.current;r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(e){e&&e(i,t)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)})))}))},Ot.prototype.confirmTransition=function(t,e,n){var o,s=this,a=this.current,u=function(t){!i(t)&&r(t)&&(s.errorCbs.length?s.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)};if(w(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),u(Ct(o=a,t,Et,'Avoided redundant navigation to current location: "'+o.fullPath+'".'));var c=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=_t&&n;r&&this.listeners.push(ot());var i=function(){var n=t.current,i=Yt(t.base);t.current===v&&i===t._startLocation||t.transitionTo(i,(function(t){r&&st(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){mt(S(r.base+t.fullPath)),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){yt(S(r.base+t.fullPath)),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Yt(this.base)!==this.current.fullPath){var e=S(this.base+this.current.fullPath);t?mt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Yt(this.base)},e}(Ot);function Yt(t){var e=decodeURI(window.location.pathname);return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Bt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Yt(t);if(!/^\/#/.test(e))return window.location.replace(S(t+"/#"+e)),!0}(this.base)||Nt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=_t&&e;n&&this.listeners.push(ot());var r=function(){var e=t.current;Nt()&&t.transitionTo(jt(),(function(r){n&&st(t.router,r,e,!0),_t||Gt(r.fullPath)}))},i=_t?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Ut(t.fullPath),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Gt(t.fullPath),st(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;jt()!==e&&(t?Ut(e):Gt(e))},e.prototype.getCurrentLocation=function(){return jt()},e}(Ot);function Nt(){var t=jt();return"/"===t.charAt(0)||(Gt("/"+t),!1)}function jt(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";var n=(t=t.slice(e+1)).indexOf("?");if(n<0){var r=t.indexOf("#");t=r>-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else t=decodeURI(t.slice(0,n))+t.slice(n);return t}function Ft(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ut(t){_t?mt(Ft(t)):window.location.hash=t}function Gt(t){_t?yt(Ft(t)):window.location.replace(Ft(t))}var Ht=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){e.index=n,e.updateRoute(r)}),(function(t){i(t,Et)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ot),Vt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=$(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!_t&&!1!==t.fallback,this.fallback&&(e="hash"),J||(e="abstract"),this.mode=e,e){case"history":this.history=new Rt(this,t.base);break;case"hash":this.history=new Bt(this,t.base,this.fallback);break;case"abstract":this.history=new Ht(this,t.base);break;default:0}},zt={currentRoute:{configurable:!0}};function Wt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Vt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},zt.currentRoute.get=function(){return this.history&&this.history.current},Vt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardownListeners()})),!this.app){this.app=t;var n=this.history;if(n instanceof Rt||n instanceof Bt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Vt.prototype.beforeEach=function(t){return Wt(this.beforeHooks,t)},Vt.prototype.beforeResolve=function(t){return Wt(this.resolveHooks,t)},Vt.prototype.afterEach=function(t){return Wt(this.afterHooks,t)},Vt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Vt.prototype.onError=function(t){this.history.onError(t)},Vt.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Vt.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Vt.prototype.go=function(t){this.history.go(t)},Vt.prototype.back=function(){this.go(-1)},Vt.prototype.forward=function(){this.go(1)},Vt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Vt.prototype.resolve=function(t,e,n){var r=H(t,e=e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?S(t+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Vt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Vt.prototype,zt),Vt.install=function t(e){if(!t.installed||V!==e){t.installed=!0,V=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",s),e.component("RouterLink",W);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Vt.version="3.3.2",J&&window.Vue&&window.Vue.use(Vt),e.a=Vt},T1e2:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},T9ox:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},TDIH:function(t,e,n){"use strict";var r=n("ovh1"),i=n("5QbJ"),o=n("uahg"),s=n("Zrjs");function a(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=a(n("bRtl"));u.Axios=o,u.create=function(t){return a(s(u.defaults,t))},u.Cancel=n("tImM"),u.CancelToken=n("OHXD"),u.isCancel=n("e5jZ"),u.all=function(t){return Promise.all(t)},u.spread=n("6s8r"),u.isAxiosError=n("OBDY"),t.exports=u,t.exports.default=u},THQi:function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,a){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?o(s(t),(function(s){var a=encodeURIComponent(r(s))+n;return i(t[s])?o(t[s],(function(t){return a+encodeURIComponent(r(t))})).join(e):a+encodeURIComponent(r(t[s]))})).join(e):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r=this._blockSize;){for(var o=this._blockOffset;o0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},TiKg:function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function c(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var n,r=[];for(n=0;n>>0;for(e=0;e0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)a(t,e)&&n.push(e);return n};var O=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};function Y(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(R[t]=i),e&&(R[e[0]]=function(){return k(i.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function B(t,e){return t.isValid()?(e=N(e,t.localeData()),P[e]=P[e]||function(t){var e,n,r,i=t.match(O);for(e=0,n=i.length;e=0&&I.test(t);)t=t.replace(I,r),I.lastIndex=0,n-=1;return t}var j={};function F(t,e){var n=t.toLowerCase();j[n]=j[n+"s"]=j[e]=t}function U(t){return"string"==typeof t?j[t]||j[t.toLowerCase()]:void 0}function G(t){var e,n,r={};for(n in t)a(t,n)&&(e=U(n))&&(r[e]=t[n]);return r}var H={};function V(t,e){H[t]=e}function z(t){return t%4==0&&t%100!=0||t%400==0}function W(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function X(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=W(e)),n}function J(t,e){return function(n){return null!=n?(q(this,t,n),i.updateOffset(this,e),this):K(this,t)}}function K(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function q(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&z(t.year())&&1===t.month()&&29===t.date()?(n=X(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),xt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var $,Z=/\d/,Q=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,rt=/\d\d?/,it=/\d\d\d\d?/,ot=/\d\d\d\d\d\d?/,st=/\d{1,3}/,at=/\d{1,4}/,ut=/[+-]?\d{1,6}/,ct=/\d+/,ht=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,dt=/Z|[+-]\d\d(?::?\d\d)?/gi,ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){$[t]=L(e)?e:function(t,r){return t&&n?n:e}}function _t(t,e){return a($,t)?$[t](e._strict,e._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}$={};var yt,vt={};function bt(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),h(e)&&(r=function(t,n){n[e]=X(t)}),n=0;n68?1900:2e3)};var It=J("FullYear",!0);function Pt(t,e,n,r,i,o,s){var a;return t<100&&t>=0?(a=new Date(t+400,e,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,e,n,r,i,o,s),a}function Rt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Yt(t,e,n){var r=7+e-n;return-(7+Rt(t,0,r).getUTCDay()-e)%7+r-1}function Bt(t,e,n,r,i){var o,s,a=1+7*(e-1)+(7+n-r)%7+Yt(t,r,i);return a<=0?s=Ot(o=t-1)+a:a>Ot(t)?(o=t+1,s=a-Ot(t)):(o=t,s=a),{year:o,dayOfYear:s}}function Nt(t,e,n){var r,i,o=Yt(t.year(),e,n),s=Math.floor((t.dayOfYear()-o-1)/7)+1;return s<1?r=s+jt(i=t.year()-1,e,n):s>jt(t.year(),e,n)?(r=s-jt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=s),{week:r,year:i}}function jt(t,e,n){var r=Yt(t,e,n),i=Yt(t+1,e,n);return(Ot(t)-r+i)/7}function Ft(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),V("week",5),V("isoWeek",5),pt("w",rt),pt("ww",rt,Q),pt("W",rt),pt("WW",rt,Q),gt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=X(t)})),Y("d",0,"do","day"),Y("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Y("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Y("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),pt("d",rt),pt("e",rt),pt("E",rt),pt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),pt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),pt("dddd",(function(t,e){return e.weekdaysRegex(t)})),gt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:_(n).invalidWeekday=t})),gt(["d","e","E"],(function(t,e,n,r){e[r]=X(t)}));var Ut="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ht="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Vt=ft,zt=ft,Wt=ft;function Xt(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=yt.call(this._weekdaysParse,s))?i:null:"ddd"===e?-1!==(i=yt.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=yt.call(this._minWeekdaysParse,s))?i:null:"dddd"===e?-1!==(i=yt.call(this._weekdaysParse,s))||-1!==(i=yt.call(this._shortWeekdaysParse,s))||-1!==(i=yt.call(this._minWeekdaysParse,s))?i:null:"ddd"===e?-1!==(i=yt.call(this._shortWeekdaysParse,s))||-1!==(i=yt.call(this._weekdaysParse,s))||-1!==(i=yt.call(this._minWeekdaysParse,s))?i:null:-1!==(i=yt.call(this._minWeekdaysParse,s))||-1!==(i=yt.call(this._weekdaysParse,s))||-1!==(i=yt.call(this._shortWeekdaysParse,s))?i:null}function Jt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,s=[],a=[],u=[],c=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=mt(this.weekdaysMin(n,"")),i=mt(this.weekdaysShort(n,"")),o=mt(this.weekdays(n,"")),s.push(r),a.push(i),u.push(o),c.push(r),c.push(i),c.push(o);s.sort(t),a.sort(t),u.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Kt(){return this.hours()%12||12}function qt(t,e){Y(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function $t(t,e){return e._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Kt),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+Kt.apply(this)+k(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Kt.apply(this)+k(this.minutes(),2)+k(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+k(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+k(this.minutes(),2)+k(this.seconds(),2)})),qt("a",!0),qt("A",!1),F("hour","h"),V("hour",13),pt("a",$t),pt("A",$t),pt("H",rt),pt("h",rt),pt("k",rt),pt("HH",rt,Q),pt("hh",rt,Q),pt("kk",rt,Q),pt("hmm",it),pt("hmmss",ot),pt("Hmm",it),pt("Hmmss",ot),bt(["H","HH"],3),bt(["k","kk"],(function(t,e,n){var r=X(t);e[3]=24===r?0:r})),bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),bt(["h","hh"],(function(t,e,n){e[3]=X(t),_(n).bigHour=!0})),bt("hmm",(function(t,e,n){var r=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r)),_(n).bigHour=!0})),bt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r,2)),e[5]=X(t.substr(i)),_(n).bigHour=!0})),bt("Hmm",(function(t,e,n){var r=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r))})),bt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=X(t.substr(0,r)),e[4]=X(t.substr(r,2)),e[5]=X(t.substr(i))}));var Zt,Qt=J("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Mt,monthsShort:St,week:{dow:0,doy:6},weekdays:Ut,weekdaysMin:Ht,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function re(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n0;){if(r=oe(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&re(i,n)>=e-1)break;e--}o++}return Zt}(t)}function ce(t){var e,n=t._a;return n&&-2===_(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,_(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),_(t)._overflowWeeks&&-1===e&&(e=7),_(t)._overflowWeekday&&-1===e&&(e=8),_(t).overflow=e),t}var he=/^\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)?)?$/,le=/^\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)?)?$/,de=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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]],pe=[["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/]],_e=/^\/?Date\((-?\d+)/i,me=/^(?:(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}))$/,ye={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ve(t){var e,n,r,i,o,s,a=t._i,u=he.exec(a)||le.exec(a);if(u){for(_(t).iso=!0,e=0,n=fe.length;e7)&&(u=!0)):(o=t._locale._week.dow,s=t._locale._week.doy,c=Nt(Ae(),o,s),n=we(e.gg,t._a[0],c.year),r=we(e.w,c.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o),r<1||r>jt(n,o,s)?_(t)._overflowWeeks=!0:null!=u?_(t)._overflowWeekday=!0:(a=Bt(n,r,i,o,s),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=we(t._a[0],r[0]),(t._dayOfYear>Ot(s)||0===t._dayOfYear)&&(_(t)._overflowDayOfYear=!0),n=Rt(s,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Pt).apply(null,a),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(_(t).weekdayMismatch=!0)}}function Me(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],_(t).empty=!0;var e,n,r,o,s,a,u=""+t._i,c=u.length,h=0;for(r=N(t._f,t._locale).match(O)||[],e=0;e0&&_(t).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),h+=n.length),R[o]?(n?_(t).empty=!1:_(t).unusedTokens.push(o),wt(o,n,t)):t._strict&&!n&&_(t).unusedTokens.push(o);_(t).charsLeftOver=c-h,u.length>0&&_(t).unusedInput.push(u),t._a[3]<=12&&!0===_(t).bigHour&&t._a[3]>0&&(_(t).bigHour=void 0),_(t).parsedDateParts=t._a.slice(0),_(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(a=_(t).era)&&(t._a[0]=t._locale.erasConvertYear(a,t._a[0])),xe(t),ce(t)}else ge(t);else ve(t)}function Se(t){var e=t._i,n=t._f;return t._locale=t._locale||ue(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(ce(e)):(l(e)?t._d=e:o(n)?function(t){var e,n,r,i,o,s,a=!1;if(0===t._f.length)return _(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:y()}));function De(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ae();for(n=e[0],r=1;r=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function on(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function sn(t,e){return e.erasAbbrRegex(t)}function an(){var t,e,n=[],r=[],i=[],o=[],s=this.eras();for(t=0,e=s.length;t(o=jt(t,r,i))&&(e=o),hn.call(this,t,e,n,r,i))}function hn(t,e,n,r,i){var o=Bt(t,e,n,r,i),s=Rt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),pt("N",sn),pt("NN",sn),pt("NNN",sn),pt("NNNN",(function(t,e){return e.erasNameRegex(t)})),pt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?_(n).era=i:_(n).invalidEra=t})),pt("y",ct),pt("yy",ct),pt("yyy",ct),pt("yyyy",ct),pt("yo",(function(t,e){return e._eraYearOrdinalRegex||ct})),bt(["y","yy","yyy","yyyy"],0),bt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[0]=n._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),pt("G",ht),pt("g",ht),pt("GG",rt,Q),pt("gg",rt,Q),pt("GGGG",at,et),pt("gggg",at,et),pt("GGGGG",ut,nt),pt("ggggg",ut,nt),gt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=X(t)})),gt(["gg","GG"],(function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)})),Y("Q",0,"Qo","quarter"),F("quarter","Q"),V("quarter",7),pt("Q",Z),bt("Q",(function(t,e){e[1]=3*(X(t)-1)})),Y("D",["DD",2],"Do","date"),F("date","D"),V("date",9),pt("D",rt),pt("DD",rt,Q),pt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),bt(["D","DD"],2),bt("Do",(function(t,e){e[2]=X(t.match(rt)[0])}));var ln=J("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),V("dayOfYear",4),pt("DDD",st),pt("DDDD",tt),bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=X(t)})),Y("m",["mm",2],0,"minute"),F("minute","m"),V("minute",14),pt("m",rt),pt("mm",rt,Q),bt(["m","mm"],4);var dn=J("Minutes",!1);Y("s",["ss",2],0,"second"),F("second","s"),V("second",15),pt("s",rt),pt("ss",rt,Q),bt(["s","ss"],5);var fn,pn,_n=J("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),V("millisecond",16),pt("S",st,Z),pt("SS",st,Q),pt("SSS",st,tt),fn="SSSS";fn.length<=9;fn+="S")pt(fn,ct);function mn(t,e){e[6]=X(1e3*("0."+t))}for(fn="S";fn.length<=9;fn+="S")bt(fn,mn);pn=J("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var yn=w.prototype;function vn(t){return t}yn.add=Xe,yn.calendar=function(t,e){1===arguments.length&&(arguments[0]?qe(arguments[0])?(t=arguments[0],e=void 0):$e(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ae(),r=Be(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",s=e&&(L(e[o])?e[o].call(this,n):e[o]);return this.format(s||this.localeData().calendar(o,this,Ae(n)))},yn.clone=function(){return new w(this)},yn.diff=function(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Be(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=Ze(this,r)/12;break;case"month":o=Ze(this,r);break;case"quarter":o=Ze(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:W(o)},yn.endOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?on:rn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-nn(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-nn(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-nn(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},yn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=B(this,t);return this.localeData().postformat(e)},yn.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ae(t).isValid())?Ge({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yn.fromNow=function(t){return this.from(Ae(),t)},yn.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ae(t).isValid())?Ge({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},yn.toNow=function(t){return this.to(Ae(),t)},yn.get=function(t){return L(this[t=U(t)])?this[t]():this},yn.invalidAt=function(){return _(this).overflow},yn.isAfter=function(t,e){var n=x(t)?t:Ae(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?B(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.eraName=function(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=je,yn.isUTC=je,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=S("dates accessor is deprecated. Use date instead.",ln),yn.months=S("months accessor is deprecated. Use month instead",Ct),yn.years=S("years accessor is deprecated. Use year instead",It),yn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),yn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return g(e,this),(e=Se(e))._a?(t=e._isUTC?p(e._a):Ae(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=C.prototype;function gn(t,e,n,r){var i=ue(),o=p().set(r,e);return i[n](o,t)}function wn(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return gn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=gn(t,r,n,"month");return i}function xn(t,e,n,r){"boolean"==typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var i,o=ue(),s=t?o._week.dow:0,a=[];if(null!=n)return gn(e,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=gn(e,(i+s)%7,r,"day");return a}bn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return L(r)?r.call(e,n):r},bn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(O).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(t){return this._ordinal.replace("%d",t)},bn.preparse=vn,bn.postformat=vn,bn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return L(i)?i(t,e,n,r):i.replace(/%d/i,t)},bn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return L(n)?n(e):n.replace(/%s/i,e)},bn.set=function(t){var e,n;for(n in t)a(t,n)&&(L(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.eras=function(t,e){var n,r,o,s=this._eras||ue("en")._eras;for(n=0,r=s.length;n=0)return u[r]},bn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n},bn.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||an.call(this),t?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(t){return a(this,"_erasNameRegex")||an.call(this),t?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||an.call(this),t?this._erasNarrowRegex:this._erasRegex},bn.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Tt).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},bn.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Tt.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(t,e,n){var r,i,o;if(this._monthsParseExact)return Lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},bn.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||kt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||kt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=At),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ft(n,this._week.dow):t?n[t.day()]:n},bn.weekdaysMin=function(t){return!0===t?Ft(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},bn.weekdaysShort=function(t){return!0===t?Ft(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},bn.weekdaysParse=function(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Xt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},bn.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Wt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},bn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},se("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(t){var e=t%10;return t+(1===X(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",se),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ue);var Mn=Math.abs;function Sn(t,e,n,r){var i=Ge(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Tn(t){return t<0?Math.floor(t):Math.ceil(t)}function An(t){return 4800*t/146097}function En(t){return 146097*t/4800}function Ln(t){return function(){return this.as(t)}}var Dn=Ln("ms"),Cn=Ln("s"),kn=Ln("m"),On=Ln("h"),In=Ln("d"),Pn=Ln("w"),Rn=Ln("M"),Yn=Ln("Q"),Bn=Ln("y");function Nn(t){return function(){return this.isValid()?this._data[t]:NaN}}var jn=Nn("milliseconds"),Fn=Nn("seconds"),Un=Nn("minutes"),Gn=Nn("hours"),Hn=Nn("days"),Vn=Nn("months"),zn=Nn("years"),Wn=Math.round,Xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jn(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}var Kn=Math.abs;function qn(t){return(t>0)-(t<0)||+t}function $n(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,o,s,a,u=Kn(this._milliseconds)/1e3,c=Kn(this._days),h=Kn(this._months),l=this.asSeconds();return l?(t=W(u/60),e=W(t/60),u%=60,t%=60,n=W(h/12),h%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=l<0?"-":"",o=qn(this._months)!==qn(l)?"-":"",s=qn(this._days)!==qn(l)?"-":"",a=qn(this._milliseconds)!==qn(l)?"-":"",i+"P"+(n?o+n+"Y":"")+(h?o+h+"M":"")+(c?s+c+"D":"")+(e||t||u?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(u?a+r+"S":"")):"P0D"}var Zn=ke.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var t=this._data;return this._milliseconds=Mn(this._milliseconds),this._days=Mn(this._days),this._months=Mn(this._months),t.milliseconds=Mn(t.milliseconds),t.seconds=Mn(t.seconds),t.minutes=Mn(t.minutes),t.hours=Mn(t.hours),t.months=Mn(t.months),t.years=Mn(t.years),this},Zn.add=function(t,e){return Sn(this,t,e,1)},Zn.subtract=function(t,e){return Sn(this,t,e,-1)},Zn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+An(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(En(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Zn.asMilliseconds=Dn,Zn.asSeconds=Cn,Zn.asMinutes=kn,Zn.asHours=On,Zn.asDays=In,Zn.asWeeks=Pn,Zn.asMonths=Rn,Zn.asQuarters=Yn,Zn.asYears=Bn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*X(this._months/12):NaN},Zn._bubble=function(){var t,e,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Tn(En(a)+s),s=0,a=0),u.milliseconds=o%1e3,t=W(o/1e3),u.seconds=t%60,e=W(t/60),u.minutes=e%60,n=W(e/60),u.hours=n%24,s+=W(n/24),i=W(An(s)),a+=i,s-=Tn(En(i)),r=W(a/12),a%=12,u.days=s,u.months=a,u.years=r,this},Zn.clone=function(){return Ge(this)},Zn.get=function(t){return t=U(t),this.isValid()?this[t+"s"]():NaN},Zn.milliseconds=jn,Zn.seconds=Fn,Zn.minutes=Un,Zn.hours=Gn,Zn.days=Hn,Zn.weeks=function(){return W(this.days()/7)},Zn.months=Vn,Zn.years=zn,Zn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=Xn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(o=Object.assign({},Xn,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),n=this.localeData(),r=function(t,e,n,r){var i=Ge(t).abs(),o=Wn(i.as("s")),s=Wn(i.as("m")),a=Wn(i.as("h")),u=Wn(i.as("d")),c=Wn(i.as("M")),h=Wn(i.as("w")),l=Wn(i.as("y")),d=o<=n.ss&&["s",o]||o0,d[4]=r,Jn.apply(null,d)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},Zn.toISOString=$n,Zn.toString=$n,Zn.toJSON=$n,Zn.locale=Qe,Zn.localeData=en,Zn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$n),Zn.lang=tn,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),pt("x",ht),pt("X",/[+-]?\d+(\.\d{1,3})?/),bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),bt("x",(function(t,e,n){n._d=new Date(X(t))})), //! moment.js i.version="2.29.1",e=Ae,i.fn=yn,i.min=function(){var t=[].slice.call(arguments,0);return De("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return De("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,i.unix=function(t){return Ae(1e3*t)},i.months=function(t,e){return wn(t,e,"months")},i.isDate=l,i.locale=se,i.invalid=y,i.duration=Ge,i.isMoment=x,i.weekdays=function(t,e,n){return xn(t,e,n,"weekdays")},i.parseZone=function(){return Ae.apply(null,arguments).parseZone()},i.localeData=ue,i.isDuration=Oe,i.monthsShort=function(t,e){return wn(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return xn(t,e,n,"weekdaysMin")},i.defineLocale=ae,i.updateLocale=function(t,e){if(null!=e){var n,r,i=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(D(ee[t]._config,e)):(null!=(r=oe(t))&&(i=r._config),e=D(i,e),null==r&&(e.abbr=t),(n=new C(e)).parentLocale=ee[t],ee[t]=n),se(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===se()&&se(t)):null!=ee[t]&&delete ee[t]);return ee[t]},i.locales=function(){return T(ee)},i.weekdaysShort=function(t,e,n){return xn(t,e,n,"weekdaysShort")},i.normalizeUnits=U,i.relativeTimeRounding=function(t){return void 0===t?Wn:"function"==typeof t&&(Wn=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==Xn[t]&&(void 0===e?Xn[t]:(Xn[t]=e,"s"===t&&(Xn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=yn,i.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"},i}()}).call(this,n("RoC8")(t))},U5Cp:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,r=this._calendarEl[t],i=e&&e.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(e)),r.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("TiKg"))},UKIa:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("TiKg"))},UKnr:function(t,e,n){"use strict";e.decode=e.parse=n("MNOf"),e.encode=e.stringify=n("THQi")},UZ6Q:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,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(t){return"شام"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("TiKg"))},Ueyn:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n("TiKg"))},Ux2S:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.getEnvBtoa=function(){return"undefined"!=typeof window?window.btoa:n},e.getEnvAtob=function(){return"undefined"!=typeof window?window.atob:r};var n=function(e){if(void 0===t)throw new Error("UnsupportedEnvironment");var n=Object.prototype.toString.call(e).slice(8,-1);return(t.isBuffer(e)?e:["ArrayBuffer","TypedArray","Uint8Array","Int8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"].indexOf(n)>=0?t.from(e):t.from(e.toString(),"binary")).toString("base64")},r=function(e){if(void 0===t)throw new Error("UnsupportedEnvironment");return t.from(e,"base64").toString("binary")}}).call(this,n("qykS").Buffer)},Uz2K:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.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(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n("TiKg"))},VCFo:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.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(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(n("TiKg"))},VVP3:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},Vbbc:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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("TiKg"))},Vtn2:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n("TiKg"))},WFt6:function(t,e,n){"use strict";var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("X9FS")),o={public:"PUBLIC KEY",private:"PRIVATE KEY",encryptedPrivate:"ENCRYPTED PRIVATE KEY",certificate:"CERTIFICATE",certRequest:"CERTIFICATE REQUEST"};e.pemToBin=function(t){var e=a(t);return i.decodeBase64(e)},e.binToPem=function(t,e){var n=i.encodeBase64(t);return s(n,e)};var s=function(t,e){if(Object.keys(o).indexOf(e)<0)throw new Error("Unsupported type");for(var n=o[e],r="-----BEGIN "+n+"-----\n";t.length>0;)r+=t.substring(0,64)+"\n",t=t.substring(64);return r=r+"-----END "+n+"-----"},a=function(t){var e=RegExp("^-----[s]*BEGIN[^-]*-----$","gm"),n=RegExp("^-----[s]*END[^-]*-----$","gm");try{var r=t.split(e)[1].split(n)[0];return r=r.replace(/\r?\n/g,"")}catch(t){throw new Error("Invalid format as PEM")}}},WXVf:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return t.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(t,e,n){return"ი"===n?e+"ში":e+n+"ში"}))},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):t},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(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(n("TiKg"))},WeoI:function(t,e,n){var r=n("smmp"),i=n("pRMk").Buffer,o=n("3qw6");function s(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var n=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*n)]);for(var a=0;a=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<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("TiKg"))},WpTu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64,blockSize:72},"SHA3-384":{nodeName:"sha3-384",hashSize:48,blockSize:104},"SHA3-256":{nodeName:"sha3-256",hashSize:32,blockSize:136},"SHA3-224":{nodeName:"sha3-224",hashSize:28,blockSize:144},"SHA-256":{nodeName:"sha256",hashSize:32,blockSize:64},"SHA-384":{nodeName:"sha384",hashSize:48,blockSize:128},"SHA-512":{nodeName:"sha512",hashSize:64,blockSize:128},"SHA-1":{nodeName:"sha1",hashSize:20,blockSize:64},MD5:{nodeName:"md5",hashSize:16,blockSize:64}}}},Wxe8:function(t,e,n){var r;function i(t){this.rand=t}if(t.exports=function(t){return r||(r=new i(null)),r.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),n=0;n126||t[n]<32&&13!==t[n]&&10!==t[n]){e=!1;break}var r=null;if(e){r="";for(n=0;n=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},XOZl:function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e} /*! * GSAP 3.7.1 * https://greensock.com * * @license Copyright 2008-2021, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */n.d(e,"b",(function(){return Dr})),n.d(e,"a",(function(){return Dr}));var o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S,T,A,E,L,D,C,k,O,I={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},P={duration:.5,overwrite:!1,delay:0},R=1e8,Y=2*Math.PI,B=Y/4,N=0,j=Math.sqrt,F=Math.cos,U=Math.sin,G=function(t){return"string"==typeof t},H=function(t){return"function"==typeof t},V=function(t){return"number"==typeof t},z=function(t){return void 0===t},W=function(t){return"object"==typeof t},X=function(t){return!1!==t},J=function(){return"undefined"!=typeof window},K=function(t){return H(t)||G(t)},q="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,Z=/(?:-?\.?\d|\.)+/gi,Q=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,tt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,et=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,nt=/[+-]=-?[.\d]+/,rt=/[^,'"\[\]\s]+/gi,it=/[\d.+\-=]+(?:e[-+]\d*)*/i,ot={},st={},at=function(t){return(st=Ot(t,ot))&&yn},ut=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ct=function(t,e){return!e&&console.warn(t)},ht=function(t,e){return t&&(ot[t]=e)&&st&&(st[t]=e)||ot},lt=function(){return 0},dt={},ft=[],pt={},_t={},mt={},yt=30,vt=[],bt="",gt=function(t){var e,n,r=t[0];if(W(r)||H(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=vt.length;n--&&!vt[n].targetTest(r););e=vt[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new Ue(t[n],e)))||t.splice(n,1);return t},wt=function(t){return t._gsap||gt(ae(t))[0]._gsap},xt=function(t,e,n){return(n=t[e])&&H(n)?t[e]():z(n)&&t.getAttribute&&t.getAttribute(e)||n},Mt=function(t,e){return(t=t.split(",")).forEach(e)||t},St=function(t){return Math.round(1e5*t)/1e5||0},Tt=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++rt._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},jt=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ft=function(t){return t._repeat?Ut(t._tTime,t=t.duration()+t._rDelay)*t:0},Ut=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Gt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ht=function(t){return t._end=St(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},Vt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=St(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ht(t),n._dirty||Nt(n,t)),t},zt=function(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=Gt(t.rawTime(),e),(!e._dur||ne(0,e.totalDuration(),n)-e._tTime>1e-8)&&e.render(n,!0)),Nt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},Wt=function(t,e,n,r){return e.parent&&Bt(e),e._start=St((V(n)?n:n||t!==s?Qt(t,n,e):t._time)+e._delay),e._end=St(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,s=t[r];if(i)for(o=e[i];s&&s[i]>o;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),Kt(e)||(t._recent=e),r||zt(t,e),t},Xt=function(t,e){return(ot.ScrollTrigger||ut("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)},Jt=function(t,e,n,r){return Je(t,e),t._initted?!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&l!==Le.frame?(ft.push(t),t._lazy=[e,r],1):void 0:1},Kt=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},qt=function(t,e,n,r){var i=t._repeat,o=St(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:St(o*(i+1)+t._rDelay*i):o,s&&!r?Vt(t,t._tTime=t._tDur*s):t.parent&&Ht(t),n||Nt(t.parent,t),t},$t=function(t){return t instanceof He?Nt(t):qt(t,t._dur)},Zt={_start:0,endTime:lt,totalDuration:lt},Qt=function t(e,n,r){var i,o,s,a=e.labels,u=e._recent||Zt,c=e.duration()>=R?u.endTime(!1):e._dur;return G(n)&&(isNaN(n)||n in a)?(o=n.charAt(0),s="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o?(i>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(s?(i<0?u:r).totalDuration()/100:1)):i<0?(n in a||(a[n]=c),a[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),s&&r&&(o=o/100*($(r)?r[0]:r).totalDuration()),i>1?t(e,n.substr(0,i-1),r)+o:c+o)):null==n?c:+n},te=function(t,e,n){var r,i,o=V(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=n,t){for(r=a,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=X(i.vars.inherit)&&i.parent;a.immediateRender=X(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new Ze(e[0],a,e[s+1])},ee=function(t,e){return t||0===t?e(t):e},ne=function(t,e,n){return ne?e:n},re=function(t){if("string"!=typeof t)return"";var e=it.exec(t);return e?t.substr(e.index+e[0].length):""},ie=[].slice,oe=function(t,e){return t&&W(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&W(t[0]))&&!t.nodeType&&t!==a},se=function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return G(t)&&!e||oe(t,1)?(r=n).push.apply(r,ae(t)):n.push(t)}))||n},ae=function(t,e,n){return!G(t)||n||!u&&De()?$(t)?se(t,n):oe(t)?ie.call(t,0):t?[t]:[]:ie.call((e||c).querySelectorAll(t),0)},ue=function(t){return t.sort((function(){return.5-Math.random()}))},ce=function(t){if(H(t))return t;var e=W(t)?t:{each:t},n=Ye(e.ease),r=e.from||0,i=parseFloat(e.base)||0,o={},s=r>0&&r<1,a=isNaN(r)||s,u=e.axis,c=r,h=r;return G(r)?c=h={center:.5,edges:.5,end:1}[r]||0:!s&&a&&(c=r[0],h=r[1]),function(t,s,l){var d,f,p,_,m,y,v,b,g,w=(l||e).length,x=o[w];if(!x){if(!(g="auto"===e.grid?0:(e.grid||[1,R])[1])){for(v=-R;v<(v=l[g++].getBoundingClientRect().left)&&gv&&(v=m),mw?w-1:u?"y"===u?w/g:g:Math.max(g,w/g))||0)*("edges"===r?-1:1),x.b=w<0?i-w:i,x.u=re(e.amount||e.each)||0,n=n&&w<0?Pe(n):n}return w=(x[t]-x.min)/x.max||0,St(x.b+(n?n(w):w)*x.v)+x.u}},he=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){var r=Math.round(parseFloat(n)/t)*t*e;return(r-r%1)/e+(V(n)?0:re(n))}},le=function(t,e){var n,r,i=$(t);return!i&&W(t)&&(n=i=t.radius||R,t.values?(t=ae(t.values),(r=!V(t[0]))&&(n*=n)):t=he(t.increment)),ee(e,i?H(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,o,s=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),u=R,c=0,h=t.length;h--;)(i=r?(i=t[h].x-s)*i+(o=t[h].y-a)*o:Math.abs(t[h]-s))(i=Math.abs(i))&&(o=r,a=i);return o},ye=function(t,e,n){var r,i,o=t.vars,s=o[e];if(s)return r=o[e+"Params"],i=o.callbackScope||t,n&&ft.length&&At(),r?s.apply(i,r):s.call(i)},ve=function(t){return Bt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&ye(t,"onInterrupt"),t},be=function(t){var e=(t=!t.name&&t.default||t).name,n=H(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:lt,render:un,add:We,kill:hn,modifier:cn,rawVars:0},o={targetTest:0,get:0,getSetter:rn,aliases:{},register:0};if(De(),t!==r){if(_t[e])return;Ct(r,Ct(Pt(t,i),o)),Ot(r.prototype,Ot(i,Pt(t,o))),_t[r.prop=e]=r,t.targetTest&&(vt.push(r),dt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ht(e,r),t.register&&t.register(yn,r,fn)},ge={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},we=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},xe=function(t,e,n){var r,i,o,s,a,u,c,h,l,d,f=t?V(t)?[t>>16,t>>8&255,255&t]:0:ge.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ge[t])f=ge[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+r+r+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&255,255&f,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(f=d=t.match(Z),e){if(~t.indexOf("="))return f=t.match(Q),n&&f.length<4&&(f[3]=1),f}else s=+f[0]%360/360,a=+f[1]/100,r=2*(u=+f[2]/100)-(i=u<=.5?u*(a+1):u+a-u*a),f.length>3&&(f[3]*=1),f[0]=we(s+1/3,r,i),f[1]=we(s,r,i),f[2]=we(s-1/3,r,i);else f=t.match(Z)||ge.transparent;f=f.map(Number)}return e&&!d&&(r=f[0]/255,i=f[1]/255,o=f[2]/255,u=((c=Math.max(r,i,o))+(h=Math.min(r,i,o)))/2,c===h?s=a=0:(l=c-h,a=u>.5?l/(2-c-h):l/(c+h),s=c===r?(i-o)/l+(iw&&(M+=s-x),((n=(i=(S+=s)-M)-A)>0||a)&&(o=++y.frame,v=i-1e3*y.time,y.time=i/=1e3,A+=n+(n>=T?4:T-n),r=1),a||(p=_(t)),r)for(b=0;b=e&&b--},_listeners:E=[]}),De=function(){return!f&&Le.wake()},Ce={},ke=/^[\d.\-M][\d.\-,\s]/,Oe=/["']/g,Ie=function(t){for(var e,n,r,i={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,u=o.length;a1&&s.config?s.config.apply(null,~t.indexOf("{")?[Ie(o[1])]:(e=t,n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n),e.substring(n,~i&&i=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/Y*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*U((t-s)*o)+1},u="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:Ne(a);return o=Y/o,u.config=function(n,r){return t(e,n,r)},u},Fe=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:Ne(r);return i.config=function(n){return t(e,n)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;Be(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),Ce.Linear.easeNone=Ce.none=Ce.Linear.easeIn,Be("Elastic",je("in"),je("out"),je()),D=7.5625,k=1/(C=2.75),Be("Bounce",(function(t){return 1-O(1-t)}),O=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,qt(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(De(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Vt(this,t),!n._dp||n.parent||zt(n,this);n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Wt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Et(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ft(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ft(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?Ut(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Gt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,jt(this.totalTime(ne(-this._delay,this._tDur,e),!0))},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(De(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Wt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(X(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Gt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,$t(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,$t(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Qt(this,t),X(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,X(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=H(t)?t:Dt,i=function(){var t=e.then;e.then=null,H(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){ve(this)},t}();Ct(Ge.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var He=function(t){function e(e,n){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=X(e.sortChildren),s&&Wt(e.parent||s,r(i),n),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Xt(r(i),e.scrollTrigger),i}i(e,t);var n=e.prototype;return n.to=function(t,e,n){return te(0,arguments,this),this},n.from=function(t,e,n){return te(1,arguments,this),this},n.fromTo=function(t,e,n,r){return te(2,arguments,this),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,Rt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ze(t,e,Qt(this,n),1),this},n.call=function(t,e,n){return Wt(this,Ze.delayedCall(0,t,e),n)},n.staggerTo=function(t,e,n,r,i,o,s){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=s,n.parent=this,new Ze(t,n,Qt(this,i)),this},n.staggerFrom=function(t,e,n,r,i,o,s){return n.runBackwards=1,Rt(n).immediateRender=X(n.immediateRender),this.staggerTo(t,e,n,r,i,o,s)},n.staggerFromTo=function(t,e,n,r,i,o,s,a){return r.startAt=n,Rt(r).immediateRender=X(r.immediateRender),this.staggerTo(t,e,r,i,o,s,a)},n.render=function(t,e,n){var r,i,o,a,u,c,h,l,d,f,p,_,m=this._time,y=this._dirty?this.totalDuration():this._tDur,v=this._dur,b=this!==s&&t>y-1e-8&&t>=0?y:t<1e-8?0:t,g=this._zTime<0!=t<0&&(this._initted||!v);if(b!==this._tTime||n||g){if(m!==this._time&&v&&(b+=this._time-m,t+=this._time-m),r=b,d=this._start,c=!(l=this._ts),g&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,u=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,n);if(r=St(b%u),b===y?(a=this._repeat,r=v):((a=~~(b/u))&&a===b/u&&(r=v,a--),r>v&&(r=v)),f=Ut(this._tTime,u),!m&&this._tTime&&f!==a&&(f=a),p&&1&a&&(r=v-r,_=1),a!==f&&!this._lock){var w=p&&1&f,x=w===(p&&1&a);if(ae)for(r=t._first;r&&r._start<=n;){if(!r._dur&&"isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(!r._dur&&"isPause"===r.data&&r._start=m&&t>=0)for(i=this._first;i;){if(o=i._next,(i._act||r>=i._start)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!c){h=0,o&&(b+=this._zTime=-1e-8);break}}i=o}else{i=this._last;for(var M=t<0?t:r;i;){if(o=i._prev,(i._act||M<=i._end)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(M-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(M-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!c){h=0,o&&(b+=this._zTime=M?-1e-8:1e-8);break}}i=o}}if(h&&!e&&(this.pause(),h.render(r>=m?0:-1e-8)._zTime=r>=m?1:-1,this._ts))return this._start=d,Ht(this),this.render(t,e,n);this._onUpdate&&!e&&ye(this,"onUpdate",!0),(b===y&&y>=this.totalDuration()||!b&&m)&&(d!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||((t||!v)&&(b===y&&this._ts>0||!b&&this._ts<0)&&Bt(this,1),e||t<0&&!m||!b&&!m&&y||(ye(this,b===y&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(b0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(V(e)||(e=Qt(this,e,t)),!(t instanceof Ge)){if($(t))return t.forEach((function(t){return n.add(t,e)})),this;if(G(t))return this.addLabel(t,e);if(!H(t))return this;t=Ze.delayedCall(0,t)}return this!==t?Wt(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-R);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof Ze?e&&i.push(o):(n&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,n)))),o=o._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return G(t)?this.removeLabel(t):H(t)?this.killTweensOf(t):(Yt(this,t),t===this._recent&&(this._recent=this._last),Nt(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=St(Le.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Qt(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=Ze.delayedCall(0,e||lt,n);return r.data="isPause",this._hasPause=1,Wt(this,r,Qt(this,t))},n.removePause=function(t){var e=this._first;for(t=Qt(this,t);e;)e._start===t&&"isPause"===e.data&&Bt(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)Ve!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=ae(t),o=this._first,s=V(e);o;)o instanceof Ze?Tt(o._targets,i)&&(s?(!Ve||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&r.push(o):(n=o.getTweensOf(i,e)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(t,e){e=e||{};var n,r=this,i=Qt(r,t),o=e,s=o.startAt,a=o.onStart,u=o.onStartParams,c=o.immediateRender,h=Ze.to(r,Ct({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!n){var t=e.duration||Math.abs((i-(s&&"time"in s?s.time:r._time))/r.timeScale());h._dur!==t&&qt(h,t,0,1).render(h._time,!0,!0),n=1}a&&a.apply(h,u||[])}},e));return c?h.render(0):h},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Ct({startAt:{time:Qt(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),me(this,Qt(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),me(this,Qt(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,o=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in o)o[r]>=n&&(o[r]+=t);return Nt(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Nt(this)},n.totalDuration=function(t){var e,n,r,i=0,o=this,a=o._last,u=R;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(r=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,Wt(o,a,n-a._delay,1)._lock=0):u=n,n<0&&a._ts&&(i-=n,(!r&&!o._dp||r&&r.smoothChildTiming)&&(o._start+=n/o._ts,o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-Infinity),u=0),a._end>i&&a._ts&&(i=a._end),a=e;qt(o,o===s&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(s._ts&&(Et(s,Gt(t,s)),l=Le.frame),Le.frame>=yt){yt+=I.autoSleep||120;var e=s._first;if((!e||!e._ts)&&I.autoSleep&&Le._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Le.sleep()}}},e}(Ge);Ct(He.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ve,ze=function(t,e,n,r,i,o,s){var a,u,c,h,l,d,f,p,_=new fn(this._pt,t,e,0,1,an,null,i),m=0,y=0;for(_.b=n,_.e=r,n+="",(f=~(r+="").indexOf("random("))&&(r=pe(r)),o&&(o(p=[n,r],t,e),n=p[0],r=p[1]),u=n.match(et)||[];a=et.exec(r);)h=a[0],l=r.substring(m,a.index),c?c=(c+1)%5:"rgba("===l.substr(-5)&&(c=1),h!==u[y++]&&(d=parseFloat(u[y-1])||0,_._pt={_next:_._pt,p:l||1===y?l:",",s:d,c:"="===h.charAt(1)?parseFloat(h.substr(2))*("-"===h.charAt(0)?-1:1):parseFloat(h)-d,m:c&&c<4?Math.round:0},m=et.lastIndex);return _.c=m0&&!D&&(e._startAt=0),C&&n<=0)return void(n&&(e._zTime=n))}else!1===D&&(e._startAt=0);else if(A&&C)if(k)!D&&(e._startAt=0);else if(n&&(w=!1),a=Ct({overwrite:!1,data:"isFromStart",lazy:w&&X(x),immediateRender:w,stagger:0,parent:I},r),m&&(a[d.prop]=m),Bt(e._startAt=Ze.set(O,a)),n<0&&e._startAt.render(-1,!0),w){if(!n)return}else t(e._startAt,1e-8);for(e._pt=0,x=C&&X(x)||x&&!C,i=0;i":e*w)}))})):M.forEach((function(t){return c.to(L,t,">")}));else{if(d=L.length,_=w?ce(w):lt,W(w))for(f in w)~qe.indexOf(f)&&(m||(m={}),m[f]=w[f]);for(h=0;hf-1e-8&&t>=0?f:t<1e-8?0:t;if(p){if(_!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(r=_,h=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*s+t,e,n);if(r=St(_%s),_===f?(o=this._repeat,r=p):((o=~~(_/s))&&o===_/s&&(r=p,o--),r>p&&(r=p)),(u=this._yoyo&&1&o)&&(l=this._yEase,r=p-r),a=Ut(this._tTime,s),r===d&&!n&&this._initted)return this;o!==a&&(h&&this._yEase&&Re(h,u),!this.vars.repeatRefresh||u||this._lock||(this._lock=n=1,this.render(St(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(Jt(this,t<0?t:r,n,e))return this._tTime=0,this;if(p!==this._dur)return this.render(t,e,n)}if(this._tTime=_,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(l||this._ease)(r/p),this._from&&(this.ratio=c=1-c),r&&!d&&!e&&(ye(this,"onStart"),this._tTime!==_))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;h&&h.render(t<0?t:!r&&u?-1e-8:h._dur*c,e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),ye(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&ye(this,"onRepeat"),_!==this._tDur&&_||this._tTime!==_||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!p)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&Bt(this,1),e||t<0&&!d||!_&&!d||(ye(this,_===f?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom()))}}else!function(t,e,n,r){var i,o,s,a=t.ratio,u=e<0||!e&&(!t._start&&function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))}(t)&&(t._initted||!Kt(t))||(t._ts<0||t._dp._ts<0)&&!Kt(t))?0:1,c=t._rDelay,h=0;if(c&&t._repeat&&(h=ne(0,t._tDur,e),o=Ut(h,c),s=Ut(t._tTime,c),t._yoyo&&1&o&&(u=1-u),o!==s&&(a=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==a||r||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&Jt(t,e,r,n))return;for(s=t._zTime,t._zTime=e||(n?1e-8:0),n||(n=e&&!s),t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=h,i=t._pt;i;)i.r(u,i.d),i=i._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&ye(t,"onUpdate"),h&&t._repeat&&!n&&t.parent&&ye(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Bt(t,1),n||(ye(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ve(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ve&&!0!==Ve.vars.overwrite)._first||ve(this),this.parent&&n!==this.timeline.totalDuration()&&qt(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,s,a,u,c,h=this._targets,l=t?ae(t):h,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(h,l))return"all"===e&&(this._pt=0),ve(this);for(r=this._op=this._op||[],"all"!==e&&(G(e)&&(a={},Mt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var n,r,i,o,s=t[0]?wt(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(r in n=Ot({},e),a)if(r in n)for(i=(o=a[r].split(",")).length;i--;)n[o[i]]=n[r];return n}(h,e)),c=h.length;c--;)if(~l.indexOf(h[c]))for(a in i=d[c],"all"===e?(r[c]=e,s=i,o={}):(o=r[c]=r[c]||{},s=e),s)(u=i&&i[a])&&("kill"in u.d&&!0!==u.d.kill(a)||Yt(this,u,"_pt"),delete i[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&f&&ve(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,e){return te(1,arguments)},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,e,n){return te(2,arguments)},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return s.killTweensOf(t,e,n)},e}(Ge);Ct(Ze.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Mt("staggerTo,staggerFrom,staggerFromTo",(function(t){Ze[t]=function(){var e=new He,n=ie.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var Qe=function(t,e,n){return t[e]=n},tn=function(t,e,n){return t[e](n)},en=function(t,e,n,r){return t[e](r.fp,n)},nn=function(t,e,n){return t.setAttribute(e,n)},rn=function(t,e){return H(t[e])?tn:z(t[e])&&t.setAttribute?nn:Qe},on=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},sn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},an=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},un=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},cn=function(t,e,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(t,e,n),o=i},hn=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?Yt(this,r,"_pt"):r.dep||(e=1),r=n;return!e},ln=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},dn=function(t){for(var e,n,r,i,o=t._pt;o;){for(e=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=e}t._pt=r},fn=function(){function t(t,e,n,r,i,o,s,a,u){this.t=e,this.s=r,this.c=i,this.p=n,this.r=o||on,this.d=s||this,this.set=a||Qe,this.pr=u||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=ln,this.m=t,this.mt=n,this.tween=e},t}();Mt(bt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return dt[t]=1})),ot.TweenMax=ot.TweenLite=Ze,ot.TimelineLite=ot.TimelineMax=He,s=new He({sortChildren:!1,defaults:P,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),I.stringFilter=Ee;var pn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n1){var r=t.map((function(t){return yn.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}t=t[0]||{};var o=_t[e],s=wt(t),a=s.harness&&(s.harness.aliases||{})[e]||e,u=o?function(e){var r=new o;d._pt=0,r.init(t,n?e+n:e,d,0,[t]),r.render(1,r),d._pt&&un(1,d)}:s.set(t,a);return o?u:function(e){return u(t,a,n?e+n:e,s,1)}},isTweening:function(t){return s.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ye(t.ease,P.ease)),It(P,t||{})},config:function(t){return It(I,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,o=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!_t[t]&&!ot[t]&&ct(e+" effect requires "+t+" plugin.")})),mt[e]=function(t,e,r){return n(ae(t),Ct(e||{},i),r)},o&&(He.prototype[e]=function(t,n,r){return this.add(mt[e](t,W(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){Ce[t]=Ye(e)},parseEase:function(t,e){return arguments.length?Ye(t,e):Ce},getById:function(t){return s.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new He(t);for(i.smoothChildTiming=X(t.smoothChildTiming),s.remove(i),i._dp=0,i._time=i._tTime=s._time,n=s._first;n;)r=n._next,!e&&!n._dur&&n instanceof Ze&&n.vars.onComplete===n._targets[0]||Wt(i,n,n._start-n._delay),n=r;return Wt(s,i,0),i},utils:{wrap:function t(e,n,r){var i=n-e;return $(e)?fe(e,t(0,e.length),n):ee(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,o=2*i;return $(e)?fe(e,t(0,e.length-1),n):ee(r,(function(t){return e+((t=(o+(t-e)%o)%o||0)>i?o-t:t)}))},distribute:ce,random:de,snap:le,normalize:function(t,e,n){return _e(t,e,0,1,n)},getUnit:re,clamp:function(t,e,n){return ee(n,(function(n){return ne(t,e,n)}))},splitColor:xe,toArray:ae,selector:function(t){return t=ae(t)[0]||ct("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return ae(e,n.querySelectorAll?n:n===t?ct("Invalid scope")||c.createElement("div"):t)}},mapRange:_e,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n=0?Kn[i]:"")+t},$n=function(){"undefined"!=typeof window&&window.document&&(vn=window,bn=vn.document,gn=bn.documentElement,xn=Xn("div")||{style:{}},Xn("div"),zn=qn(zn),Wn=zn+"Origin",xn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sn=!!qn("perspective"),wn=1)},Zn=function t(e){var n,r=Xn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(gn.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(o?i.insertBefore(this,o):i.appendChild(this)),gn.removeChild(r),this.style.cssText=s,n},Qn=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},tr=function(t){var e;try{e=t.getBBox()}catch(n){e=Zn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Zn||(e=Zn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Qn(t,["x","cx","x1"])||0,y:+Qn(t,["y","cy","y1"])||0,width:0,height:0}},er=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!tr(t))},nr=function(t,e){if(e){var n=t.style;e in Tn&&e!==Wn&&(e=zn),n.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty(e.replace(Dn,"-$1").toLowerCase())):n.removeAttribute(e)}},rr=function(t,e,n,r,i,o){var s=new fn(t._pt,e,n,0,1,o?Nn:Bn);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},ir={deg:1,rad:1,turn:1},or=function t(e,n,r,i){var o,s,a,u,c=parseFloat(r)||0,h=(r+"").trim().substr((c+"").length)||"px",l=xn.style,d=Cn.test(n),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),_="px"===i,m="%"===i;return i===h||!c||ir[i]||ir[h]?c:("px"!==h&&!_&&(c=t(e,n,r,"px")),u=e.getCTM&&er(e),!m&&"%"!==h||!Tn[n]&&!~n.indexOf("adius")?(l[d?"width":"height"]=100+(_?h:i),s=~n.indexOf("adius")||"em"===i&&e.appendChild&&!f?e:e.parentNode,u&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==bn&&s.appendChild||(s=bn.body),(a=s._gsap)&&m&&a.width&&d&&a.time===Le.time?St(c/a.width*100):((m||"%"===h)&&(l.position=Jn(e,"position")),s===e&&(l.position="static"),s.appendChild(xn),o=xn[p],s.removeChild(xn),l.position="absolute",d&&m&&((a=wt(s)).time=Le.time,a.width=s[p]),St(_?o*c/100:o&&c?100/o*c:0))):(o=u?e.getBBox()[d?"width":"height"]:e[p],St(m?c/o*100:c/100*o)))},sr=function(t,e,n,r){var i;return wn||$n(),e in On&&"transform"!==e&&~(e=On[e]).indexOf(",")&&(e=e.split(",")[0]),Tn[e]&&"transform"!==e?(i=yr(t,r),i="transformOrigin"!==e?i[e]:i.svg?i.origin:vr(Jn(t,Wn))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=hr[e]&&hr[e](t,e,n)||Jn(t,e)||xt(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?or(t,e,i,n)+n:i},ar=function(t,e,n,r){if(!n||"none"===n){var i=qn(e,t,1),o=i&&Jn(t,i,1);o&&o!==n?(e=i,n=o):"borderColor"===e&&(n=Jn(t,"borderTopColor"))}var s,a,u,c,h,l,d,f,p,_,m,y,v=new fn(this._pt,t.style,e,0,1,an),b=0,g=0;if(v.b=n,v.e=r,n+="","auto"===(r+="")&&(t.style[e]=r,r=Jn(t,e)||r,t.style[e]=n),Ee(s=[n,r]),r=s[1],u=(n=s[0]).match(tt)||[],(r.match(tt)||[]).length){for(;a=tt.exec(r);)d=a[0],p=r.substring(b,a.index),h?h=(h+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(h=1),d!==(l=u[g++]||"")&&(c=parseFloat(l)||0,m=l.substr((c+"").length),(y="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),f=parseFloat(d),_=d.substr((f+"").length),b=tt.lastIndex-_.length,_||(_=_||I.units[e]||m,b===r.length&&(r+=_,v.e+=_)),m!==_&&(c=or(t,e,l,_)||0),v._pt={_next:v._pt,p:p||1===g?p:",",s:c,c:y?y*f:f-c,m:h&&h<4||"zIndex"===e?Math.round:0});v.c=b-1;)n=a[i],Tn[n]&&(r=1,n="transformOrigin"===n?Wn:zn),nr(o,n);r&&(nr(o,zn),u&&(u.svg&&o.removeAttribute("transform"),yr(o,1),u.uncache=1))}},hr={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var o=t._pt=new fn(t._pt,e,n,0,0,cr);return o.u=r,o.pr=-10,o.tween=i,t._props.push(n),1}}},lr=[1,0,0,1,0,0],dr={},fr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},pr=function(t){var e=Jn(t,zn);return fr(e)?lr:e.substr(7).match(Q).map(St)},_r=function(t,e){var n,r,i,o,s=t._gsap||wt(t),a=t.style,u=pr(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?lr:u:(u!==lr||t.offsetParent||t===gn||s.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(o=1,r=t.nextSibling,gn.appendChild(t)),u=pr(t),i?a.display=i:nr(t,"display"),o&&(r?n.insertBefore(t,r):n?n.appendChild(t):gn.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},mr=function(t,e,n,r,i,o){var s,a,u,c=t._gsap,h=i||_r(t,!0),l=c.xOrigin||0,d=c.yOrigin||0,f=c.xOffset||0,p=c.yOffset||0,_=h[0],m=h[1],y=h[2],v=h[3],b=h[4],g=h[5],w=e.split(" "),x=parseFloat(w[0])||0,M=parseFloat(w[1])||0;n?h!==lr&&(a=_*v-m*y)&&(u=x*(-m/a)+M*(_/a)-(_*g-m*b)/a,x=x*(v/a)+M*(-y/a)+(y*g-v*b)/a,M=u):(x=(s=tr(t)).x+(~w[0].indexOf("%")?x/100*s.width:x),M=s.y+(~(w[1]||w[0]).indexOf("%")?M/100*s.height:M)),r||!1!==r&&c.smooth?(b=x-l,g=M-d,c.xOffset=f+(b*_+g*y)-b,c.yOffset=p+(b*m+g*v)-g):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=M,c.smooth=!!r,c.origin=e,c.originIsAbsolute=!!n,t.style[Wn]="0px 0px",o&&(rr(o,c,"xOrigin",l,x),rr(o,c,"yOrigin",d,M),rr(o,c,"xOffset",f,c.xOffset),rr(o,c,"yOffset",p,c.yOffset)),t.setAttribute("data-svg-origin",x+" "+M)},yr=function(t,e){var n=t._gsap||new Ue(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S,T,A,E,L,D,C,k,O,P,R,Y=t.style,B=n.scaleX<0,N=Jn(t,Wn)||"0";return r=i=o=u=c=h=l=d=f=0,s=a=1,n.svg=!(!t.getCTM||!er(t)),m=_r(t,n.svg),n.svg&&(A=(!n.uncache||"0px 0px"===N)&&!e&&t.getAttribute("data-svg-origin"),mr(t,A||N,!!A||n.originIsAbsolute,!1!==n.smooth,m)),p=n.xOrigin||0,_=n.yOrigin||0,m!==lr&&(g=m[0],w=m[1],x=m[2],M=m[3],r=S=m[4],i=T=m[5],6===m.length?(s=Math.sqrt(g*g+w*w),a=Math.sqrt(M*M+x*x),u=g||w?Ln(w,g)*An:0,(l=x||M?Ln(x,M)*An+u:0)&&(a*=Math.abs(Math.cos(l*En))),n.svg&&(r-=p-(p*g+_*x),i-=_-(p*w+_*M))):(R=m[6],O=m[7],D=m[8],C=m[9],k=m[10],P=m[11],r=m[12],i=m[13],o=m[14],c=(y=Ln(R,k))*An,y&&(A=S*(v=Math.cos(-y))+D*(b=Math.sin(-y)),E=T*v+C*b,L=R*v+k*b,D=S*-b+D*v,C=T*-b+C*v,k=R*-b+k*v,P=O*-b+P*v,S=A,T=E,R=L),h=(y=Ln(-x,k))*An,y&&(v=Math.cos(-y),P=M*(b=Math.sin(-y))+P*v,g=A=g*v-D*b,w=E=w*v-C*b,x=L=x*v-k*b),u=(y=Ln(w,g))*An,y&&(A=g*(v=Math.cos(y))+w*(b=Math.sin(y)),E=S*v+T*b,w=w*v-g*b,T=T*v-S*b,g=A,S=E),c&&Math.abs(c)+Math.abs(u)>359.9&&(c=u=0,h=180-h),s=St(Math.sqrt(g*g+w*w+x*x)),a=St(Math.sqrt(T*T+R*R)),y=Ln(S,T),l=Math.abs(y)>2e-4?y*An:0,f=P?1/(P<0?-P:P):0),n.svg&&(A=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!fr(Jn(t,zn)),A&&t.setAttribute("transform",A))),Math.abs(l)>90&&Math.abs(l)<270&&(B?(s*=-1,l+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,l+=l<=0?180:-180)),n.x=r-((n.xPercent=r&&(n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+"px",n.y=i-((n.yPercent=i&&(n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+"px",n.z=o+"px",n.scaleX=St(s),n.scaleY=St(a),n.rotation=St(u)+"deg",n.rotationX=St(c)+"deg",n.rotationY=St(h)+"deg",n.skewX=l+"deg",n.skewY=d+"deg",n.transformPerspective=f+"px",(n.zOrigin=parseFloat(N.split(" ")[2])||0)&&(Y[Wn]=vr(N)),n.xOffset=n.yOffset=0,n.force3D=I.force3D,n.renderTransform=n.svg?xr:Sn?wr:gr,n.uncache=0,n},vr=function(t){return(t=t.split(" "))[0]+" "+t[1]},br=function(t,e,n){var r=re(e);return St(parseFloat(e)+parseFloat(or(t,"x",n+"px",r)))+r},gr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,wr(t,e)},wr=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.z,u=n.rotation,c=n.rotationY,h=n.rotationX,l=n.skewX,d=n.skewY,f=n.scaleX,p=n.scaleY,_=n.transformPerspective,m=n.force3D,y=n.target,v=n.zOrigin,b="",g="auto"===m&&t&&1!==t||!0===m;if(v&&("0deg"!==h||"0deg"!==c)){var w,x=parseFloat(c)*En,M=Math.sin(x),S=Math.cos(x);x=parseFloat(h)*En,w=Math.cos(x),o=br(y,o,M*w*-v),s=br(y,s,-Math.sin(x)*-v),a=br(y,a,S*w*-v+v)}"0px"!==_&&(b+="perspective("+_+") "),(r||i)&&(b+="translate("+r+"%, "+i+"%) "),(g||"0px"!==o||"0px"!==s||"0px"!==a)&&(b+="0px"!==a||g?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),"0deg"!==u&&(b+="rotate("+u+") "),"0deg"!==c&&(b+="rotateY("+c+") "),"0deg"!==h&&(b+="rotateX("+h+") "),"0deg"===l&&"0deg"===d||(b+="skew("+l+", "+d+") "),1===f&&1===p||(b+="scale("+f+", "+p+") "),y.style[zn]=b||"translate(0, 0)"},xr=function(t,e){var n,r,i,o,s,a=e||this,u=a.xPercent,c=a.yPercent,h=a.x,l=a.y,d=a.rotation,f=a.skewX,p=a.skewY,_=a.scaleX,m=a.scaleY,y=a.target,v=a.xOrigin,b=a.yOrigin,g=a.xOffset,w=a.yOffset,x=a.forceCSS,M=parseFloat(h),S=parseFloat(l);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=En,f*=En,n=Math.cos(d)*_,r=Math.sin(d)*_,i=Math.sin(d-f)*-m,o=Math.cos(d-f)*m,f&&(p*=En,s=Math.tan(f-p),i*=s=Math.sqrt(1+s*s),o*=s,p&&(s=Math.tan(p),n*=s=Math.sqrt(1+s*s),r*=s)),n=St(n),r=St(r),i=St(i),o=St(o)):(n=_,o=m,r=i=0),(M&&!~(h+"").indexOf("px")||S&&!~(l+"").indexOf("px"))&&(M=or(y,"x",h,"px"),S=or(y,"y",l,"px")),(v||b||g||w)&&(M=St(M+v-(v*n+b*i)+g),S=St(S+b-(v*r+b*o)+w)),(u||c)&&(s=y.getBBox(),M=St(M+u/100*s.width),S=St(S+c/100*s.height)),s="matrix("+n+","+r+","+i+","+o+","+M+","+S+")",y.setAttribute("transform",s),x&&(y.style[zn]=s)},Mr=function(t,e,n,r,i,o){var s,a,u=G(i),c=parseFloat(i)*(u&&~i.indexOf("rad")?An:1),h=o?c*o:c-r,l=r+h+"deg";return u&&("short"===(s=i.split("_")[1])&&(h%=360)!==h%180&&(h+=h<0?360:-360),"cw"===s&&h<0?h=(h+36e9)%360-360*~~(h/360):"ccw"===s&&h>0&&(h=(h-36e9)%360-360*~~(h/360))),t._pt=a=new fn(t._pt,e,n,r,h,Pn),a.e=l,a.u="deg",t._props.push(n),a},Sr=function(t,e){for(var n in e)t[n]=e[n];return t},Tr=function(t,e,n){var r,i,o,s,a,u,c,h=Sr({},n._gsap),l=n.style;for(i in h.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),l[zn]=e,r=yr(n,1),nr(n,zn),n.setAttribute("transform",o)):(o=getComputedStyle(n)[zn],l[zn]=e,r=yr(n,1),l[zn]=o),Tn)(o=h[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=re(o)!==(c=re(s))?or(n,i,o,c):parseFloat(o),u=parseFloat(s),t._pt=new fn(t._pt,r,i,a,u-a,In),t._pt.u=c||0,t._props.push(i));Sr(r,h)};Mt("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map((function(n){return e<2?t+n:"border"+n+t}));hr[e>1?"border"+t:t]=function(t,e,n,r,i){var o,a;if(arguments.length<4)return o=s.map((function(e){return sr(t,e,n)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(r+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,i)}}));var Ar,Er,Lr={name:"css",register:$n,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M,S=this._props,T=t.style,A=n.vars.startAt;for(l in wn||$n(),e)if("autoRound"!==l&&(s=e[l],!_t[l]||!Xe(l,e,n,r,t,i)))if(c=typeof s,h=hr[l],"function"===c&&(c=typeof(s=s.call(n,r,t,i))),"string"===c&&~s.indexOf("random(")&&(s=pe(s)),h)h(this,t,l,s,n)&&(b=1);else if("--"===l.substr(0,2))o=(getComputedStyle(t).getPropertyValue(l)+"").trim(),s+="",Te.lastIndex=0,Te.test(o)||(d=re(o),f=re(s)),f?d!==f&&(o=or(t,l,o,f)+f):d&&(s+=d),this.add(T,"setProperty",o,s,r,i,0,0,l),S.push(l);else if("undefined"!==c){if(A&&l in A?(o="function"==typeof A[l]?A[l].call(n,r,t,i):A[l],l in I.units&&!re(o)&&(o+=I.units[l]),"="===(o+"").charAt(1)&&(o=sr(t,l))):o=sr(t,l),u=parseFloat(o),(p="string"===c&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),a=parseFloat(s),l in On&&("autoAlpha"===l&&(1===u&&"hidden"===sr(t,"visibility")&&a&&(u=0),rr(this,T,"visibility",u?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==l&&"transform"!==l&&~(l=On[l]).indexOf(",")&&(l=l.split(",")[0])),_=l in Tn)if(m||((y=t._gsap).renderTransform&&!e.parseTransform||yr(t,e.parseTransform),v=!1!==e.smoothOrigin&&y.smooth,(m=this._pt=new fn(this._pt,T,zn,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===l)this._pt=new fn(this._pt,y,"scaleY",y.scaleY,(p?p*a:a-y.scaleY)||0),S.push("scaleY",l),l+="X";else{if("transformOrigin"===l){w=void 0,x=void 0,M=void 0,w=(g=s).split(" "),x=w[0],M=w[1]||"50%","top"!==x&&"bottom"!==x&&"left"!==M&&"right"!==M||(g=x,x=M,M=g),w[0]=ur[x]||x,w[1]=ur[M]||M,s=w.join(" "),y.svg?mr(t,s,0,v,0,this):((f=parseFloat(s.split(" ")[2])||0)!==y.zOrigin&&rr(this,y,"zOrigin",y.zOrigin,f),rr(this,T,l,vr(o),vr(s)));continue}if("svgOrigin"===l){mr(t,s,1,v,0,this);continue}if(l in dr){Mr(this,y,l,u,s,p);continue}if("smoothOrigin"===l){rr(this,y,"smooth",y.smooth,s);continue}if("force3D"===l){y[l]=s;continue}if("transform"===l){Tr(this,s,t);continue}}else l in T||(l=qn(l)||l);if(_||(a||0===a)&&(u||0===u)&&!kn.test(s)&&l in T)a||(a=0),(d=(o+"").substr((u+"").length))!==(f=re(s)||(l in I.units?I.units[l]:d))&&(u=or(t,l,o,f)),this._pt=new fn(this._pt,_?y:T,l,u,p?p*a:a-u,_||"px"!==f&&"zIndex"!==l||!1===e.autoRound?In:Yn),this._pt.u=f||0,d!==f&&(this._pt.b=o,this._pt.r=Rn);else if(l in T)ar.call(this,t,l,o,s);else{if(!(l in t)){ut(l,s);continue}this.add(t,l,o||t[l],s,r,i)}S.push(l)}b&&dn(this)},get:sr,aliases:On,getSetter:function(t,e,n){var r=On[e];return r&&r.indexOf(",")<0&&(e=r),e in Tn&&e!==Wn&&(t._gsap.x||sr(t,"x"))?n&&Mn===n?"scale"===e?Gn:Un:(Mn=n||{})&&("scale"===e?Hn:Vn):t.style&&!z(t.style[e])?jn:~e.indexOf("-")?Fn:rn(t,e)},core:{_removeProperty:nr,_getMatrix:_r}};yn.utils.checkPrefix=qn,Er=Mt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(Ar="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Tn[t]=1})),Mt(Ar,(function(t){I.units[t]="deg",dr[t]=1})),On[Er[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Ar,Mt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");On[e[1]]=Er[e[0]]})),Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){I.units[t]="px"})),yn.registerPlugin(Lr);var Dr=yn.registerPlugin(Lr)||yn;Dr.core.Tween},XdjO:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.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(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n("TiKg"))},Xr9Y:function(t,e,n){var r=e;r._reverse=function(t){var e={};return Object.keys(t).forEach((function(n){(0|n)==n&&(n|=0);var r=t[n];e[r]=n})),e},r.der=n("RfOT")},Y9G6:function(t,e,n){var r=n("wfEq"),i=n("2ozp"),o=n("KSsY"),s=n("pRMk").Buffer,a=new Array(160);function u(){this.init(),this._w=a,o.call(this,128,112)}r(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var t=s.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=u},YIvA:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(t){return t>1&&t<5}function i(t,e,n,i){var o=t+" ";switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"ss":return e||i?o+(r(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?o+(r(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?o+(r(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?o+(r(t)?"dni":"dní"):o+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?o+(r(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?o+(r(t)?"roky":"rokov"):o+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},YL9C:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,r){return t?/-MMM-/.test(r)?n[t.month()]:e[t.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("TiKg"))},YM0L:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("EO1s")),u=r(n("B3sb")),c=i(n("6yG2")),h=i(n("cO3T")),l=n("Rvex"),d=i(n("SDgz")),f=i(n("6MVH")).default.ec,p=function(){var t=(0,s.default)(o.default.mark((function t(e){var n,r,i,s,u,h,p,_,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=a.default.namedCurves[e].indutnyName,r=new f(n),t.t0=r,t.t1=d.default.encoder,t.next=6,c.default.getRandomBytes(32);case 6:if(t.t2=t.sent,t.t3=t.t1.arrayBufferToString.call(t.t1,t.t2),t.t4={entropy:t.t3},i=t.t0.genKeyPair.call(t.t0,t.t4),s=a.default.namedCurves[e].payloadSize,u=new Uint8Array(i.getPublic("array")),h=new Uint8Array(i.getPrivate().toArray("be",s)),!(p=new l.Key("oct",u,{namedCurve:e})).isPrivate){t.next=16;break}throw new Error("NotPublicKeyForECCKeyGenPureJS");case 16:return t.next=18,p.export("jwk",{outputPublic:!0});case 18:if(_=t.sent,(m=new l.Key("oct",h,{namedCurve:e})).isPrivate){t.next=22;break}throw new Error("NotPrivateKeyForECCKeyGenPureJS");case 22:return t.next=24,m.export("jwk");case 24:return y=t.sent,t.abrupt("return",{publicKey:_,privateKey:y});case 26:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.generateKey=p;var _=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i){var s,c,d,p,_,m,y,v,b,g,w,x;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=n.crv,c=a.default.namedCurves[s].indutnyName,d=new f(c),(p=new l.Key("jwk",n)).isPrivate){t.next=6;break}throw new Error("NotPrivateKeyForECCSignPureJS");case 6:return t.next=8,p.export("oct");case 8:return _=t.sent,m=d.keyFromPrivate(_),t.next=12,h.default.compute(e,r);case 12:return y=t.sent,v=m.sign(y),b=a.default.namedCurves[s].payloadSize,g=new Uint8Array(v.r.toArray("be",b)),w=new Uint8Array(v.s.toArray("be",b)),(x=new Uint8Array(g.length+w.length)).set(g),x.set(w,g.length),t.abrupt("return","raw"===i?x:u.encodeAsn1Signature(x,s));case 21:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.sign=_;var m=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s){var c,d,p,_,m,y,v,b,g,w;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=r.crv,d=a.default.namedCurves[c].indutnyName,p=new f(d),!(_=new l.Key("jwk",r)).isPrivate){t.next=6;break}throw new Error("NotPublicKeyForECCVerifyPureJS");case 6:return t.next=8,_.export("oct",{compact:!1,outputPublic:!0});case 8:return m=t.sent,y=p.keyFromPublic(m),v=a.default.namedCurves[c].payloadSize,n instanceof Uint8Array||(n=new Uint8Array(n)),n="raw"===s?n:u.decodeAsn1Signature(n,c),b=n.slice(0,v),g=n.slice(v,v+b.length),t.next=17,h.default.compute(e,i);case 17:return w=t.sent,t.next=20,y.verify(w,{s:g,r:b});case 20:return t.abrupt("return",t.sent);case 21:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.verify=m;var y=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,u,c,h,d,p,_,m;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.crv,i=a.default.namedCurves[r].indutnyName,s=new f(i),(u=new l.Key("jwk",n)).isPrivate){t.next=6;break}throw new Error("NotPrivateKeyForECCSDeriveKeyPureJS");case 6:return t.next=8,u.export("oct");case 8:if(c=t.sent,!(h=new l.Key("jwk",e)).isPrivate){t.next=12;break}throw new Error("NotPublicKeyForECCDeriveKeyPureJS");case 12:return t.next=14,h.export("oct",{compact:!1,outputPublic:!0});case 14:return d=t.sent,p=s.keyFromPrivate(c),_=s.keyFromPublic(d),m=a.default.namedCurves[r].payloadSize,t.abrupt("return",new Uint8Array(p.derive(_.getPublic()).toArray("be",m)));case 19:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.deriveSecret=y},YVk5:function(t,e,n){"use strict";n.r(e),n.d(e,"isApiAvailable",(function(){return p}));var r=n("kp3F"),i=n("eJvy"),o=n("JpNb"),s=n("YaxJ"),a=n("hGkD"),u=n("53ng"),c=["subwindowOpen","shareTargetPicker","multipleLiffTransition","scanCode","getAdvertisingId","addToHomeScreen","bluetoothLeFunction","skipChannelVerificationScreen"];function h(t){var e,n=Object(o.getContext)();return null===(e=null==n?void 0:n.availability)||void 0===e?void 0:e[t]}function l(t,e){var n=Object(u.getLineVersion)();return!!n&&!(e&&Object(i.e)(n,e)>0)&&Object(i.e)(n,t)>=0}function d(t){var e=h(t);if(!e)return!1;var n=e.permission,r=e.minVer,i=e.unsupportedFromVer;return!!n&&!!Object(s.isInClient)()&&l(r,i)}var f={shareTargetPicker:function(){if(!Object(a.isLoggedIn)())return!1;var t=h("shareTargetPicker");if(!t)return!1;var e=t.permission,n=t.minVer;if(!e)return!1;if(Object(s.isInClient)()){var r=Object(u.getLineVersion)();return null!==r&&Object(i.e)(r,n)>=0}return!0},multipleLiffTransition:function(){var t=h("multipleLiffTransition");if(!t)return!1;var e=t.permission;return Object(s.isInClient)()&&e},subwindowOpen:function(){var t=h("subwindowOpen");return!(!t||!t.permission)&&(!Object(s.isInClient)()||l(t.minVer,t.unsupportedFromVer))},scanCode:function(){return d("scanCode")},getAdvertisingId:function(){return d("getAdvertisingId")},addToHomeScreen:function(){return d("addToHomeScreen")},bluetoothLeFunction:function(){return d("bluetoothLeFunction")},skipChannelVerificationScreen:function(){return d("skipChannelVerificationScreen")}};function p(t){if(!c.includes(t))throw Object(i.j)(r.f,"Unexpected API name.");var e=f[t];return!e||e()}},YaxJ:function(t,e,n){"use strict";n.r(e),n.d(e,"_cleanupCachedIsInClient",(function(){return a})),n.d(e,"isInClient",(function(){return s}));var r=n("kp3F"),i=n("eJvy"),o=null;function s(){return null===o&&(o=Object(i.q)()||Object(i.r)()&&/[#|&]access_token=/.test(location.hash)||"1"===sessionStorage.getItem(r.m+":"+r.o),sessionStorage.setItem(r.m+":"+r.o,o?"1":"0")),!!o}function a(){o=null}},YkvB:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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("TiKg"))},YmdP:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},"Z+yf":function(t,e,n){var r=n("pRMk").Buffer,i=n("+oaW"),o=n("5Ekh"),s=n("wfEq"),a=n("MEmy"),u=n("qXhl"),c=n("2Mwr");function h(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function l(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function d(t){return new h(t)}function f(t){return new l(t)}Object.keys(c).forEach((function(t){c[t].id=r.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),s(h,o.Writable),h.prototype._write=function(t,e,n){this._hash.update(t),n()},h.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},h.prototype.sign=function(t,e){this.end();var n=this._hash.digest(),r=a(n,t,this._hashType,this._signType,this._tag);return e?r.toString(e):r},s(l,o.Writable),l.prototype._write=function(t,e,n){this._hash.update(t),n()},l.prototype.update=function(t,e){return"string"==typeof t&&(t=r.from(t,e)),this._hash.update(t),this},l.prototype.verify=function(t,e,n){"string"==typeof e&&(e=r.from(e,n)),this.end();var i=this._hash.digest();return u(e,i,t,this._signType,this._tag)},t.exports={Sign:d,Verify:f,createSign:d,createVerify:f}},Z3s7:function(t,e,n){"use strict";e.a=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))}},Z4ft:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("wfEq"),o=n("7ZyU"),s=n("fOyB");function a(t){o.call(this,"mont",t),this.a=new r(t.a,16).toRed(this.red),this.b=new r(t.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(t,e,n){o.BasePoint.call(this,t,"projective"),null===e&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(e,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,o),t.exports=a,a.prototype.validate=function(t){var e=t.normalize().x,n=e.redSqr(),r=n.redMul(e).redAdd(n.redMul(this.a)).redAdd(e);return 0===r.redSqrt().redSqr().cmp(r)},i(u,o.BasePoint),a.prototype.decodePoint=function(t,e){return this.point(s.toArray(t,e),1)},a.prototype.point=function(t,e){return new u(this,t,e)},a.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(t,e){return new u(t,e[0],e[1]||t.one)},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),n=t.redSub(e),r=t.redMul(e),i=n.redMul(e.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(t,e){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(n),s=i.redMul(r),a=e.z.redMul(o.redAdd(s).redSqr()),u=e.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,u)},u.prototype.mul=function(t){for(var e=t.clone(),n=this,r=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},ZG6w:function(t,e,n){t.exports=i;var r=n("hBZP").EventEmitter;function i(){r.call(this)}n("wfEq")(i,r),i.Readable=n("5Ekh"),i.Writable=n("hmUS"),i.Duplex=n("yuDq"),i.Transform=n("C9xR"),i.PassThrough=n("t5Qd"),i.Stream=i,i.prototype.pipe=function(t,e){var n=this;function i(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(n.on("end",a),n.on("close",u));var s=!1;function a(){s||(s=!0,t.end())}function u(){s||(s=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){if(h(),0===r.listenerCount(this,"error"))throw t}function h(){n.removeListener("data",i),t.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",u),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",h),n.removeListener("close",h),t.removeListener("close",h)}return n.on("error",c),t.on("error",c),n.on("end",h),n.on("close",h),t.on("close",h),t.emit("pipe",n),t}},ZIm7:function(t,e,n){"use strict";n.r(e),n.d(e,"done",(function(){return r})),n.d(e,"ready",(function(){return i}));var r,i=new Promise((function(t){r=t}))},ZPeb:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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("TiKg"))},Zf0h:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n("LxOh"))&&r.__esModule?r:{default:r};var o=function(t){for(var e=t.A,n=t.C,r=0;r<25;r+=5){for(var o=0;o<5;o++)(0,i.default)(e,r+o)(n,o);for(var s=0;s<5;s++){var a=2*(r+s),u=(s+1)%5*2,c=(s+2)%5*2;e[a]^=~n[u]&n[c],e[a+1]^=~n[u+1]&n[c+1]}}};e.default=o},Zov1:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n("TiKg"))},Zrjs:function(t,e,n){"use strict";var r=n("ovh1");t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(o,c),r.forEach(s,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(void 0,e[i])})),r.forEach(a,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var h=i.concat(o).concat(s).concat(a),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===h.indexOf(t)}));return r.forEach(l,c),n}},ZuGE:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.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(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("TiKg"))},ZxHn:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n("TiKg"))},"a/Al":function(t,e,n){var r=n("wfEq"),i=n("qykS").Buffer,o=n("eIKn");function s(t){o.call(this,t),this.enc="pem"}r(s,o),t.exports=s,s.prototype.decode=function(t,e){for(var n=t.toString().split(/[\r\n]+/g),r=e.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,u=-1,c=0;c=11?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n("TiKg"))},a8jK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"encrypt",{enumerable:!0,get:function(){return r.encrypt}}),Object.defineProperty(e,"decrypt",{enumerable:!0,get:function(){return r.decrypt}}),Object.defineProperty(e,"wrapKey",{enumerable:!0,get:function(){return r.wrapKey}}),Object.defineProperty(e,"unwrapKey",{enumerable:!0,get:function(){return r.unwrapKey}}),e.default=void 0;var r=n("ta/H"),i={encrypt:r.encrypt,decrypt:r.decrypt,wrapKey:r.wrapKey,unwrapKey:r.unwrapKey};e.default=i},aAq9:function(t,e,n){"use strict";var r=e;r.base=n("7ZyU"),r.short=n("cfHP"),r.mont=n("Z4ft"),r.edwards=n("48B7")},aECo:function(t,e,n){"use strict";var r=n("2KG9");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},afE2:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}var n=[/^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],r=/^(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,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.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:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,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:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("TiKg"))},arkH:function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>65536)for(var s=0;s=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(s)})),t.exports=c}).call(this,n("5IsQ"))},bb6g:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"d",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"e",(function(){return c})),n.d(e,"f",(function(){return h})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function h(){for(var t=[],e=0;e=0&&e>=0;return n=n&&this.lowerBound.IsValid()&&this.upperBound.IsValid()},d.prototype.GetCenter=function(){return new l((this.lowerBound.x+this.upperBound.x)/2,(this.lowerBound.y+this.upperBound.y)/2)},d.prototype.GetExtents=function(){return new l((this.upperBound.x-this.lowerBound.x)/2,(this.upperBound.y-this.lowerBound.y)/2)},d.prototype.Contains=function(t){var e=!0;return e=(e=(e=(e=e&&this.lowerBound.x<=t.lowerBound.x)&&this.lowerBound.y<=t.lowerBound.y)&&t.upperBound.x<=this.upperBound.x)&&t.upperBound.y<=this.upperBound.y},d.prototype.RayCast=function(t,e){var n=-Number.MAX_VALUE,r=Number.MAX_VALUE,i=e.p1.x,o=e.p1.y,s=e.p2.x-e.p1.x,a=e.p2.y-e.p1.y,u=Math.abs(s),c=Math.abs(a),h=t.normal,l=0,d=0,f=0,p=0,_=0;if(u(f=(this.upperBound.x-i)*l)&&(p=d,d=f,f=p,_=1),d>n&&(h.x=_,h.y=0,n=d),n>(r=Math.min(r,f)))return!1;if(c(f=(this.upperBound.y-o)*l)&&(p=d,d=f,f=p,_=1),d>n&&(h.y=_,h.x=0,n=d),n>(r=Math.min(r,f)))return!1;return t.fraction=n,!0},d.prototype.TestOverlap=function(t){var e=t.lowerBound.x-this.upperBound.x,n=t.lowerBound.y-this.upperBound.y,r=this.lowerBound.x-t.upperBound.x,i=this.lowerBound.y-t.upperBound.y;return!(e>0||n>0||r>0||i>0)},d.Combine=function(t,e){var n=new d;return n.Combine(t,e),n},d.prototype.Combine=function(t,e){this.lowerBound.x=Math.min(t.lowerBound.x,e.lowerBound.x),this.lowerBound.y=Math.min(t.lowerBound.y,e.lowerBound.y),this.upperBound.x=Math.max(t.upperBound.x,e.upperBound.x),this.upperBound.y=Math.max(t.upperBound.y,e.upperBound.y)},f.b2Bound=function(){},f.prototype.IsLower=function(){return 0==(1&this.value)},f.prototype.IsUpper=function(){return 1==(1&this.value)},f.prototype.Swap=function(t){var e=this.value,n=this.proxy,r=this.stabbingCount;this.value=t.value,this.proxy=t.proxy,this.stabbingCount=t.stabbingCount,t.value=e,t.proxy=n,t.stabbingCount=r},p.b2BoundValues=function(){},p.prototype.b2BoundValues=function(){this.lowerValues=new z,this.lowerValues[0]=0,this.lowerValues[1]=0,this.upperValues=new z,this.upperValues[0]=0,this.upperValues[1]=0},_.b2Collision=function(){},_.ClipSegmentToLine=function(t,e,n,r){var i;void 0===r&&(r=0);var o=0,s=(i=e[0]).v,a=(i=e[1]).v,u=n.x*s.x+n.y*s.y-r,c=n.x*a.x+n.y*a.y-r;if(u<=0&&t[o++].Set(e[0]),c<=0&&t[o++].Set(e[1]),u*c<0){var h,l=u/(u-c),d=(i=t[o]).v;d.x=s.x+l*(a.x-s.x),d.y=s.y+l*(a.y-s.y),i=t[o],u>0?(h=e[0],i.id=h.id):(h=e[1],i.id=h.id),++o}return o},_.EdgeSeparation=function(t,e,n,r,i){void 0===n&&(n=0),parseInt(t.m_vertexCount);var o,s,a=t.m_vertices,u=t.m_normals,c=parseInt(r.m_vertexCount),h=r.m_vertices;o=e.R,s=u[n];for(var l=o.col1.x*s.x+o.col2.x*s.y,d=o.col1.y*s.x+o.col2.y*s.y,f=(o=i.R).col1.x*l+o.col1.y*d,p=o.col2.x*l+o.col2.y*d,_=0,m=Number.MAX_VALUE,y=0;yp&&(p=y,f=m)}var v=_.EdgeSeparation(e,n,f,r,i),b=parseInt(f-1>=0?f-1:a-1),g=_.EdgeSeparation(e,n,b,r,i),w=parseInt(f+1v&&g>x)T=-1,M=b,S=g;else{if(!(x>v))return t[0]=f,v;T=1,M=w,S=x}for(;f=-1==T?M-1>=0?M-1:a-1:M+1S;)M=f,S=v;return t[0]=M,S},_.FindIncidentEdge=function(t,e,n,r,i,o){void 0===r&&(r=0),parseInt(e.m_vertexCount);var s,a,u=e.m_normals,c=parseInt(i.m_vertexCount),h=i.m_vertices,l=i.m_normals;s=n.R,a=u[r];var d=s.col1.x*a.x+s.col2.x*a.y,f=s.col1.y*a.x+s.col2.y*a.y,p=(s=o.R).col1.x*d+s.col1.y*f;f=s.col2.x*d+s.col2.y*f,d=p;for(var _,m=0,y=Number.MAX_VALUE,v=0;vs)){var h=0;_.s_edgeBO[0]=h;var l=_.FindMaxSeparation(_.s_edgeBO,r,i,e,n);if(h=_.s_edgeBO[0],!(l>s)){var d,f,p,m,y,v=0,b=0;l>.98*c+.001?(d=r,f=e,p=i,m=n,v=h,t.m_type=A.e_faceB,b=1):(d=e,f=r,p=n,m=i,v=u,t.m_type=A.e_faceA,b=0);var g=_.s_incidentEdge;_.FindIncidentEdge(g,d,p,v,f,m);var w,x=parseInt(d.m_vertexCount),M=d.m_vertices,S=M[v];w=v+1d*d||(t.m_type=A.e_circles,t.m_localPoint.SetV(e.m_p),t.m_localPlaneNormal.SetZero(),t.m_pointCount=1,t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0)},_.CollidePolygonAndCircle=function(t,e,n,r,i){t.m_pointCount=0;var o,s,a=0,u=0;s=i.R,o=r.m_p;var c=i.position.x+(s.col1.x*o.x+s.col2.x*o.y),h=i.position.y+(s.col1.y*o.x+s.col2.y*o.y);a=c-n.position.x,u=h-n.position.y;for(var l=a*(s=n.R).col1.x+u*s.col1.y,d=a*s.col2.x+u*s.col2.y,f=0,p=-Number.MAX_VALUE,_=e.m_radius+r.m_radius,m=parseInt(e.m_vertexCount),y=e.m_vertices,v=e.m_normals,b=0;b_)return;g>p&&(p=g,f=b)}var w=parseInt(f),x=parseInt(w+1_*_)return;t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.x=l-M.x,t.m_localPlaneNormal.y=d-M.y,t.m_localPlaneNormal.Normalize(),t.m_localPoint.SetV(M),t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0}else if(E<=0){if((l-S.x)*(l-S.x)+(d-S.y)*(d-S.y)>_*_)return;t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.x=l-S.x,t.m_localPlaneNormal.y=d-S.y,t.m_localPlaneNormal.Normalize(),t.m_localPoint.SetV(S),t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0}else{var L=.5*(M.x+S.x),D=.5*(M.y+S.y);if((p=(l-L)*v[w].x+(d-D)*v[w].y)>_)return;t.m_pointCount=1,t.m_type=A.e_faceA,t.m_localPlaneNormal.x=v[w].x,t.m_localPlaneNormal.y=v[w].y,t.m_localPlaneNormal.Normalize(),t.m_localPoint.Set(L,D),t.m_points[0].m_localPoint.SetV(r.m_p),t.m_points[0].m_id.key=0}},_.TestOverlap=function(t,e){var n=e.lowerBound,r=t.upperBound,i=n.x-r.x,o=n.y-r.y;n=t.lowerBound,r=e.upperBound;var s=n.x-r.x,a=n.y-r.y;return!(i>0||o>0||s>0||a>0)},r.postDefs.push((function(){r.Collision.b2Collision.s_incidentEdge=_.MakeClipPointVector(),r.Collision.b2Collision.s_clipPoints1=_.MakeClipPointVector(),r.Collision.b2Collision.s_clipPoints2=_.MakeClipPointVector(),r.Collision.b2Collision.s_edgeAO=new z(1),r.Collision.b2Collision.s_edgeBO=new z(1),r.Collision.b2Collision.s_localTangent=new l,r.Collision.b2Collision.s_localNormal=new l,r.Collision.b2Collision.s_planePoint=new l,r.Collision.b2Collision.s_normal=new l,r.Collision.b2Collision.s_tangent=new l,r.Collision.b2Collision.s_tangent2=new l,r.Collision.b2Collision.s_v11=new l,r.Collision.b2Collision.s_v12=new l,r.Collision.b2Collision.b2CollidePolyTempVec=new l,r.Collision.b2Collision.b2_nullFeature=255})),m.b2ContactID=function(){this.features=new F},m.prototype.b2ContactID=function(){this.features._m_id=this},m.prototype.Set=function(t){this.key=t._key},m.prototype.Copy=function(){var t=new m;return t.key=this.key,t},Object.defineProperty(m.prototype,"key",{enumerable:!1,configurable:!0,get:function(){return this._key}}),Object.defineProperty(m.prototype,"key",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._key=t,this.features._referenceEdge=255&this._key,this.features._incidentEdge=(65280&this._key)>>8&255,this.features._incidentVertex=(16711680&this._key)>>16&255,this.features._flip=(4278190080&this._key)>>24&255}}),y.b2ContactPoint=function(){this.position=new l,this.velocity=new l,this.normal=new l,this.id=new m},v.b2Distance=function(){},v.Distance=function(t,e,n){++v.b2_gjkCalls;var r=n.proxyA,i=n.proxyB,o=n.transformA,s=n.transformB,c=v.s_simplex;c.ReadCache(e,r,o,i,s);for(var h,d=c.m_vertices,f=v.s_saveA,p=v.s_saveB,_=0,m=(c.GetClosestPoint().LengthSquared(),0),y=0;y<20;){for(_=c.m_count,m=0;m<_;m++)f[m]=d[m].indexA,p[m]=d[m].indexB;switch(c.m_count){case 1:break;case 2:c.Solve2();break;case 3:c.Solve3();break;default:a.b2Assert(!1)}if(3==c.m_count)break;(h=c.GetClosestPoint()).LengthSquared();var b=c.GetSearchDirection();if(b.LengthSquared()x+M&&t.distance>Number.MIN_VALUE){t.distance-=x+M;var S=u.SubtractVV(t.pointB,t.pointA);S.Normalize(),t.pointA.x+=x*S.x,t.pointA.y+=x*S.y,t.pointB.x-=M*S.x,t.pointB.y-=M*S.y}else(h=new l).x=.5*(t.pointA.x+t.pointB.x),h.y=.5*(t.pointA.y+t.pointB.y),t.pointA.x=t.pointB.x=h.x,t.pointA.y=t.pointB.y=h.y,t.distance=0}},r.postDefs.push((function(){r.Collision.b2Distance.s_simplex=new I,r.Collision.b2Distance.s_saveA=new z(3),r.Collision.b2Distance.s_saveB=new z(3)})),b.b2DistanceInput=function(){},g.b2DistanceOutput=function(){this.pointA=new l,this.pointB=new l},w.b2DistanceProxy=function(){},w.prototype.Set=function(t){switch(t.GetType()){case s.e_circleShape:var e=t instanceof i?t:null;this.m_vertices=new V(1,!0),this.m_vertices[0]=e.m_p,this.m_count=1,this.m_radius=e.m_radius;break;case s.e_polygonShape:var n=t instanceof o?t:null;this.m_vertices=n.m_vertices,this.m_count=n.m_vertexCount,this.m_radius=n.m_radius;break;default:a.b2Assert(!1)}},w.prototype.GetSupport=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;rn&&(e=r,n=i)}return e},w.prototype.GetSupportVertex=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;rn&&(e=r,n=i)}return this.m_vertices[e]},w.prototype.GetVertexCount=function(){return this.m_count},w.prototype.GetVertex=function(t){return void 0===t&&(t=0),a.b2Assert(0<=t&&t0?n.x:-n.x),i=a.b2_aabbExtension+a.b2_aabbMultiplier*(n.y>0?n.y:-n.y);return t.aabb.lowerBound.x=e.lowerBound.x-r,t.aabb.lowerBound.y=e.lowerBound.y-i,t.aabb.upperBound.x=e.upperBound.x+r,t.aabb.upperBound.y=e.upperBound.y+i,this.InsertLeaf(t),!0},x.prototype.Rebalance=function(t){if(void 0===t&&(t=0),null!=this.m_root)for(var e=0;e>r&1?n.child2:n.child1,r=r+1&31;++this.m_path,this.RemoveLeaf(n),this.InsertLeaf(n)}},x.prototype.GetFatAABB=function(t){return t.aabb},x.prototype.GetUserData=function(t){return t.userData},x.prototype.Query=function(t,e){if(null!=this.m_root){var n=new V,r=0;for(n[r++]=this.m_root;r>0;){var i=n[--r];if(i.aabb.TestOverlap(e))if(i.IsLeaf()){if(!t(i))return}else n[r++]=i.child1,n[r++]=i.child2}}},x.prototype.RayCast=function(t,e){if(null!=this.m_root){var n=e.p1,r=e.p2,i=u.SubtractVV(n,r);i.Normalize();var o=u.CrossFV(1,i),s=u.AbsV(o),a=e.maxFraction,c=new d,h=0,l=0;h=n.x+a*(r.x-n.x),l=n.y+a*(r.y-n.y),c.lowerBound.x=Math.min(n.x,h),c.lowerBound.y=Math.min(n.y,l),c.upperBound.x=Math.max(n.x,h),c.upperBound.y=Math.max(n.y,l);var f=new V,p=0;for(f[p++]=this.m_root;p>0;){var _=f[--p];if(0!=_.aabb.TestOverlap(c)){var m=_.aabb.GetCenter(),y=_.aabb.GetExtents();if(!(Math.abs(o.x*(n.x-m.x)+o.y*(n.y-m.y))-s.x*y.x-s.y*y.y>0))if(_.IsLeaf()){var v=new D;if(v.p1=e.p1,v.p2=e.p2,v.maxFraction=e.maxFraction,0==(a=t(v,_)))return;a>0&&(h=n.x+a*(r.x-n.x),l=n.y+a*(r.y-n.y),c.lowerBound.x=Math.min(n.x,h),c.lowerBound.y=Math.min(n.y,l),c.upperBound.x=Math.max(n.x,h),c.upperBound.y=Math.max(n.y,l))}else f[p++]=_.child1,f[p++]=_.child2}}}},x.prototype.AllocateNode=function(){if(this.m_freeList){var t=this.m_freeList;return this.m_freeList=t.parent,t.parent=null,t.child1=null,t.child2=null,t}return new S},x.prototype.FreeNode=function(t){t.parent=this.m_freeList,this.m_freeList=t},x.prototype.InsertLeaf=function(t){if(++this.m_insertionCount,null==this.m_root)return this.m_root=t,void(this.m_root.parent=null);var e=t.aabb.GetCenter(),n=this.m_root;if(0==n.IsLeaf())do{var r=n.child1,i=n.child2;n=Math.abs((r.aabb.lowerBound.x+r.aabb.upperBound.x)/2-e.x)+Math.abs((r.aabb.lowerBound.y+r.aabb.upperBound.y)/2-e.y)=n?t:n,++e.m_pairCount,!0}for(r=0;rh){var d=i.x-this.p1.x,f=i.y-this.p1.y,p=d*u+f*c;if(0<=p&&p<=r*l){var _=-o*f+s*d;if(-h*l<=_&&_<=l*(1+h)){p/=l;var m=Math.sqrt(u*u+c*c);return u/=m,c/=m,t[0]=p,e.Set(u,c),!0}}}return!1},k.prototype.Extend=function(t){this.ExtendForward(t),this.ExtendBackward(t)},k.prototype.ExtendForward=function(t){var e=this.p2.x-this.p1.x,n=this.p2.y-this.p1.y,r=Math.min(e>0?(t.upperBound.x-this.p1.x)/e:e<0?(t.lowerBound.x-this.p1.x)/e:Number.POSITIVE_INFINITY,n>0?(t.upperBound.y-this.p1.y)/n:n<0?(t.lowerBound.y-this.p1.y)/n:Number.POSITIVE_INFINITY);this.p2.x=this.p1.x+e*r,this.p2.y=this.p1.y+n*r},k.prototype.ExtendBackward=function(t){var e=-this.p2.x+this.p1.x,n=-this.p2.y+this.p1.y,r=Math.min(e>0?(t.upperBound.x-this.p2.x)/e:e<0?(t.lowerBound.x-this.p2.x)/e:Number.POSITIVE_INFINITY,n>0?(t.upperBound.y-this.p2.y)/n:n<0?(t.lowerBound.y-this.p2.y)/n:Number.POSITIVE_INFINITY);this.p1.x=this.p2.x+e*r,this.p1.y=this.p2.y+n*r},O.b2SeparationFunction=function(){this.m_localPoint=new l,this.m_axis=new l},O.prototype.Initialize=function(t,e,n,r,i){this.m_proxyA=e,this.m_proxyB=r;var o,s,c,h,d,f,p=parseInt(t.count);a.b2Assert(01){var d=t.metric,f=this.GetMetric();(f<.5*d||2*d0?u.CrossFV(1,t):u.CrossVF(t,1);default:return a.b2Assert(!1),new l}},I.prototype.GetClosestPoint=function(){switch(this.m_count){case 0:return a.b2Assert(!1),new l;case 1:return this.m_v1.w;case 2:return new l(this.m_v1.a*this.m_v1.w.x+this.m_v2.a*this.m_v2.w.x,this.m_v1.a*this.m_v1.w.y+this.m_v2.a*this.m_v2.w.y);default:return a.b2Assert(!1),new l}},I.prototype.GetWitnessPoints=function(t,e){switch(this.m_count){case 0:a.b2Assert(!1);break;case 1:t.SetV(this.m_v1.wA),e.SetV(this.m_v1.wB);break;case 2:t.x=this.m_v1.a*this.m_v1.wA.x+this.m_v2.a*this.m_v2.wA.x,t.y=this.m_v1.a*this.m_v1.wA.y+this.m_v2.a*this.m_v2.wA.y,e.x=this.m_v1.a*this.m_v1.wB.x+this.m_v2.a*this.m_v2.wB.x,e.y=this.m_v1.a*this.m_v1.wB.y+this.m_v2.a*this.m_v2.wB.y;break;case 3:e.x=t.x=this.m_v1.a*this.m_v1.wA.x+this.m_v2.a*this.m_v2.wA.x+this.m_v3.a*this.m_v3.wA.x,e.y=t.y=this.m_v1.a*this.m_v1.wA.y+this.m_v2.a*this.m_v2.wA.y+this.m_v3.a*this.m_v3.wA.y;break;default:a.b2Assert(!1)}},I.prototype.GetMetric=function(){switch(this.m_count){case 0:return a.b2Assert(!1),0;case 1:return 0;case 2:return u.SubtractVV(this.m_v1.w,this.m_v2.w).Length();case 3:return u.CrossVV(u.SubtractVV(this.m_v2.w,this.m_v1.w),u.SubtractVV(this.m_v3.w,this.m_v1.w));default:return a.b2Assert(!1),0}},I.prototype.Solve2=function(){var t=this.m_v1.w,e=this.m_v2.w,n=u.SubtractVV(e,t),r=-(t.x*n.x+t.y*n.y);if(r<=0)return this.m_v1.a=1,void(this.m_count=1);var i=e.x*n.x+e.y*n.y;if(i<=0)return this.m_v2.a=1,this.m_count=1,void this.m_v1.Set(this.m_v2);var o=1/(i+r);this.m_v1.a=i*o,this.m_v2.a=r*o,this.m_count=2},I.prototype.Solve3=function(){var t=this.m_v1.w,e=this.m_v2.w,n=this.m_v3.w,r=u.SubtractVV(e,t),i=u.Dot(t,r),o=u.Dot(e,r),s=-i,a=u.SubtractVV(n,t),c=u.Dot(t,a),h=u.Dot(n,a),l=-c,d=u.SubtractVV(n,e),f=u.Dot(e,d),p=u.Dot(n,d),_=-f,m=u.CrossVV(r,a),y=m*u.CrossVV(e,n),v=m*u.CrossVV(n,t),b=m*u.CrossVV(t,e);if(s<=0&&l<=0)return this.m_v1.a=1,void(this.m_count=1);if(o>0&&s>0&&b<=0){var g=1/(o+s);return this.m_v1.a=o*g,this.m_v2.a=s*g,void(this.m_count=2)}if(h>0&&l>0&&v<=0){var w=1/(h+l);return this.m_v1.a=h*w,this.m_v3.a=l*w,this.m_count=2,void this.m_v2.Set(this.m_v3)}if(o<=0&&_<=0)return this.m_v2.a=1,this.m_count=1,void this.m_v1.Set(this.m_v2);if(h<=0&&p<=0)return this.m_v3.a=1,this.m_count=1,void this.m_v1.Set(this.m_v3);if(p>0&&_>0&&y<=0){var x=1/(p+_);return this.m_v2.a=p*x,this.m_v3.a=_*x,this.m_count=2,void this.m_v1.Set(this.m_v3)}var M=1/(y+v+b);this.m_v1.a=y*M,this.m_v2.a=v*M,this.m_v3.a=b*M,this.m_count=3},P.b2SimplexCache=function(){this.indexA=new z(3),this.indexB=new z(3)},R.b2SimplexVertex=function(){},R.prototype.Set=function(t){this.wA.SetV(t.wA),this.wB.SetV(t.wB),this.w.SetV(t.w),this.a=t.a,this.indexA=t.indexA,this.indexB=t.indexB},Y.b2TimeOfImpact=function(){},Y.TimeOfImpact=function(t){++Y.b2_toiCalls;var e=t.proxyA,n=t.proxyB,r=t.sweepA,i=t.sweepB;a.b2Assert(r.t0==i.t0),a.b2Assert(1-r.t0>Number.MIN_VALUE);var o=e.m_radius+n.m_radius,s=t.tolerance,c=0,h=0,l=0;for(Y.s_cache.count=0,Y.s_distanceInput.useRadii=!1;;){if(r.GetTransform(Y.s_xfA,c),i.GetTransform(Y.s_xfB,c),Y.s_distanceInput.proxyA=e,Y.s_distanceInput.proxyB=n,Y.s_distanceInput.transformA=Y.s_xfA,Y.s_distanceInput.transformB=Y.s_xfB,v.Distance(Y.s_distanceOutput,Y.s_cache,Y.s_distanceInput),Y.s_distanceOutput.distance<=0){c=1;break}Y.s_fcn.Initialize(Y.s_cache,e,Y.s_xfA,n,Y.s_xfB);var d=Y.s_fcn.Evaluate(Y.s_xfA,Y.s_xfB);if(d<=0){c=1;break}if(0==h&&(l=d>o?u.Max(o-s,.75*o):u.Max(d-s,.02*o)),d-l<.5*s){if(0==h){c=1;break}break}var f=c,p=c,_=1,m=d;r.GetTransform(Y.s_xfA,_),i.GetTransform(Y.s_xfB,_);var y=Y.s_fcn.Evaluate(Y.s_xfA,Y.s_xfB);if(y>=l){c=1;break}for(var b=0;;){var g=0;g=1&b?p+(l-m)*(_-p)/(y-m):.5*(p+_),r.GetTransform(Y.s_xfA,g),i.GetTransform(Y.s_xfB,g);var w=Y.s_fcn.Evaluate(Y.s_xfA,Y.s_xfB);if(u.Abs(w-l)<.025*s){f=g;break}if(w>l?(p=g,m=w):(_=g,y=w),++b,++Y.b2_toiRootIters,50==b)break}if(Y.b2_toiMaxRootIters=u.Max(Y.b2_toiMaxRootIters,b),f<(1+100*Number.MIN_VALUE)*c)break;if(c=f,h++,++Y.b2_toiIters,1e3==h)break}return Y.b2_toiMaxIters=u.Max(Y.b2_toiMaxIters,h),c},r.postDefs.push((function(){r.Collision.b2TimeOfImpact.b2_toiCalls=0,r.Collision.b2TimeOfImpact.b2_toiIters=0,r.Collision.b2TimeOfImpact.b2_toiMaxIters=0,r.Collision.b2TimeOfImpact.b2_toiRootIters=0,r.Collision.b2TimeOfImpact.b2_toiMaxRootIters=0,r.Collision.b2TimeOfImpact.s_cache=new P,r.Collision.b2TimeOfImpact.s_distanceInput=new b,r.Collision.b2TimeOfImpact.s_xfA=new h,r.Collision.b2TimeOfImpact.s_xfB=new h,r.Collision.b2TimeOfImpact.s_fcn=new O,r.Collision.b2TimeOfImpact.s_distanceOutput=new g})),B.b2TOIInput=function(){this.proxyA=new w,this.proxyB=new w,this.sweepA=new c,this.sweepB=new c},N.b2WorldManifold=function(){this.m_normal=new l},N.prototype.b2WorldManifold=function(){this.m_points=new V(a.b2_maxManifoldPoints);for(var t=0;tNumber.MIN_VALUE*Number.MIN_VALUE){var w=Math.sqrt(g);this.m_normal.x=v/w,this.m_normal.y=b/w}else this.m_normal.x=1,this.m_normal.y=0;var x=p+n*this.m_normal.x,M=_+n*this.m_normal.y,S=m-i*this.m_normal.x,T=y-i*this.m_normal.y;this.m_points[0].x=.5*(x+S),this.m_points[0].y=.5*(M+T);break;case A.e_faceA:for(s=e.R,o=t.m_localPlaneNormal,u=s.col1.x*o.x+s.col2.x*o.y,c=s.col1.y*o.x+s.col2.y*o.y,s=e.R,o=t.m_localPoint,h=e.position.x+s.col1.x*o.x+s.col2.x*o.y,l=e.position.y+s.col1.y*o.x+s.col2.y*o.y,this.m_normal.x=u,this.m_normal.y=c,a=0;athis.m_radius)return r.SetV(i),Math.PI*this.m_radius*this.m_radius;var s=this.m_radius*this.m_radius,a=o*o,u=s*(Math.asin(o/this.m_radius)+Math.PI/2)+o*Math.sqrt(s-a),h=-2/3*Math.pow(s-a,1.5)/u;return r.x=i.x+t.x*h,r.y=i.y+t.y*h,u},e.prototype.GetLocalPosition=function(){return this.m_p},e.prototype.SetLocalPosition=function(t){this.m_p.SetV(t)},e.prototype.GetRadius=function(){return this.m_radius},e.prototype.SetRadius=function(t){void 0===t&&(t=0),this.m_radius=t},e.prototype.b2CircleShape=function(t){void 0===t&&(t=0),this.__super.b2Shape.call(this),this.m_type=a.e_circleShape,this.m_radius=t},n.b2EdgeChainDef=function(){},n.prototype.b2EdgeChainDef=function(){this.vertexCount=0,this.isALoop=!0,this.vertices=[]},r.inherit(i,r.Collision.Shapes.b2Shape),i.prototype.__super=r.Collision.Shapes.b2Shape.prototype,i.b2EdgeShape=function(){r.Collision.Shapes.b2Shape.b2Shape.apply(this,arguments),this.s_supportVec=new l,this.m_v1=new l,this.m_v2=new l,this.m_coreV1=new l,this.m_coreV2=new l,this.m_normal=new l,this.m_direction=new l,this.m_cornerDir1=new l,this.m_cornerDir2=new l},i.prototype.TestPoint=function(t,e){return!1},i.prototype.RayCast=function(t,e,n){var r,i=e.p2.x-e.p1.x,o=e.p2.y-e.p1.y;r=n.R;var s=n.position.x+(r.col1.x*this.m_v1.x+r.col2.x*this.m_v1.y),a=n.position.y+(r.col1.y*this.m_v1.x+r.col2.y*this.m_v1.y),u=n.position.y+(r.col1.y*this.m_v2.x+r.col2.y*this.m_v2.y)-a,c=-(n.position.x+(r.col1.x*this.m_v2.x+r.col2.x*this.m_v2.y)-s),h=100*Number.MIN_VALUE,l=-(i*u+o*c);if(l>h){var d=e.p1.x-s,f=e.p1.y-a,p=d*u+f*c;if(0<=p&&p<=e.maxFraction*l){var _=-i*f+o*d;if(-h*l<=_&&_<=l*(1+h)){p/=l,t.fraction=p;var m=Math.sqrt(u*u+c*c);return t.normal.x=u/m,t.normal.y=c/m,!0}}}return!1},i.prototype.ComputeAABB=function(t,e){var n=e.R,r=e.position.x+(n.col1.x*this.m_v1.x+n.col2.x*this.m_v1.y),i=e.position.y+(n.col1.y*this.m_v1.x+n.col2.y*this.m_v1.y),o=e.position.x+(n.col1.x*this.m_v2.x+n.col2.x*this.m_v2.y),s=e.position.y+(n.col1.y*this.m_v2.x+n.col2.y*this.m_v2.y);r0){if(u>0)return 0;o.x=-u/(a-u)*o.x+a/(a-u)*s.x,o.y=-u/(a-u)*o.y+a/(a-u)*s.y}else u>0&&(s.x=-u/(a-u)*o.x+a/(a-u)*s.x,s.y=-u/(a-u)*o.y+a/(a-u)*s.y);return r.x=(i.x+o.x+s.x)/3,r.y=(i.y+o.y+s.y)/3,.5*((o.x-i.x)*(s.y-i.y)-(o.y-i.y)*(s.x-i.x))},i.prototype.GetLength=function(){return this.m_length},i.prototype.GetVertex1=function(){return this.m_v1},i.prototype.GetVertex2=function(){return this.m_v2},i.prototype.GetCoreVertex1=function(){return this.m_coreV1},i.prototype.GetCoreVertex2=function(){return this.m_coreV2},i.prototype.GetNormalVector=function(){return this.m_normal},i.prototype.GetDirectionVector=function(){return this.m_direction},i.prototype.GetCorner1Vector=function(){return this.m_cornerDir1},i.prototype.GetCorner2Vector=function(){return this.m_cornerDir2},i.prototype.Corner1IsConvex=function(){return this.m_cornerConvex1},i.prototype.Corner2IsConvex=function(){return this.m_cornerConvex2},i.prototype.GetFirstVertex=function(t){var e=t.R;return new l(t.position.x+(e.col1.x*this.m_coreV1.x+e.col2.x*this.m_coreV1.y),t.position.y+(e.col1.y*this.m_coreV1.x+e.col2.y*this.m_coreV1.y))},i.prototype.GetNextEdge=function(){return this.m_nextEdge},i.prototype.GetPrevEdge=function(){return this.m_prevEdge},i.prototype.Support=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var r=t.R,i=t.position.x+(r.col1.x*this.m_coreV1.x+r.col2.x*this.m_coreV1.y),o=t.position.y+(r.col1.y*this.m_coreV1.x+r.col2.y*this.m_coreV1.y),s=t.position.x+(r.col1.x*this.m_coreV2.x+r.col2.x*this.m_coreV2.y),a=t.position.y+(r.col1.y*this.m_coreV2.x+r.col2.y*this.m_coreV2.y);return i*e+o*n>s*e+a*n?(this.s_supportVec.x=i,this.s_supportVec.y=o):(this.s_supportVec.x=s,this.s_supportVec.y=a),this.s_supportVec},i.prototype.b2EdgeShape=function(e,n){this.__super.b2Shape.call(this),this.m_type=a.e_edgeShape,this.m_prevEdge=null,this.m_nextEdge=null,this.m_v1=e,this.m_v2=n,this.m_direction.Set(this.m_v2.x-this.m_v1.x,this.m_v2.y-this.m_v1.y),this.m_length=this.m_direction.Normalize(),this.m_normal.Set(this.m_direction.y,-this.m_direction.x),this.m_coreV1.Set(-t.b2_toiSlop*(this.m_normal.x-this.m_direction.x)+this.m_v1.x,-t.b2_toiSlop*(this.m_normal.y-this.m_direction.y)+this.m_v1.y),this.m_coreV2.Set(-t.b2_toiSlop*(this.m_normal.x+this.m_direction.x)+this.m_v2.x,-t.b2_toiSlop*(this.m_normal.y+this.m_direction.y)+this.m_v2.y),this.m_cornerDir1=this.m_normal,this.m_cornerDir2.Set(-this.m_normal.x,-this.m_normal.y)},i.prototype.SetPrevEdge=function(t,e,n,r){this.m_prevEdge=t,this.m_coreV1=e,this.m_cornerDir1=n,this.m_cornerConvex1=r},i.prototype.SetNextEdge=function(t,e,n,r){this.m_nextEdge=t,this.m_coreV2=e,this.m_cornerDir2=n,this.m_cornerConvex2=r},o.b2MassData=function(){this.mass=0,this.center=new l(0,0),this.I=0},r.inherit(s,r.Collision.Shapes.b2Shape),s.prototype.__super=r.Collision.Shapes.b2Shape.prototype,s.b2PolygonShape=function(){r.Collision.Shapes.b2Shape.b2Shape.apply(this,arguments)},s.prototype.Copy=function(){var t=new s;return t.Set(this),t},s.prototype.Set=function(t){if(this.__super.Set.call(this,t),r.is(t,s)){var e=t instanceof s?t:null;this.m_centroid.SetV(e.m_centroid),this.m_vertexCount=e.m_vertexCount,this.Reserve(this.m_vertexCount);for(var n=0;nNumber.MIN_VALUE),this.m_normals[r].SetV(c.CrossVF(a,1)),this.m_normals[r].Normalize()}this.m_centroid=s.ComputeCentroid(this.m_vertices,this.m_vertexCount)},s.AsVector=function(t,e){void 0===e&&(e=0);var n=new s;return n.SetAsVector(t,e),n},s.prototype.SetAsBox=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.m_vertexCount=4,this.Reserve(4),this.m_vertices[0].Set(-t,-e),this.m_vertices[1].Set(t,-e),this.m_vertices[2].Set(t,e),this.m_vertices[3].Set(-t,e),this.m_normals[0].Set(0,-1),this.m_normals[1].Set(1,0),this.m_normals[2].Set(0,1),this.m_normals[3].Set(-1,0),this.m_centroid.SetZero()},s.AsBox=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=new s;return n.SetAsBox(t,e),n},s.prototype.SetAsOrientedBox=function(t,e,n,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=null),void 0===r&&(r=0),this.m_vertexCount=4,this.Reserve(4),this.m_vertices[0].Set(-t,-e),this.m_vertices[1].Set(t,-e),this.m_vertices[2].Set(t,e),this.m_vertices[3].Set(-t,e),this.m_normals[0].Set(0,-1),this.m_normals[1].Set(1,0),this.m_normals[2].Set(0,1),this.m_normals[3].Set(-1,0),this.m_centroid=n;var i=new h;i.position=n,i.R.Set(r);for(var o=0;o0)return!1}return!0},s.prototype.RayCast=function(t,e,n){var r,i,o=0,s=e.maxFraction,a=0,u=0;a=e.p1.x-n.position.x,u=e.p1.y-n.position.y;var c=a*(r=n.R).col1.x+u*r.col1.y,h=a*r.col2.x+u*r.col2.y;a=e.p2.x-n.position.x,u=e.p2.y-n.position.y;for(var l=a*(r=n.R).col1.x+u*r.col1.y-c,d=a*r.col2.x+u*r.col2.y-h,f=parseInt(-1),p=0;p0&&_=0&&(t.fraction=o,r=n.R,i=this.m_normals[f],t.normal.x=r.col1.x*i.x+r.col2.x*i.y,t.normal.y=r.col1.y*i.x+r.col2.y*i.y,!0)},s.prototype.ComputeAABB=function(t,e){for(var n=e.R,r=this.m_vertices[0],i=e.position.x+(n.col1.x*r.x+n.col2.x*r.y),o=e.position.y+(n.col1.y*r.x+n.col2.y*r.y),s=i,a=o,u=1;uc?s:c,a=a>h?a:h}t.lowerBound.x=i-this.m_radius,t.lowerBound.y=o-this.m_radius,t.upperBound.x=s+this.m_radius,t.upperBound.y=a+this.m_radius},s.prototype.ComputeMass=function(t,e){if(void 0===e&&(e=0),2==this.m_vertexCount)return t.center.x=.5*(this.m_vertices[0].x+this.m_vertices[1].x),t.center.y=.5*(this.m_vertices[0].y+this.m_vertices[1].y),t.mass=0,void(t.I=0);for(var n=0,r=0,i=0,o=0,s=0;s0&&(_?f||(h=p-1,u++):f&&(d=p-1,u++)),f=_}switch(u){case 0:if(f){var m=new o;return this.ComputeMass(m,1),r.SetV(c.MulX(n,m.center)),m.mass}return 0;case 1:-1==h?h=this.m_vertexCount-1:d=this.m_vertexCount-1}var y,v=parseInt((h+1)%this.m_vertexCount),b=parseInt((d+1)%this.m_vertexCount),g=(0-a[h])/(a[v]-a[h]),w=(0-a[d])/(a[b]-a[d]),x=new l(this.m_vertices[h].x*(1-g)+this.m_vertices[v].x*g,this.m_vertices[h].y*(1-g)+this.m_vertices[v].y*g),M=new l(this.m_vertices[d].x*(1-w)+this.m_vertices[b].x*w,this.m_vertices[d].y*(1-w)+this.m_vertices[b].y*w),S=0,T=new l,A=this.m_vertices[v];for(p=v;p!=b;){y=(p=(p+1)%this.m_vertexCount)==b?M:this.m_vertices[p];var E=.5*((A.x-x.x)*(y.y-x.y)-(A.y-x.y)*(y.x-x.x));S+=E,T.x+=E*(x.x+A.x+y.x)/3,T.y+=E*(x.y+A.y+y.y)/3,A=y}return T.Multiply(1/S),r.SetV(c.MulX(n,T)),S},s.prototype.GetVertexCount=function(){return this.m_vertexCount},s.prototype.GetVertices=function(){return this.m_vertices},s.prototype.GetNormals=function(){return this.m_normals},s.prototype.GetSupport=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;rn&&(e=r,n=i)}return e},s.prototype.GetSupportVertex=function(t){for(var e=0,n=this.m_vertices[0].x*t.x+this.m_vertices[0].y*t.y,r=1;rn&&(e=r,n=i)}return this.m_vertices[e]},s.prototype.Validate=function(){return!1},s.prototype.b2PolygonShape=function(){this.__super.b2Shape.call(this),this.m_type=a.e_polygonShape,this.m_centroid=new l,this.m_vertices=new V,this.m_normals=new V},s.prototype.Reserve=function(t){void 0===t&&(t=0);for(var e=parseInt(this.m_vertices.length);ep&&(p=b),g>_&&(_=g)}var w=(p-d)*(_-f);if(w<.95*o){o=w,t.R.col1.x=a,t.R.col1.y=u,t.R.col2.x=h,t.R.col2.y=l;var x=.5*(d+p),M=.5*(f+_),S=t.R;t.center.x=s.x+(S.col1.x*x+S.col2.x*M),t.center.y=s.y+(S.col1.y*x+S.col2.y*M),t.extents.x=.5*(p-d),t.extents.y=.5*(_-f)}}},r.postDefs.push((function(){r.Collision.Shapes.b2PolygonShape.s_mat=new u})),a.b2Shape=function(){},a.prototype.Copy=function(){return null},a.prototype.Set=function(t){this.m_radius=t.m_radius},a.prototype.GetType=function(){return this.m_type},a.prototype.TestPoint=function(t,e){return!1},a.prototype.RayCast=function(t,e,n){return!1},a.prototype.ComputeAABB=function(t,e){},a.prototype.ComputeMass=function(t,e){void 0===e&&(e=0)},a.prototype.ComputeSubmergedArea=function(t,e,n,r){return void 0===e&&(e=0),0},a.TestOverlap=function(t,e,n,r){var i=new f;i.proxyA=new _,i.proxyA.Set(t),i.proxyB=new _,i.proxyB.Set(n),i.transformA=e,i.transformB=r,i.useRadii=!0;var o=new m;o.count=0;var s=new p;return d.Distance(s,o,i),s.distance<10*Number.MIN_VALUE},a.prototype.b2Shape=function(){this.m_type=a.e_unknownShape,this.m_radius=t.b2_linearSlop},r.postDefs.push((function(){r.Collision.Shapes.b2Shape.e_unknownShape=parseInt(-1),r.Collision.Shapes.b2Shape.e_circleShape=0,r.Collision.Shapes.b2Shape.e_polygonShape=1,r.Collision.Shapes.b2Shape.e_edgeShape=2,r.Collision.Shapes.b2Shape.e_shapeTypeCount=3,r.Collision.Shapes.b2Shape.e_hitCollide=1,r.Collision.Shapes.b2Shape.e_missCollide=0,r.Collision.Shapes.b2Shape.e_startsInsideCollide=parseInt(-1)}))}(),function(){var t=r.Common.b2Color,e=(r.Common.b2internal,r.Common.b2Settings),n=(r.Common.Math.b2Mat22,r.Common.Math.b2Mat33,r.Common.Math.b2Math);r.Common.Math.b2Sweep,r.Common.Math.b2Transform,r.Common.Math.b2Vec2,r.Common.Math.b2Vec3;t.b2Color=function(){this._r=0,this._g=0,this._b=0},t.prototype.b2Color=function(t,e,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),this._r=r.parseUInt(255*n.Clamp(t,0,1)),this._g=r.parseUInt(255*n.Clamp(e,0,1)),this._b=r.parseUInt(255*n.Clamp(i,0,1))},t.prototype.Set=function(t,e,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),this._r=r.parseUInt(255*n.Clamp(t,0,1)),this._g=r.parseUInt(255*n.Clamp(e,0,1)),this._b=r.parseUInt(255*n.Clamp(i,0,1))},Object.defineProperty(t.prototype,"r",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._r=r.parseUInt(255*n.Clamp(t,0,1))}}),Object.defineProperty(t.prototype,"g",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._g=r.parseUInt(255*n.Clamp(t,0,1))}}),Object.defineProperty(t.prototype,"b",{enumerable:!1,configurable:!0,set:function(t){void 0===t&&(t=0),this._b=r.parseUInt(255*n.Clamp(t,0,1))}}),Object.defineProperty(t.prototype,"color",{enumerable:!1,configurable:!0,get:function(){return this._r<<16|this._g<<8|this._b}}),e.b2Settings=function(){},e.b2MixFriction=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),Math.sqrt(t*e)},e.b2MixRestitution=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),t>e?t:e},e.b2Assert=function(t){if(!t)throw"Assertion Failed"},r.postDefs.push((function(){r.Common.b2Settings.VERSION="2.1alpha",r.Common.b2Settings.USHRT_MAX=65535,r.Common.b2Settings.b2_pi=Math.PI,r.Common.b2Settings.b2_maxManifoldPoints=2,r.Common.b2Settings.b2_aabbExtension=.1,r.Common.b2Settings.b2_aabbMultiplier=2,r.Common.b2Settings.b2_polygonRadius=2*e.b2_linearSlop,r.Common.b2Settings.b2_linearSlop=.005,r.Common.b2Settings.b2_angularSlop=2/180*e.b2_pi,r.Common.b2Settings.b2_toiSlop=8*e.b2_linearSlop,r.Common.b2Settings.b2_maxTOIContactsPerIsland=32,r.Common.b2Settings.b2_maxTOIJointsPerIsland=32,r.Common.b2Settings.b2_velocityThreshold=1,r.Common.b2Settings.b2_maxLinearCorrection=.2,r.Common.b2Settings.b2_maxAngularCorrection=8/180*e.b2_pi,r.Common.b2Settings.b2_maxTranslation=2,r.Common.b2Settings.b2_maxTranslationSquared=e.b2_maxTranslation*e.b2_maxTranslation,r.Common.b2Settings.b2_maxRotation=.5*e.b2_pi,r.Common.b2Settings.b2_maxRotationSquared=e.b2_maxRotation*e.b2_maxRotation,r.Common.b2Settings.b2_contactBaumgarte=.2,r.Common.b2Settings.b2_timeToSleep=.5,r.Common.b2Settings.b2_linearSleepTolerance=.01,r.Common.b2Settings.b2_angularSleepTolerance=2/180*e.b2_pi}))}(),function(){r.Collision.b2AABB,r.Common.b2Color,r.Common.b2internal,r.Common.b2Settings;var t=r.Common.Math.b2Mat22,e=r.Common.Math.b2Mat33,n=r.Common.Math.b2Math,i=r.Common.Math.b2Sweep,o=r.Common.Math.b2Transform,s=r.Common.Math.b2Vec2,a=r.Common.Math.b2Vec3;t.b2Mat22=function(){this.col1=new s,this.col2=new s},t.prototype.b2Mat22=function(){this.SetIdentity()},t.FromAngle=function(e){void 0===e&&(e=0);var n=new t;return n.Set(e),n},t.FromVV=function(e,n){var r=new t;return r.SetVV(e,n),r},t.prototype.Set=function(t){void 0===t&&(t=0);var e=Math.cos(t),n=Math.sin(t);this.col1.x=e,this.col2.x=-n,this.col1.y=n,this.col2.y=e},t.prototype.SetVV=function(t,e){this.col1.SetV(t),this.col2.SetV(e)},t.prototype.Copy=function(){var e=new t;return e.SetM(this),e},t.prototype.SetM=function(t){this.col1.SetV(t.col1),this.col2.SetV(t.col2)},t.prototype.AddM=function(t){this.col1.x+=t.col1.x,this.col1.y+=t.col1.y,this.col2.x+=t.col2.x,this.col2.y+=t.col2.y},t.prototype.SetIdentity=function(){this.col1.x=1,this.col2.x=0,this.col1.y=0,this.col2.y=1},t.prototype.SetZero=function(){this.col1.x=0,this.col2.x=0,this.col1.y=0,this.col2.y=0},t.prototype.GetAngle=function(){return Math.atan2(this.col1.y,this.col1.x)},t.prototype.GetInverse=function(t){var e=this.col1.x,n=this.col2.x,r=this.col1.y,i=this.col2.y,o=e*i-n*r;return 0!=o&&(o=1/o),t.col1.x=o*i,t.col2.x=-o*n,t.col1.y=-o*r,t.col2.y=o*e,t},t.prototype.Solve=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var r=this.col1.x,i=this.col2.x,o=this.col1.y,s=this.col2.y,a=r*s-i*o;return 0!=a&&(a=1/a),t.x=a*(s*e-i*n),t.y=a*(r*n-o*e),t},t.prototype.Abs=function(){this.col1.Abs(),this.col2.Abs()},e.b2Mat33=function(){this.col1=new a,this.col2=new a,this.col3=new a},e.prototype.b2Mat33=function(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=null),t||e||n?(this.col1.SetV(t),this.col2.SetV(e),this.col3.SetV(n)):(this.col1.SetZero(),this.col2.SetZero(),this.col3.SetZero())},e.prototype.SetVVV=function(t,e,n){this.col1.SetV(t),this.col2.SetV(e),this.col3.SetV(n)},e.prototype.Copy=function(){return new e(this.col1,this.col2,this.col3)},e.prototype.SetM=function(t){this.col1.SetV(t.col1),this.col2.SetV(t.col2),this.col3.SetV(t.col3)},e.prototype.AddM=function(t){this.col1.x+=t.col1.x,this.col1.y+=t.col1.y,this.col1.z+=t.col1.z,this.col2.x+=t.col2.x,this.col2.y+=t.col2.y,this.col2.z+=t.col2.z,this.col3.x+=t.col3.x,this.col3.y+=t.col3.y,this.col3.z+=t.col3.z},e.prototype.SetIdentity=function(){this.col1.x=1,this.col2.x=0,this.col3.x=0,this.col1.y=0,this.col2.y=1,this.col3.y=0,this.col1.z=0,this.col2.z=0,this.col3.z=1},e.prototype.SetZero=function(){this.col1.x=0,this.col2.x=0,this.col3.x=0,this.col1.y=0,this.col2.y=0,this.col3.y=0,this.col1.z=0,this.col2.z=0,this.col3.z=0},e.prototype.Solve22=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=0);var r=this.col1.x,i=this.col2.x,o=this.col1.y,s=this.col2.y,a=r*s-i*o;return 0!=a&&(a=1/a),t.x=a*(s*e-i*n),t.y=a*(r*n-o*e),t},e.prototype.Solve33=function(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0);var i=this.col1.x,o=this.col1.y,s=this.col1.z,a=this.col2.x,u=this.col2.y,c=this.col2.z,h=this.col3.x,l=this.col3.y,d=this.col3.z,f=i*(u*d-c*l)+o*(c*h-a*d)+s*(a*l-u*h);return 0!=f&&(f=1/f),t.x=f*(e*(u*d-c*l)+n*(c*h-a*d)+r*(a*l-u*h)),t.y=f*(i*(n*d-r*l)+o*(r*h-e*d)+s*(e*l-n*h)),t.z=f*(i*(u*r-c*n)+o*(c*e-a*r)+s*(a*n-u*e)),t},n.b2Math=function(){},n.IsValid=function(t){return void 0===t&&(t=0),isFinite(t)},n.Dot=function(t,e){return t.x*e.x+t.y*e.y},n.CrossVV=function(t,e){return t.x*e.y-t.y*e.x},n.CrossVF=function(t,e){return void 0===e&&(e=0),new s(e*t.y,-e*t.x)},n.CrossFV=function(t,e){return void 0===t&&(t=0),new s(-t*e.y,t*e.x)},n.MulMV=function(t,e){return new s(t.col1.x*e.x+t.col2.x*e.y,t.col1.y*e.x+t.col2.y*e.y)},n.MulTMV=function(t,e){return new s(n.Dot(e,t.col1),n.Dot(e,t.col2))},n.MulX=function(t,e){var r=n.MulMV(t.R,e);return r.x+=t.position.x,r.y+=t.position.y,r},n.MulXT=function(t,e){var r=n.SubtractVV(e,t.position),i=r.x*t.R.col1.x+r.y*t.R.col1.y;return r.y=r.x*t.R.col2.x+r.y*t.R.col2.y,r.x=i,r},n.AddVV=function(t,e){return new s(t.x+e.x,t.y+e.y)},n.SubtractVV=function(t,e){return new s(t.x-e.x,t.y-e.y)},n.Distance=function(t,e){var n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)},n.DistanceSquared=function(t,e){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},n.MulFV=function(t,e){return void 0===t&&(t=0),new s(t*e.x,t*e.y)},n.AddMM=function(e,r){return t.FromVV(n.AddVV(e.col1,r.col1),n.AddVV(e.col2,r.col2))},n.MulMM=function(e,r){return t.FromVV(n.MulMV(e,r.col1),n.MulMV(e,r.col2))},n.MulTMM=function(e,r){var i=new s(n.Dot(e.col1,r.col1),n.Dot(e.col2,r.col1)),o=new s(n.Dot(e.col1,r.col2),n.Dot(e.col2,r.col2));return t.FromVV(i,o)},n.Abs=function(t){return void 0===t&&(t=0),t>0?t:-t},n.AbsV=function(t){return new s(n.Abs(t.x),n.Abs(t.y))},n.AbsM=function(e){return t.FromVV(n.AbsV(e.col1),n.AbsV(e.col2))},n.Min=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),te?t:e},n.MaxV=function(t,e){return new s(n.Max(t.x,e.x),n.Max(t.y,e.y))},n.Clamp=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),tn?n:t},n.ClampV=function(t,e,r){return n.MaxV(e,n.MinV(t,r))},n.Swap=function(t,e){var n=t[0];t[0]=e[0],e[0]=n},n.Random=function(){return 2*Math.random()-1},n.RandomRange=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0);var n=Math.random();return n=(e-t)*n+t},n.NextPowerOfTwo=function(t){return void 0===t&&(t=0),t|=t>>1&2147483647,t|=t>>2&1073741823,t|=t>>4&268435455,t|=t>>8&16777215,(t|=t>>16&65535)+1},n.IsPowerOfTwo=function(t){return void 0===t&&(t=0),t>0&&0==(t&t-1)},r.postDefs.push((function(){r.Common.Math.b2Math.b2Vec2_zero=new s(0,0),r.Common.Math.b2Math.b2Mat22_identity=t.FromVV(new s(1,0),new s(0,1)),r.Common.Math.b2Math.b2Transform_identity=new o(n.b2Vec2_zero,n.b2Mat22_identity)})),i.b2Sweep=function(){this.localCenter=new s,this.c0=new s,this.c=new s},i.prototype.Set=function(t){this.localCenter.SetV(t.localCenter),this.c0.SetV(t.c0),this.c.SetV(t.c),this.a0=t.a0,this.a=t.a,this.t0=t.t0},i.prototype.Copy=function(){var t=new i;return t.localCenter.SetV(this.localCenter),t.c0.SetV(this.c0),t.c.SetV(this.c),t.a0=this.a0,t.a=this.a,t.t0=this.t0,t},i.prototype.GetTransform=function(t,e){void 0===e&&(e=0),t.position.x=(1-e)*this.c0.x+e*this.c.x,t.position.y=(1-e)*this.c0.y+e*this.c.y;var n=(1-e)*this.a0+e*this.a;t.R.Set(n);var r=t.R;t.position.x-=r.col1.x*this.localCenter.x+r.col2.x*this.localCenter.y,t.position.y-=r.col1.y*this.localCenter.x+r.col2.y*this.localCenter.y},i.prototype.Advance=function(t){if(void 0===t&&(t=0),this.t0Number.MIN_VALUE){var e=(t-this.t0)/(1-this.t0);this.c0.x=(1-e)*this.c0.x+e*this.c.x,this.c0.y=(1-e)*this.c0.y+e*this.c.y,this.a0=(1-e)*this.a0+e*this.a,this.t0=t}},o.b2Transform=function(){this.position=new s,this.R=new t},o.prototype.b2Transform=function(t,e){void 0===t&&(t=null),void 0===e&&(e=null),t&&(this.position.SetV(t),this.R.SetM(e))},o.prototype.Initialize=function(t,e){this.position.SetV(t),this.R.SetM(e)},o.prototype.SetIdentity=function(){this.position.SetZero(),this.R.SetIdentity()},o.prototype.Set=function(t){this.position.SetV(t.position),this.R.SetM(t.R)},o.prototype.GetAngle=function(){return Math.atan2(this.R.col1.y,this.R.col1.x)},s.b2Vec2=function(){},s.prototype.b2Vec2=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e},s.prototype.SetZero=function(){this.x=0,this.y=0},s.prototype.Set=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=t,this.y=e},s.prototype.SetV=function(t){this.x=t.x,this.y=t.y},s.prototype.GetNegative=function(){return new s(-this.x,-this.y)},s.prototype.NegativeSelf=function(){this.x=-this.x,this.y=-this.y},s.Make=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),new s(t,e)},s.prototype.Copy=function(){return new s(this.x,this.y)},s.prototype.Add=function(t){this.x+=t.x,this.y+=t.y},s.prototype.Subtract=function(t){this.x-=t.x,this.y-=t.y},s.prototype.Multiply=function(t){void 0===t&&(t=0),this.x*=t,this.y*=t},s.prototype.MulM=function(t){var e=this.x;this.x=t.col1.x*e+t.col2.x*this.y,this.y=t.col1.y*e+t.col2.y*this.y},s.prototype.MulTM=function(t){var e=n.Dot(this,t.col1);this.y=n.Dot(this,t.col2),this.x=e},s.prototype.CrossVF=function(t){void 0===t&&(t=0);var e=this.x;this.x=t*this.y,this.y=-t*e},s.prototype.CrossFV=function(t){void 0===t&&(t=0);var e=this.x;this.x=-t*this.y,this.y=t*e},s.prototype.MinV=function(t){this.x=this.xt.x?this.x:t.x,this.y=this.y>t.y?this.y:t.y},s.prototype.Abs=function(){this.x<0&&(this.x=-this.x),this.y<0&&(this.y=-this.y)},s.prototype.Length=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},s.prototype.LengthSquared=function(){return this.x*this.x+this.y*this.y},s.prototype.Normalize=function(){var t=Math.sqrt(this.x*this.x+this.y*this.y);if(t0;return e.SetNextEdge(n,a,u,c),n.SetPrevEdge(e,a,u,c),i},y.prototype.CreateFixture=function(t){if(1==this.m_world.IsLocked())return null;var e=new A;if(e.Create(this,this.m_xf,t),this.m_flags&y.e_activeFlag){var n=this.m_world.m_contactManager.m_broadPhase;e.CreateProxy(n,this.m_xf)}return e.m_next=this.m_fixtureList,this.m_fixtureList=e,++this.m_fixtureCount,e.m_body=this,e.m_density>0&&this.ResetMassData(),this.m_world.m_flags|=C.e_newFixture,e},y.prototype.CreateFixture2=function(t,e){void 0===e&&(e=0);var n=new E;return n.shape=t,n.density=e,this.CreateFixture(n)},y.prototype.DestroyFixture=function(t){if(1!=this.m_world.IsLocked()){for(var e=this.m_fixtureList,n=null;null!=e;){if(e==t){n?n.m_next=t.m_next:this.m_fixtureList=t.m_next,!0;break}n=e,e=e.m_next}for(var r=this.m_contactList;r;){var i=r.contact;r=r.next;var o=i.GetFixtureA(),s=i.GetFixtureB();t!=o&&t!=s||this.m_world.m_contactManager.Destroy(i)}if(this.m_flags&y.e_activeFlag){var a=this.m_world.m_contactManager.m_broadPhase;t.DestroyProxy(a)}t.Destroy(),t.m_body=null,t.m_next=null,--this.m_fixtureCount,this.ResetMassData()}},y.prototype.SetPositionAndAngle=function(t,e){var n;if(void 0===e&&(e=0),1!=this.m_world.IsLocked()){this.m_xf.R.Set(e),this.m_xf.position.SetV(t);var r=this.m_xf.R,i=this.m_sweep.localCenter;this.m_sweep.c.x=r.col1.x*i.x+r.col2.x*i.y,this.m_sweep.c.y=r.col1.y*i.x+r.col2.y*i.y,this.m_sweep.c.x+=this.m_xf.position.x,this.m_sweep.c.y+=this.m_xf.position.y,this.m_sweep.c0.SetV(this.m_sweep.c),this.m_sweep.a0=this.m_sweep.a=e;var o=this.m_world.m_contactManager.m_broadPhase;for(n=this.m_fixtureList;n;n=n.m_next)n.Synchronize(o,this.m_xf,this.m_xf);this.m_world.m_contactManager.FindNewContacts()}},y.prototype.SetTransform=function(t){this.SetPositionAndAngle(t.position,t.GetAngle())},y.prototype.GetTransform=function(){return this.m_xf},y.prototype.GetPosition=function(){return this.m_xf.position},y.prototype.SetPosition=function(t){this.SetPositionAndAngle(t,this.GetAngle())},y.prototype.GetAngle=function(){return this.m_sweep.a},y.prototype.SetAngle=function(t){void 0===t&&(t=0),this.SetPositionAndAngle(this.GetPosition(),t)},y.prototype.GetWorldCenter=function(){return this.m_sweep.c},y.prototype.GetLocalCenter=function(){return this.m_sweep.localCenter},y.prototype.SetLinearVelocity=function(t){this.m_type!=y.b2_staticBody&&this.m_linearVelocity.SetV(t)},y.prototype.GetLinearVelocity=function(){return this.m_linearVelocity},y.prototype.SetAngularVelocity=function(t){void 0===t&&(t=0),this.m_type!=y.b2_staticBody&&(this.m_angularVelocity=t)},y.prototype.GetAngularVelocity=function(){return this.m_angularVelocity},y.prototype.GetDefinition=function(){var t=new v;return t.type=this.GetType(),t.allowSleep=(this.m_flags&y.e_allowSleepFlag)==y.e_allowSleepFlag,t.angle=this.GetAngle(),t.angularDamping=this.m_angularDamping,t.angularVelocity=this.m_angularVelocity,t.fixedRotation=(this.m_flags&y.e_fixedRotationFlag)==y.e_fixedRotationFlag,t.bullet=(this.m_flags&y.e_bulletFlag)==y.e_bulletFlag,t.awake=(this.m_flags&y.e_awakeFlag)==y.e_awakeFlag,t.linearDamping=this.m_linearDamping,t.linearVelocity.SetV(this.GetLinearVelocity()),t.position=this.GetPosition(),t.userData=this.GetUserData(),t},y.prototype.ApplyForce=function(t,e){this.m_type==y.b2_dynamicBody&&(0==this.IsAwake()&&this.SetAwake(!0),this.m_force.x+=t.x,this.m_force.y+=t.y,this.m_torque+=(e.x-this.m_sweep.c.x)*t.y-(e.y-this.m_sweep.c.y)*t.x)},y.prototype.ApplyTorque=function(t){void 0===t&&(t=0),this.m_type==y.b2_dynamicBody&&(0==this.IsAwake()&&this.SetAwake(!0),this.m_torque+=t)},y.prototype.ApplyImpulse=function(t,e){this.m_type==y.b2_dynamicBody&&(0==this.IsAwake()&&this.SetAwake(!0),this.m_linearVelocity.x+=this.m_invMass*t.x,this.m_linearVelocity.y+=this.m_invMass*t.y,this.m_angularVelocity+=this.m_invI*((e.x-this.m_sweep.c.x)*t.y-(e.y-this.m_sweep.c.y)*t.x))},y.prototype.Split=function(e){for(var n,r=this.GetLinearVelocity().Copy(),i=this.GetAngularVelocity(),o=this.GetWorldCenter(),s=this.m_world.CreateBody(this.GetDefinition()),a=this.m_fixtureList;a;)if(e(a)){var u=a.m_next;n?n.m_next=u:this.m_fixtureList=u,this.m_fixtureCount--,a.m_next=s.m_fixtureList,s.m_fixtureList=a,s.m_fixtureCount++,a.m_body=s,a=u}else n=a,a=a.m_next;this.ResetMassData(),s.ResetMassData();var c=this.GetWorldCenter(),h=s.GetWorldCenter(),l=t.AddVV(r,t.CrossFV(i,t.SubtractVV(c,o))),d=t.AddVV(r,t.CrossFV(i,t.SubtractVV(h,o)));return this.SetLinearVelocity(l),s.SetLinearVelocity(d),this.SetAngularVelocity(i),s.SetAngularVelocity(i),this.SynchronizeFixtures(),s.SynchronizeFixtures(),s},y.prototype.Merge=function(t){var e;for(e=t.m_fixtureList;e;){var n=e.m_next;t.m_fixtureCount--,e.m_next=this.m_fixtureList,this.m_fixtureList=e,this.m_fixtureCount++,e.m_body=i,e=n}r.m_fixtureCount=0;var r=this,i=t;r.GetWorldCenter(),i.GetWorldCenter(),r.GetLinearVelocity().Copy(),i.GetLinearVelocity().Copy(),r.GetAngularVelocity(),i.GetAngularVelocity();r.ResetMassData(),this.SynchronizeFixtures()},y.prototype.GetMass=function(){return this.m_mass},y.prototype.GetInertia=function(){return this.m_I},y.prototype.GetMassData=function(t){t.mass=this.m_mass,t.I=this.m_I,t.center.SetV(this.m_sweep.localCenter)},y.prototype.SetMassData=function(e){if(s.b2Assert(0==this.m_world.IsLocked()),1!=this.m_world.IsLocked()&&this.m_type==y.b2_dynamicBody){this.m_invMass=0,this.m_I=0,this.m_invI=0,this.m_mass=e.mass,this.m_mass<=0&&(this.m_mass=1),this.m_invMass=1/this.m_mass,e.I>0&&0==(this.m_flags&y.e_fixedRotationFlag)&&(this.m_I=e.I-this.m_mass*(e.center.x*e.center.x+e.center.y*e.center.y),this.m_invI=1/this.m_I);var n=this.m_sweep.c.Copy();this.m_sweep.localCenter.SetV(e.center),this.m_sweep.c0.SetV(t.MulX(this.m_xf,this.m_sweep.localCenter)),this.m_sweep.c.SetV(this.m_sweep.c0),this.m_linearVelocity.x+=this.m_angularVelocity*-(this.m_sweep.c.y-n.y),this.m_linearVelocity.y+=this.m_angularVelocity*+(this.m_sweep.c.x-n.x)}},y.prototype.ResetMassData=function(){if(this.m_mass=0,this.m_invMass=0,this.m_I=0,this.m_invI=0,this.m_sweep.localCenter.SetZero(),this.m_type!=y.b2_staticBody&&this.m_type!=y.b2_kinematicBody){for(var e=i.Make(0,0),n=this.m_fixtureList;n;n=n.m_next)if(0!=n.m_density){var r=n.GetMassData();this.m_mass+=r.mass,e.x+=r.center.x*r.mass,e.y+=r.center.y*r.mass,this.m_I+=r.I}this.m_mass>0?(this.m_invMass=1/this.m_mass,e.x*=this.m_invMass,e.y*=this.m_invMass):(this.m_mass=1,this.m_invMass=1),this.m_I>0&&0==(this.m_flags&y.e_fixedRotationFlag)?(this.m_I-=this.m_mass*(e.x*e.x+e.y*e.y),this.m_I*=this.m_inertiaScale,s.b2Assert(this.m_I>0),this.m_invI=1/this.m_I):(this.m_I=0,this.m_invI=0);var o=this.m_sweep.c.Copy();this.m_sweep.localCenter.SetV(e),this.m_sweep.c0.SetV(t.MulX(this.m_xf,this.m_sweep.localCenter)),this.m_sweep.c.SetV(this.m_sweep.c0),this.m_linearVelocity.x+=this.m_angularVelocity*-(this.m_sweep.c.y-o.y),this.m_linearVelocity.y+=this.m_angularVelocity*+(this.m_sweep.c.x-o.x)}},y.prototype.GetWorldPoint=function(t){var e=this.m_xf.R,n=new i(e.col1.x*t.x+e.col2.x*t.y,e.col1.y*t.x+e.col2.y*t.y);return n.x+=this.m_xf.position.x,n.y+=this.m_xf.position.y,n},y.prototype.GetWorldVector=function(e){return t.MulMV(this.m_xf.R,e)},y.prototype.GetLocalPoint=function(e){return t.MulXT(this.m_xf,e)},y.prototype.GetLocalVector=function(e){return t.MulTMV(this.m_xf.R,e)},y.prototype.GetLinearVelocityFromWorldPoint=function(t){return new i(this.m_linearVelocity.x-this.m_angularVelocity*(t.y-this.m_sweep.c.y),this.m_linearVelocity.y+this.m_angularVelocity*(t.x-this.m_sweep.c.x))},y.prototype.GetLinearVelocityFromLocalPoint=function(t){var e=this.m_xf.R,n=new i(e.col1.x*t.x+e.col2.x*t.y,e.col1.y*t.x+e.col2.y*t.y);return n.x+=this.m_xf.position.x,n.y+=this.m_xf.position.y,new i(this.m_linearVelocity.x-this.m_angularVelocity*(n.y-this.m_sweep.c.y),this.m_linearVelocity.y+this.m_angularVelocity*(n.x-this.m_sweep.c.x))},y.prototype.GetLinearDamping=function(){return this.m_linearDamping},y.prototype.SetLinearDamping=function(t){void 0===t&&(t=0),this.m_linearDamping=t},y.prototype.GetAngularDamping=function(){return this.m_angularDamping},y.prototype.SetAngularDamping=function(t){void 0===t&&(t=0),this.m_angularDamping=t},y.prototype.SetType=function(t){if(void 0===t&&(t=0),this.m_type!=t){this.m_type=t,this.ResetMassData(),this.m_type==y.b2_staticBody&&(this.m_linearVelocity.SetZero(),this.m_angularVelocity=0),this.SetAwake(!0),this.m_force.SetZero(),this.m_torque=0;for(var e=this.m_contactList;e;e=e.next)e.contact.FlagForFiltering()}},y.prototype.GetType=function(){return this.m_type},y.prototype.SetBullet=function(t){t?this.m_flags|=y.e_bulletFlag:this.m_flags&=~y.e_bulletFlag},y.prototype.IsBullet=function(){return(this.m_flags&y.e_bulletFlag)==y.e_bulletFlag},y.prototype.SetSleepingAllowed=function(t){t?this.m_flags|=y.e_allowSleepFlag:(this.m_flags&=~y.e_allowSleepFlag,this.SetAwake(!0))},y.prototype.SetAwake=function(t){t?(this.m_flags|=y.e_awakeFlag,this.m_sleepTime=0):(this.m_flags&=~y.e_awakeFlag,this.m_sleepTime=0,this.m_linearVelocity.SetZero(),this.m_angularVelocity=0,this.m_force.SetZero(),this.m_torque=0)},y.prototype.IsAwake=function(){return(this.m_flags&y.e_awakeFlag)==y.e_awakeFlag},y.prototype.SetFixedRotation=function(t){t?this.m_flags|=y.e_fixedRotationFlag:this.m_flags&=~y.e_fixedRotationFlag,this.ResetMassData()},y.prototype.IsFixedRotation=function(){return(this.m_flags&y.e_fixedRotationFlag)==y.e_fixedRotationFlag},y.prototype.SetActive=function(t){var e,n;if(t!=this.IsActive())if(t)for(this.m_flags|=y.e_activeFlag,e=this.m_world.m_contactManager.m_broadPhase,n=this.m_fixtureList;n;n=n.m_next)n.CreateProxy(e,this.m_xf);else{for(this.m_flags&=~y.e_activeFlag,e=this.m_world.m_contactManager.m_broadPhase,n=this.m_fixtureList;n;n=n.m_next)n.DestroyProxy(e);for(var r=this.m_contactList;r;){var i=r;r=r.next,this.m_world.m_contactManager.Destroy(i.contact)}this.m_contactList=null}},y.prototype.IsActive=function(){return(this.m_flags&y.e_activeFlag)==y.e_activeFlag},y.prototype.IsSleepingAllowed=function(){return(this.m_flags&y.e_allowSleepFlag)==y.e_allowSleepFlag},y.prototype.GetFixtureList=function(){return this.m_fixtureList},y.prototype.GetJointList=function(){return this.m_jointList},y.prototype.GetControllerList=function(){return this.m_controllerList},y.prototype.GetContactList=function(){return this.m_contactList},y.prototype.GetNext=function(){return this.m_next},y.prototype.GetUserData=function(){return this.m_userData},y.prototype.SetUserData=function(t){this.m_userData=t},y.prototype.GetWorld=function(){return this.m_world},y.prototype.b2Body=function(t,e){this.m_flags=0,t.bullet&&(this.m_flags|=y.e_bulletFlag),t.fixedRotation&&(this.m_flags|=y.e_fixedRotationFlag),t.allowSleep&&(this.m_flags|=y.e_allowSleepFlag),t.awake&&(this.m_flags|=y.e_awakeFlag),t.active&&(this.m_flags|=y.e_activeFlag),this.m_world=e,this.m_xf.position.SetV(t.position),this.m_xf.R.Set(t.angle),this.m_sweep.localCenter.SetZero(),this.m_sweep.t0=1,this.m_sweep.a0=this.m_sweep.a=t.angle;var n=this.m_xf.R,r=this.m_sweep.localCenter;this.m_sweep.c.x=n.col1.x*r.x+n.col2.x*r.y,this.m_sweep.c.y=n.col1.y*r.x+n.col2.y*r.y,this.m_sweep.c.x+=this.m_xf.position.x,this.m_sweep.c.y+=this.m_xf.position.y,this.m_sweep.c0.SetV(this.m_sweep.c),this.m_jointList=null,this.m_controllerList=null,this.m_contactList=null,this.m_controllerCount=0,this.m_prev=null,this.m_next=null,this.m_linearVelocity.SetV(t.linearVelocity),this.m_angularVelocity=t.angularVelocity,this.m_linearDamping=t.linearDamping,this.m_angularDamping=t.angularDamping,this.m_force.Set(0,0),this.m_torque=0,this.m_sleepTime=0,this.m_type=t.type,this.m_type==y.b2_dynamicBody?(this.m_mass=1,this.m_invMass=1):(this.m_mass=0,this.m_invMass=0),this.m_I=0,this.m_invI=0,this.m_inertiaScale=t.inertiaScale,this.m_userData=t.userData,this.m_fixtureList=null,this.m_fixtureCount=0},y.prototype.SynchronizeFixtures=function(){var t=y.s_xf1;t.R.Set(this.m_sweep.a0);var e,n=t.R,r=this.m_sweep.localCenter;t.position.x=this.m_sweep.c0.x-(n.col1.x*r.x+n.col2.x*r.y),t.position.y=this.m_sweep.c0.y-(n.col1.y*r.x+n.col2.y*r.y);var i=this.m_world.m_contactManager.m_broadPhase;for(e=this.m_fixtureList;e;e=e.m_next)e.Synchronize(i,t,this.m_xf)},y.prototype.SynchronizeTransform=function(){this.m_xf.R.Set(this.m_sweep.a);var t=this.m_xf.R,e=this.m_sweep.localCenter;this.m_xf.position.x=this.m_sweep.c.x-(t.col1.x*e.x+t.col2.x*e.y),this.m_xf.position.y=this.m_sweep.c.y-(t.col1.y*e.x+t.col2.y*e.y)},y.prototype.ShouldCollide=function(t){if(this.m_type!=y.b2_dynamicBody&&t.m_type!=y.b2_dynamicBody)return!1;for(var e=this.m_jointList;e;e=e.next)if(e.other==t&&0==e.joint.m_collideConnected)return!1;return!0},y.prototype.Advance=function(t){void 0===t&&(t=0),this.m_sweep.Advance(t),this.m_sweep.c.SetV(this.m_sweep.c0),this.m_sweep.a=this.m_sweep.a0,this.SynchronizeTransform()},r.postDefs.push((function(){r.Dynamics.b2Body.s_xf1=new n,r.Dynamics.b2Body.e_islandFlag=1,r.Dynamics.b2Body.e_awakeFlag=2,r.Dynamics.b2Body.e_allowSleepFlag=4,r.Dynamics.b2Body.e_bulletFlag=8,r.Dynamics.b2Body.e_fixedRotationFlag=16,r.Dynamics.b2Body.e_activeFlag=32,r.Dynamics.b2Body.b2_staticBody=0,r.Dynamics.b2Body.b2_kinematicBody=1,r.Dynamics.b2Body.b2_dynamicBody=2})),v.b2BodyDef=function(){this.position=new i,this.linearVelocity=new i},v.prototype.b2BodyDef=function(){this.userData=null,this.position.Set(0,0),this.angle=0,this.linearVelocity.Set(0,0),this.angularVelocity=0,this.linearDamping=0,this.angularDamping=0,this.allowSleep=!0,this.awake=!0,this.fixedRotation=!1,this.bullet=!1,this.type=y.b2_staticBody,this.active=!0,this.inertiaScale=1},b.b2ContactFilter=function(){},b.prototype.ShouldCollide=function(t,e){var n=t.GetFilterData(),r=e.GetFilterData();return n.groupIndex==r.groupIndex&&0!=n.groupIndex?n.groupIndex>0:0!=(n.maskBits&r.categoryBits)&&0!=(n.categoryBits&r.maskBits)},b.prototype.RayCollide=function(t,e){return!t||this.ShouldCollide(t instanceof A?t:null,e)},r.postDefs.push((function(){r.Dynamics.b2ContactFilter.b2_defaultFilter=new b})),g.b2ContactImpulse=function(){this.normalImpulses=new z(s.b2_maxManifoldPoints),this.tangentImpulses=new z(s.b2_maxManifoldPoints)},w.b2ContactListener=function(){},w.prototype.BeginContact=function(t){},w.prototype.EndContact=function(t){},w.prototype.PreSolve=function(t,e){},w.prototype.PostSolve=function(t,e){},r.postDefs.push((function(){r.Dynamics.b2ContactListener.b2_defaultListener=new w})),x.b2ContactManager=function(){},x.prototype.b2ContactManager=function(){this.m_world=null,this.m_contactCount=0,this.m_contactFilter=b.b2_defaultFilter,this.m_contactListener=w.b2_defaultListener,this.m_contactFactory=new O(this.m_allocator),this.m_broadPhase=new c},x.prototype.AddPair=function(t,e){var n=t instanceof A?t:null,r=e instanceof A?e:null,i=n.GetBody(),o=r.GetBody();if(i!=o){for(var s=o.GetContactList();s;){if(s.other==i){var a=s.contact.GetFixtureA(),u=s.contact.GetFixtureB();if(a==n&&u==r)return;if(a==r&&u==n)return}s=s.next}if(0!=o.ShouldCollide(i)&&0!=this.m_contactFilter.ShouldCollide(n,r)){var c=this.m_contactFactory.Create(n,r);n=c.GetFixtureA(),r=c.GetFixtureB(),i=n.m_body,o=r.m_body,c.m_prev=null,c.m_next=this.m_world.m_contactList,null!=this.m_world.m_contactList&&(this.m_world.m_contactList.m_prev=c),this.m_world.m_contactList=c,c.m_nodeA.contact=c,c.m_nodeA.other=o,c.m_nodeA.prev=null,c.m_nodeA.next=i.m_contactList,null!=i.m_contactList&&(i.m_contactList.prev=c.m_nodeA),i.m_contactList=c.m_nodeA,c.m_nodeB.contact=c,c.m_nodeB.other=i,c.m_nodeB.prev=null,c.m_nodeB.next=o.m_contactList,null!=o.m_contactList&&(o.m_contactList.prev=c.m_nodeB),o.m_contactList=c.m_nodeB,++this.m_world.m_contactCount}}},x.prototype.FindNewContacts=function(){this.m_broadPhase.UpdatePairs(r.generateCallback(this,this.AddPair))},x.prototype.Destroy=function(t){var e=t.GetFixtureA(),n=t.GetFixtureB(),r=e.GetBody(),i=n.GetBody();t.IsTouching()&&this.m_contactListener.EndContact(t),t.m_prev&&(t.m_prev.m_next=t.m_next),t.m_next&&(t.m_next.m_prev=t.m_prev),t==this.m_world.m_contactList&&(this.m_world.m_contactList=t.m_next),t.m_nodeA.prev&&(t.m_nodeA.prev.next=t.m_nodeA.next),t.m_nodeA.next&&(t.m_nodeA.next.prev=t.m_nodeA.prev),t.m_nodeA==r.m_contactList&&(r.m_contactList=t.m_nodeA.next),t.m_nodeB.prev&&(t.m_nodeB.prev.next=t.m_nodeB.next),t.m_nodeB.next&&(t.m_nodeB.next.prev=t.m_nodeB.prev),t.m_nodeB==i.m_contactList&&(i.m_contactList=t.m_nodeB.next),this.m_contactFactory.Destroy(t),--this.m_contactCount},x.prototype.Collide=function(){for(var t=this.m_world.m_contactList;t;){var e=t.GetFixtureA(),n=t.GetFixtureB(),r=e.GetBody(),i=n.GetBody();if(0!=r.IsAwake()||0!=i.IsAwake()){if(t.m_flags&k.e_filterFlag){if(0==i.ShouldCollide(r)){var o=t;t=o.GetNext(),this.Destroy(o);continue}if(0==this.m_contactFilter.ShouldCollide(e,n)){t=(o=t).GetNext(),this.Destroy(o);continue}t.m_flags&=~k.e_filterFlag}var s=e.m_proxy,a=n.m_proxy;0!=this.m_broadPhase.TestOverlap(s,a)?(t.Update(this.m_contactListener),t=t.GetNext()):(t=(o=t).GetNext(),this.Destroy(o))}else t=t.GetNext()}},r.postDefs.push((function(){r.Dynamics.b2ContactManager.s_evalCP=new u})),M.b2DebugDraw=function(){},M.prototype.b2DebugDraw=function(){},M.prototype.SetFlags=function(t){void 0===t&&(t=0)},M.prototype.GetFlags=function(){},M.prototype.AppendFlags=function(t){void 0===t&&(t=0)},M.prototype.ClearFlags=function(t){void 0===t&&(t=0)},M.prototype.SetSprite=function(t){},M.prototype.GetSprite=function(){},M.prototype.SetDrawScale=function(t){void 0===t&&(t=0)},M.prototype.GetDrawScale=function(){},M.prototype.SetLineThickness=function(t){void 0===t&&(t=0)},M.prototype.GetLineThickness=function(){},M.prototype.SetAlpha=function(t){void 0===t&&(t=0)},M.prototype.GetAlpha=function(){},M.prototype.SetFillAlpha=function(t){void 0===t&&(t=0)},M.prototype.GetFillAlpha=function(){},M.prototype.SetXFormScale=function(t){void 0===t&&(t=0)},M.prototype.GetXFormScale=function(){},M.prototype.DrawPolygon=function(t,e,n){void 0===e&&(e=0)},M.prototype.DrawSolidPolygon=function(t,e,n){void 0===e&&(e=0)},M.prototype.DrawCircle=function(t,e,n){void 0===e&&(e=0)},M.prototype.DrawSolidCircle=function(t,e,n,r){void 0===e&&(e=0)},M.prototype.DrawSegment=function(t,e,n){},M.prototype.DrawTransform=function(t){},r.postDefs.push((function(){r.Dynamics.b2DebugDraw.e_shapeBit=1,r.Dynamics.b2DebugDraw.e_jointBit=2,r.Dynamics.b2DebugDraw.e_aabbBit=4,r.Dynamics.b2DebugDraw.e_pairBit=8,r.Dynamics.b2DebugDraw.e_centerOfMassBit=16,r.Dynamics.b2DebugDraw.e_controllerBit=32})),S.b2DestructionListener=function(){},S.prototype.SayGoodbyeJoint=function(t){},S.prototype.SayGoodbyeFixture=function(t){},T.b2FilterData=function(){this.categoryBits=1,this.maskBits=65535,this.groupIndex=0},T.prototype.Copy=function(){var t=new T;return t.categoryBits=this.categoryBits,t.maskBits=this.maskBits,t.groupIndex=this.groupIndex,t},A.b2Fixture=function(){this.m_filter=new T},A.prototype.GetType=function(){return this.m_shape.GetType()},A.prototype.GetShape=function(){return this.m_shape},A.prototype.SetSensor=function(t){if(this.m_isSensor!=t&&(this.m_isSensor=t,null!=this.m_body))for(var e=this.m_body.GetContactList();e;){var n=e.contact,r=n.GetFixtureA(),i=n.GetFixtureB();r!=this&&i!=this||n.SetSensor(r.IsSensor()||i.IsSensor()),e=e.next}},A.prototype.IsSensor=function(){return this.m_isSensor},A.prototype.SetFilterData=function(t){if(this.m_filter=t.Copy(),!this.m_body)for(var e=this.m_body.GetContactList();e;){var n=e.contact,r=n.GetFixtureA(),i=n.GetFixtureB();r!=this&&i!=this||n.FlagForFiltering(),e=e.next}},A.prototype.GetFilterData=function(){return this.m_filter.Copy()},A.prototype.GetBody=function(){return this.m_body},A.prototype.GetNext=function(){return this.m_next},A.prototype.GetUserData=function(){return this.m_userData},A.prototype.SetUserData=function(t){this.m_userData=t},A.prototype.TestPoint=function(t){return this.m_shape.TestPoint(this.m_body.GetTransform(),t)},A.prototype.RayCast=function(t,e){return this.m_shape.RayCast(t,e,this.m_body.GetTransform())},A.prototype.GetMassData=function(t){return void 0===t&&(t=null),null==t&&(t=new p),this.m_shape.ComputeMass(t,this.m_density),t},A.prototype.SetDensity=function(t){void 0===t&&(t=0),this.m_density=t},A.prototype.GetDensity=function(){return this.m_density},A.prototype.GetFriction=function(){return this.m_friction},A.prototype.SetFriction=function(t){void 0===t&&(t=0),this.m_friction=t},A.prototype.GetRestitution=function(){return this.m_restitution},A.prototype.SetRestitution=function(t){void 0===t&&(t=0),this.m_restitution=t},A.prototype.GetAABB=function(){return this.m_aabb},A.prototype.b2Fixture=function(){this.m_aabb=new a,this.m_userData=null,this.m_body=null,this.m_next=null,this.m_shape=null,this.m_density=0,this.m_friction=0,this.m_restitution=0},A.prototype.Create=function(t,e,n){this.m_userData=n.userData,this.m_friction=n.friction,this.m_restitution=n.restitution,this.m_body=t,this.m_next=null,this.m_filter=n.filter.Copy(),this.m_isSensor=n.isSensor,this.m_shape=n.shape.Copy(),this.m_density=n.density},A.prototype.Destroy=function(){this.m_shape=null},A.prototype.CreateProxy=function(t,e){this.m_shape.ComputeAABB(this.m_aabb,e),this.m_proxy=t.CreateProxy(this.m_aabb,this)},A.prototype.DestroyProxy=function(t){null!=this.m_proxy&&(t.DestroyProxy(this.m_proxy),this.m_proxy=null)},A.prototype.Synchronize=function(e,n,r){if(this.m_proxy){var i=new a,o=new a;this.m_shape.ComputeAABB(i,n),this.m_shape.ComputeAABB(o,r),this.m_aabb.Combine(i,o);var s=t.SubtractVV(r.position,n.position);e.MoveProxy(this.m_proxy,this.m_aabb,s)}},E.b2FixtureDef=function(){this.filter=new T},E.prototype.b2FixtureDef=function(){this.shape=null,this.userData=null,this.friction=.2,this.restitution=0,this.density=0,this.filter.categoryBits=1,this.filter.maskBits=65535,this.filter.groupIndex=0,this.isSensor=!1},L.b2Island=function(){},L.prototype.b2Island=function(){this.m_bodies=new V,this.m_contacts=new V,this.m_joints=new V},L.prototype.Initialize=function(t,e,n,r,i,o){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0);var s=0;for(this.m_bodyCapacity=t,this.m_contactCapacity=e,this.m_jointCapacity=n,this.m_bodyCount=0,this.m_contactCount=0,this.m_jointCount=0,this.m_allocator=r,this.m_listener=i,this.m_contactSolver=o,s=this.m_bodies.length;ss.b2_maxTranslationSquared&&(i.m_linearVelocity.Normalize(),i.m_linearVelocity.x*=s.b2_maxTranslation*e.inv_dt,i.m_linearVelocity.y*=s.b2_maxTranslation*e.inv_dt);var l=e.dt*i.m_angularVelocity;l*l>s.b2_maxRotationSquared&&(i.m_angularVelocity<0?i.m_angularVelocity=-s.b2_maxRotation*e.inv_dt:i.m_angularVelocity=s.b2_maxRotation*e.inv_dt),i.m_sweep.c0.SetV(i.m_sweep.c),i.m_sweep.a0=i.m_sweep.a,i.m_sweep.c.x+=e.dt*i.m_linearVelocity.x,i.m_sweep.c.y+=e.dt*i.m_linearVelocity.y,i.m_sweep.a+=e.dt*i.m_angularVelocity,i.SynchronizeTransform()}for(o=0;ov||t.Dot(i.m_linearVelocity,i.m_linearVelocity)>m?(i.m_sleepTime=0,_=0):(i.m_sleepTime+=e.dt,_=t.Min(_,i.m_sleepTime)));if(_>=s.b2_timeToSleep)for(o=0;os.b2_maxTranslationSquared&&(i.m_linearVelocity.Normalize(),i.m_linearVelocity.x*=s.b2_maxTranslation*t.inv_dt,i.m_linearVelocity.y*=s.b2_maxTranslation*t.inv_dt);var u=t.dt*i.m_angularVelocity;u*u>s.b2_maxRotationSquared&&(i.m_angularVelocity<0?i.m_angularVelocity=-s.b2_maxRotation*t.inv_dt:i.m_angularVelocity=s.b2_maxRotation*t.inv_dt),i.m_sweep.c0.SetV(i.m_sweep.c),i.m_sweep.a0=i.m_sweep.a,i.m_sweep.c.x+=t.dt*i.m_linearVelocity.x,i.m_sweep.c.y+=t.dt*i.m_linearVelocity.y,i.m_sweep.a+=t.dt*i.m_angularVelocity,i.SynchronizeTransform()}}for(e=0;e0?1/t:0,r.dtRatio=this.m_inv_dt0*t,r.warmStarting=C.m_warmStarting,this.m_contactManager.Collide(),r.dt>0&&this.Solve(r),C.m_continuousPhysics&&r.dt>0&&this.SolveTOI(r),r.dt>0&&(this.m_inv_dt0=r.inv_dt),this.m_flags&=~C.e_locked},C.prototype.ClearForces=function(){for(var t=this.m_bodyList;t;t=t.m_next)t.m_force.SetZero(),t.m_torque=0},C.prototype.DrawDebugData=function(){if(null!=this.m_debugDraw){this.m_debugDraw.m_sprite.graphics.clear();var t,e,n,r,s,u,c=this.m_debugDraw.GetFlags(),h=(new i,new i,new i,new a,new a,[new i,new i,new i,new i]),l=new o(0,0,0);if(c&M.e_shapeBit)for(t=this.m_bodyList;t;t=t.m_next)for(u=t.m_xf,e=t.GetFixtureList();e;e=e.m_next)n=e.GetShape(),0==t.IsActive()?(l.Set(.5,.5,.3),this.DrawShape(n,u,l)):t.GetType()==y.b2_staticBody?(l.Set(.5,.9,.5),this.DrawShape(n,u,l)):t.GetType()==y.b2_kinematicBody?(l.Set(.5,.5,.9),this.DrawShape(n,u,l)):0==t.IsAwake()?(l.Set(.6,.6,.6),this.DrawShape(n,u,l)):(l.Set(.9,.7,.7),this.DrawShape(n,u,l));if(c&M.e_jointBit)for(r=this.m_jointList;r;r=r.m_next)this.DrawJoint(r);if(c&M.e_controllerBit)for(var d=this.m_controllerList;d;d=d.m_next)d.Draw(this.m_debugDraw);if(c&M.e_pairBit){l.Set(.3,.9,.9);for(var f=this.m_contactManager.m_contactList;f;f=f.GetNext()){var p=f.GetFixtureA(),_=f.GetFixtureB(),m=p.GetAABB().GetCenter(),v=_.GetAABB().GetCenter();this.m_debugDraw.DrawSegment(m,v,l)}}if(c&M.e_aabbBit)for(s=this.m_contactManager.m_broadPhase,h=[new i,new i,new i,new i],t=this.m_bodyList;t;t=t.GetNext())if(0!=t.IsActive())for(e=t.GetFixtureList();e;e=e.GetNext()){var b=s.GetFatAABB(e.m_proxy);h[0].Set(b.lowerBound.x,b.lowerBound.y),h[1].Set(b.upperBound.x,b.lowerBound.y),h[2].Set(b.upperBound.x,b.upperBound.y),h[3].Set(b.lowerBound.x,b.upperBound.y),this.m_debugDraw.DrawPolygon(h,4,l)}if(c&M.e_centerOfMassBit)for(t=this.m_bodyList;t;t=t.m_next)(u=C.s_xf).R=t.m_xf.R,u.position=t.GetWorldCenter(),this.m_debugDraw.DrawTransform(u)}},C.prototype.QueryAABB=function(t,e){var n=this.m_contactManager.m_broadPhase;n.Query((function(e){return t(n.GetUserData(e))}),e)},C.prototype.QueryShape=function(t,e,r){void 0===r&&(r=null),null==r&&(r=new n).SetIdentity();var i=this.m_contactManager.m_broadPhase;var o=new a;e.ComputeAABB(o,r),i.Query((function(n){var o=i.GetUserData(n)instanceof A?i.GetUserData(n):null;return!m.TestOverlap(e,r,o.GetShape(),o.GetBody().GetTransform())||t(o)}),o)},C.prototype.QueryPoint=function(t,e){var n=this.m_contactManager.m_broadPhase;var r=new a;r.lowerBound.Set(e.x-s.b2_linearSlop,e.y-s.b2_linearSlop),r.upperBound.Set(e.x+s.b2_linearSlop,e.y+s.b2_linearSlop),n.Query((function(r){var i=n.GetUserData(r)instanceof A?n.GetUserData(r):null;return!i.TestPoint(e)||t(i)}),r)},C.prototype.RayCast=function(t,e,n){var r=this.m_contactManager.m_broadPhase,o=new l;var s=new h(e,n);r.RayCast((function(s,a){var u=r.GetUserData(a),c=u instanceof A?u:null;if(c.RayCast(o,s)){var h=o.fraction,l=new i((1-h)*e.x+h*n.x,(1-h)*e.y+h*n.y);return t(c,l,o.normal,h)}return s.maxFraction}),s)},C.prototype.RayCastOne=function(t,e){var n;return this.RayCast((function(t,e,r,i){return void 0===i&&(i=0),n=t,i}),t,e),n},C.prototype.RayCastAll=function(t,e){var n=new V;return this.RayCast((function(t,e,r,i){return void 0===i&&(i=0),n[n.length]=t,1}),t,e),n},C.prototype.GetBodyList=function(){return this.m_bodyList},C.prototype.GetJointList=function(){return this.m_jointList},C.prototype.GetContactList=function(){return this.m_contactList},C.prototype.IsLocked=function(){return(this.m_flags&C.e_locked)>0},C.prototype.Solve=function(t){for(var e,n=this.m_controllerList;n;n=n.m_next)n.Step(t);var r=this.m_island;for(r.Initialize(this.m_bodyCount,this.m_contactCount,this.m_jointCount,null,this.m_contactManager.m_contactListener,this.m_contactSolver),e=this.m_bodyList;e;e=e.m_next)e.m_flags&=~y.e_islandFlag;for(var i=this.m_contactList;i;i=i.m_next)i.m_flags&=~k.e_islandFlag;for(var o=this.m_jointList;o;o=o.m_next)o.m_islandFlag=!1;parseInt(this.m_bodyCount);for(var s=this.s_stack,a=this.m_bodyList;a;a=a.m_next)if(!(a.m_flags&y.e_islandFlag)&&0!=a.IsAwake()&&0!=a.IsActive()&&a.GetType()!=y.b2_staticBody){r.Clear();var u=0;for(s[u++]=a,a.m_flags|=y.e_islandFlag;u>0;)if(e=s[--u],r.AddBody(e),0==e.IsAwake()&&e.SetAwake(!0),e.GetType()!=y.b2_staticBody){for(var c,h=e.m_contactList;h;h=h.next)h.contact.m_flags&k.e_islandFlag||1!=h.contact.IsSensor()&&0!=h.contact.IsEnabled()&&0!=h.contact.IsTouching()&&(r.AddContact(h.contact),h.contact.m_flags|=k.e_islandFlag,(c=h.other).m_flags&y.e_islandFlag||(s[u++]=c,c.m_flags|=y.e_islandFlag));for(var l=e.m_jointList;l;l=l.next)1!=l.joint.m_islandFlag&&0!=(c=l.other).IsActive()&&(r.AddJoint(l.joint),l.joint.m_islandFlag=!0,c.m_flags&y.e_islandFlag||(s[u++]=c,c.m_flags|=y.e_islandFlag))}r.Solve(t,this.m_gravity,this.m_allowSleep);for(var d=0;d0&&p<1&&(p=(1-p)*_+p)>1&&(p=1),h.m_toi=p,h.m_flags|=k.e_toiFlag}Number.MIN_VALUE0;)if(e=l[v++],--b,c.AddBody(e),0==e.IsAwake()&&e.SetAwake(!0),e.GetType()==y.b2_dynamicBody){for(a=e.m_contactList;a&&c.m_contactCount!=c.m_contactCapacity;a=a.next)if(!(a.contact.m_flags&k.e_islandFlag)&&1!=a.contact.IsSensor()&&0!=a.contact.IsEnabled()&&0!=a.contact.IsTouching()){c.AddContact(a.contact),a.contact.m_flags|=k.e_islandFlag;var g=a.other;g.m_flags&y.e_islandFlag||(g.GetType()!=y.b2_staticBody&&(g.Advance(f),g.SetAwake(!0)),l[v+b]=g,++b,g.m_flags|=y.e_islandFlag)}for(var w=e.m_jointList;w;w=w.next)c.m_jointCount!=c.m_jointCapacity&&1!=w.joint.m_islandFlag&&0!=(g=w.other).IsActive()&&(c.AddJoint(w.joint),w.joint.m_islandFlag=!0,g.m_flags&y.e_islandFlag||(g.GetType()!=y.b2_staticBody&&(g.Advance(f),g.SetAwake(!0)),l[v+b]=g,++b,g.m_flags|=y.e_islandFlag))}var x=C.s_timestep;x.warmStarting=!1,x.dt=(1-f)*t.dt,x.inv_dt=1/x.dt,x.dtRatio=0,x.velocityIterations=t.velocityIterations,x.positionIterations=t.positionIterations,c.SolveTOI(x);var M=0;for(M=0;M0;for(var f=0;f0&&(t.m_fixtureA.m_body.SetAwake(!0),t.m_fixtureB.m_body.SetAwake(!0));var e=parseInt(t.m_fixtureA.GetType()),n=parseInt(t.m_fixtureB.GetType()),r=this.m_registers[e][n];r.poolCount++,t.m_next=r.pool,r.pool=t,(0,r.destroyFcn)(t,this.m_allocator)},l.b2ContactRegister=function(){},d.b2ContactResult=function(){this.position=new T,this.normal=new T,this.id=new E},f.b2ContactSolver=function(){this.m_step=new w,this.m_constraints=new V},f.prototype.b2ContactSolver=function(){},f.prototype.Initialize=function(t,e,n,r){var i;void 0===n&&(n=0),this.m_step.Set(t),this.m_allocator=r;var o=0;for(this.m_constraintCount=n;this.m_constraints.length0),f.s_worldManifold.Initialize(m,p.m_xf,l,_.m_xf,d);var A=f.s_worldManifold.m_normal.x,E=f.s_worldManifold.m_normal.y,L=this.m_constraints[o];L.bodyA=p,L.bodyB=_,L.manifold=m,L.normal.x=A,L.normal.y=E,L.pointCount=m.m_pointCount,L.friction=y,L.restitution=v,L.localPlaneNormal.x=m.m_localPlaneNormal.x,L.localPlaneNormal.y=m.m_localPlaneNormal.y,L.localPoint.x=m.m_localPoint.x,L.localPoint.y=m.m_localPoint.y,L.radius=l+d,L.type=m.m_type;for(var D=0;D0?a:0)-t.normalImpulse)*D,c=o*C,x.x-=T*u,x.y-=T*c,g-=A*(t.rA.x*c-t.rA.y*u),M.x+=E*u,M.y+=E*c,w+=L*(t.rB.x*c-t.rB.y*u),t.normalImpulse=a;else{var P=y.points[0],R=y.points[1],Y=P.normalImpulse,B=R.normalImpulse,N=(M.x-w*P.rB.y-x.x+g*P.rA.y)*D+(M.y+w*P.rB.x-x.y-g*P.rA.x)*C,j=(M.x-w*R.rB.y-x.x+g*R.rA.y)*D+(M.y+w*R.rB.x-x.y-g*R.rA.x)*C,F=N-P.velocityBias,U=j-R.velocityBias;F-=(e=y.K).col1.x*Y+e.col2.x*B,U-=e.col1.y*Y+e.col2.y*B;for(;;){var G=-((e=y.normalMass).col1.x*F+e.col2.x*U),H=-(e.col1.y*F+e.col2.y*U);if(G>=0&&H>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}if(G=-P.normalMass*F,H=0,N=0,j=y.K.col1.y*G+U,G>=0&&j>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}if(G=0,H=-R.normalMass*U,N=y.K.col2.x*H+F,j=0,H>=0&&N>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}if(G=0,H=0,j=U,(N=F)>=0&&j>=0){d=(h=G-Y)*D,f=h*C,p=(l=H-B)*D,_=l*C,x.x-=T*(d+p),x.y-=T*(f+_),g-=A*(P.rA.x*f-P.rA.y*d+R.rA.x*_-R.rA.y*p),M.x+=E*(d+p),M.y+=E*(f+_),w+=L*(P.rB.x*f-P.rB.y*d+R.rB.x*_-R.rB.y*p),P.normalImpulse=G,R.normalImpulse=H;break}break}}v.m_angularVelocity=g,b.m_angularVelocity=w}},f.prototype.FinalizeVelocityConstraints=function(){for(var t=0;t-1.5*x.b2_linearSlop},r.postDefs.push((function(){r.Dynamics.Contacts.b2ContactSolver.s_worldManifold=new k,r.Dynamics.Contacts.b2ContactSolver.s_psm=new b})),r.inherit(p,r.Dynamics.Contacts.b2Contact),p.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,p.b2EdgeAndCircleContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},p.Create=function(t){return new p},p.Destroy=function(t,e){},p.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e)},p.prototype.Evaluate=function(){var n=this.m_fixtureA.GetBody(),r=this.m_fixtureB.GetBody();this.b2CollideEdgeAndCircle(this.m_manifold,this.m_fixtureA.GetShape()instanceof e?this.m_fixtureA.GetShape():null,n.m_xf,this.m_fixtureB.GetShape()instanceof t?this.m_fixtureB.GetShape():null,r.m_xf)},p.prototype.b2CollideEdgeAndCircle=function(t,e,n,r,i){},r.inherit(_,r.Dynamics.Contacts.b2Contact),_.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,_.b2NullContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},_.prototype.b2NullContact=function(){this.__super.b2Contact.call(this)},_.prototype.Evaluate=function(){},r.inherit(m,r.Dynamics.Contacts.b2Contact),m.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,m.b2PolyAndCircleContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},m.Create=function(t){return new m},m.Destroy=function(t,e){},m.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e),x.b2Assert(t.GetType()==i.e_polygonShape),x.b2Assert(e.GetType()==i.e_circleShape)},m.prototype.Evaluate=function(){var e=this.m_fixtureA.m_body,r=this.m_fixtureB.m_body;A.CollidePolygonAndCircle(this.m_manifold,this.m_fixtureA.GetShape()instanceof n?this.m_fixtureA.GetShape():null,e.m_xf,this.m_fixtureB.GetShape()instanceof t?this.m_fixtureB.GetShape():null,r.m_xf)},r.inherit(y,r.Dynamics.Contacts.b2Contact),y.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,y.b2PolyAndEdgeContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},y.Create=function(t){return new y},y.Destroy=function(t,e){},y.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e),x.b2Assert(t.GetType()==i.e_polygonShape),x.b2Assert(e.GetType()==i.e_edgeShape)},y.prototype.Evaluate=function(){var t=this.m_fixtureA.GetBody(),r=this.m_fixtureB.GetBody();this.b2CollidePolyAndEdge(this.m_manifold,this.m_fixtureA.GetShape()instanceof n?this.m_fixtureA.GetShape():null,t.m_xf,this.m_fixtureB.GetShape()instanceof e?this.m_fixtureB.GetShape():null,r.m_xf)},y.prototype.b2CollidePolyAndEdge=function(t,e,n,r,i){},r.inherit(v,r.Dynamics.Contacts.b2Contact),v.prototype.__super=r.Dynamics.Contacts.b2Contact.prototype,v.b2PolygonContact=function(){r.Dynamics.Contacts.b2Contact.b2Contact.apply(this,arguments)},v.Create=function(t){return new v},v.Destroy=function(t,e){},v.prototype.Reset=function(t,e){this.__super.Reset.call(this,t,e)},v.prototype.Evaluate=function(){var t=this.m_fixtureA.GetBody(),e=this.m_fixtureB.GetBody();A.CollidePolygons(this.m_manifold,this.m_fixtureA.GetShape()instanceof n?this.m_fixtureA.GetShape():null,t.m_xf,this.m_fixtureB.GetShape()instanceof n?this.m_fixtureB.GetShape():null,e.m_xf)},b.b2PositionSolverManifold=function(){},b.prototype.b2PositionSolverManifold=function(){this.m_normal=new T,this.m_separations=new z(x.b2_maxManifoldPoints),this.m_points=new V(x.b2_maxManifoldPoints);for(var t=0;t0);var e,n,r=0,i=0,o=0,s=0,a=0;switch(t.type){case L.e_circles:e=t.bodyA.m_xf.R,n=t.localPoint;var u=t.bodyA.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),c=t.bodyA.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y);e=t.bodyB.m_xf.R,n=t.points[0].localPoint;var h=t.bodyB.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),l=t.bodyB.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),d=h-u,f=l-c,p=d*d+f*f;if(p>Number.MIN_VALUE*Number.MIN_VALUE){var _=Math.sqrt(p);this.m_normal.x=d/_,this.m_normal.y=f/_}else this.m_normal.x=1,this.m_normal.y=0;this.m_points[0].x=.5*(u+h),this.m_points[0].y=.5*(c+l),this.m_separations[0]=d*this.m_normal.x+f*this.m_normal.y-t.radius;break;case L.e_faceA:for(e=t.bodyA.m_xf.R,n=t.localPlaneNormal,this.m_normal.x=e.col1.x*n.x+e.col2.x*n.y,this.m_normal.y=e.col1.y*n.x+e.col2.y*n.y,e=t.bodyA.m_xf.R,n=t.localPoint,s=t.bodyA.m_xf.position.x+(e.col1.x*n.x+e.col2.x*n.y),a=t.bodyA.m_xf.position.y+(e.col1.y*n.x+e.col2.y*n.y),e=t.bodyB.m_xf.R,r=0;r0||e>0?1/Math.max(t,e):0},l.prototype.Step=function(t){var r=t.dt;if(!(r<=Number.MIN_VALUE)){r>this.maxTimestep&&this.maxTimestep>0&&(r=this.maxTimestep);for(var i=this.m_bodyList;i;i=i.nextBody){var o=i.body;if(o.IsAwake()){var s=o.GetWorldVector(e.MulMV(this.T,o.GetLocalVector(o.GetLinearVelocity())));o.SetLinearVelocity(new n(o.GetLinearVelocity().x+s.x*r,o.GetLinearVelocity().y+s.y*r))}}}}}(),function(){r.Common.b2Color,r.Common.b2internal;var t=r.Common.b2Settings,e=r.Common.Math.b2Mat22,n=r.Common.Math.b2Mat33,i=r.Common.Math.b2Math,o=(r.Common.Math.b2Sweep,r.Common.Math.b2Transform,r.Common.Math.b2Vec2),s=r.Common.Math.b2Vec3,a=r.Dynamics.Joints.b2DistanceJoint,u=r.Dynamics.Joints.b2DistanceJointDef,c=r.Dynamics.Joints.b2FrictionJoint,h=r.Dynamics.Joints.b2FrictionJointDef,l=r.Dynamics.Joints.b2GearJoint,d=r.Dynamics.Joints.b2GearJointDef,f=r.Dynamics.Joints.b2Jacobian,p=r.Dynamics.Joints.b2Joint,_=r.Dynamics.Joints.b2JointDef,m=r.Dynamics.Joints.b2JointEdge,y=r.Dynamics.Joints.b2LineJoint,v=r.Dynamics.Joints.b2LineJointDef,b=r.Dynamics.Joints.b2MouseJoint,g=r.Dynamics.Joints.b2MouseJointDef,w=r.Dynamics.Joints.b2PrismaticJoint,x=r.Dynamics.Joints.b2PrismaticJointDef,M=r.Dynamics.Joints.b2PulleyJoint,S=r.Dynamics.Joints.b2PulleyJointDef,T=r.Dynamics.Joints.b2RevoluteJoint,A=r.Dynamics.Joints.b2RevoluteJointDef,E=r.Dynamics.Joints.b2WeldJoint,L=r.Dynamics.Joints.b2WeldJointDef;r.Dynamics.b2Body,r.Dynamics.b2BodyDef,r.Dynamics.b2ContactFilter,r.Dynamics.b2ContactImpulse,r.Dynamics.b2ContactListener,r.Dynamics.b2ContactManager,r.Dynamics.b2DebugDraw,r.Dynamics.b2DestructionListener,r.Dynamics.b2FilterData,r.Dynamics.b2Fixture,r.Dynamics.b2FixtureDef,r.Dynamics.b2Island,r.Dynamics.b2TimeStep,r.Dynamics.b2World;r.inherit(a,r.Dynamics.Joints.b2Joint),a.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,a.b2DistanceJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_u=new o},a.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},a.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},a.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse*this.m_u.x,t*this.m_impulse*this.m_u.y)},a.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},a.prototype.GetLength=function(){return this.m_length},a.prototype.SetLength=function(t){void 0===t&&(t=0),this.m_length=t},a.prototype.GetFrequency=function(){return this.m_frequencyHz},a.prototype.SetFrequency=function(t){void 0===t&&(t=0),this.m_frequencyHz=t},a.prototype.GetDampingRatio=function(){return this.m_dampingRatio},a.prototype.SetDampingRatio=function(t){void 0===t&&(t=0),this.m_dampingRatio=t},a.prototype.b2DistanceJoint=function(t){this.__super.b2Joint.call(this,t);this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_length=t.length,this.m_frequencyHz=t.frequencyHz,this.m_dampingRatio=t.dampingRatio,this.m_impulse=0,this.m_gamma=0,this.m_bias=0},a.prototype.InitVelocityConstraints=function(e){var n,r=0,i=this.m_bodyA,o=this.m_bodyB;n=i.m_xf.R;var s=this.m_localAnchor1.x-i.m_sweep.localCenter.x,a=this.m_localAnchor1.y-i.m_sweep.localCenter.y;r=n.col1.x*s+n.col2.x*a,a=n.col1.y*s+n.col2.y*a,s=r,n=o.m_xf.R;var u=this.m_localAnchor2.x-o.m_sweep.localCenter.x,c=this.m_localAnchor2.y-o.m_sweep.localCenter.y;r=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=r,this.m_u.x=o.m_sweep.c.x+u-i.m_sweep.c.x-s,this.m_u.y=o.m_sweep.c.y+c-i.m_sweep.c.y-a;var h=Math.sqrt(this.m_u.x*this.m_u.x+this.m_u.y*this.m_u.y);h>t.b2_linearSlop?this.m_u.Multiply(1/h):this.m_u.SetZero();var l=s*this.m_u.y-a*this.m_u.x,d=u*this.m_u.y-c*this.m_u.x,f=i.m_invMass+i.m_invI*l*l+o.m_invMass+o.m_invI*d*d;if(this.m_mass=0!=f?1/f:0,this.m_frequencyHz>0){var p=h-this.m_length,_=2*Math.PI*this.m_frequencyHz,m=2*this.m_mass*this.m_dampingRatio*_,y=this.m_mass*_*_;this.m_gamma=e.dt*(m+e.dt*y),this.m_gamma=0!=this.m_gamma?1/this.m_gamma:0,this.m_bias=p*e.dt*y*this.m_gamma,this.m_mass=f+this.m_gamma,this.m_mass=0!=this.m_mass?1/this.m_mass:0}if(e.warmStarting){this.m_impulse*=e.dtRatio;var v=this.m_impulse*this.m_u.x,b=this.m_impulse*this.m_u.y;i.m_linearVelocity.x-=i.m_invMass*v,i.m_linearVelocity.y-=i.m_invMass*b,i.m_angularVelocity-=i.m_invI*(s*b-a*v),o.m_linearVelocity.x+=o.m_invMass*v,o.m_linearVelocity.y+=o.m_invMass*b,o.m_angularVelocity+=o.m_invI*(u*b-c*v)}else this.m_impulse=0},a.prototype.SolveVelocityConstraints=function(t){var e,n=this.m_bodyA,r=this.m_bodyB;e=n.m_xf.R;var i=this.m_localAnchor1.x-n.m_sweep.localCenter.x,o=this.m_localAnchor1.y-n.m_sweep.localCenter.y,s=e.col1.x*i+e.col2.x*o;o=e.col1.y*i+e.col2.y*o,i=s,e=r.m_xf.R;var a=this.m_localAnchor2.x-r.m_sweep.localCenter.x,u=this.m_localAnchor2.y-r.m_sweep.localCenter.y;s=e.col1.x*a+e.col2.x*u,u=e.col1.y*a+e.col2.y*u,a=s;var c=n.m_linearVelocity.x+-n.m_angularVelocity*o,h=n.m_linearVelocity.y+n.m_angularVelocity*i,l=r.m_linearVelocity.x+-r.m_angularVelocity*u,d=r.m_linearVelocity.y+r.m_angularVelocity*a,f=this.m_u.x*(l-c)+this.m_u.y*(d-h),p=-this.m_mass*(f+this.m_bias+this.m_gamma*this.m_impulse);this.m_impulse+=p;var _=p*this.m_u.x,m=p*this.m_u.y;n.m_linearVelocity.x-=n.m_invMass*_,n.m_linearVelocity.y-=n.m_invMass*m,n.m_angularVelocity-=n.m_invI*(i*m-o*_),r.m_linearVelocity.x+=r.m_invMass*_,r.m_linearVelocity.y+=r.m_invMass*m,r.m_angularVelocity+=r.m_invI*(a*m-u*_)},a.prototype.SolvePositionConstraints=function(e){var n;if(void 0===e&&(e=0),this.m_frequencyHz>0)return!0;var r=this.m_bodyA,o=this.m_bodyB;n=r.m_xf.R;var s=this.m_localAnchor1.x-r.m_sweep.localCenter.x,a=this.m_localAnchor1.y-r.m_sweep.localCenter.y,u=n.col1.x*s+n.col2.x*a;a=n.col1.y*s+n.col2.y*a,s=u,n=o.m_xf.R;var c=this.m_localAnchor2.x-o.m_sweep.localCenter.x,h=this.m_localAnchor2.y-o.m_sweep.localCenter.y;u=n.col1.x*c+n.col2.x*h,h=n.col1.y*c+n.col2.y*h,c=u;var l=o.m_sweep.c.x+c-r.m_sweep.c.x-s,d=o.m_sweep.c.y+h-r.m_sweep.c.y-a,f=Math.sqrt(l*l+d*d);l/=f,d/=f;var p=f-this.m_length;p=i.Clamp(p,-t.b2_maxLinearCorrection,t.b2_maxLinearCorrection);var _=-this.m_mass*p;this.m_u.Set(l,d);var m=_*this.m_u.x,y=_*this.m_u.y;return r.m_sweep.c.x-=r.m_invMass*m,r.m_sweep.c.y-=r.m_invMass*y,r.m_sweep.a-=r.m_invI*(s*y-a*m),o.m_sweep.c.x+=o.m_invMass*m,o.m_sweep.c.y+=o.m_invMass*y,o.m_sweep.a+=o.m_invI*(c*y-h*m),r.SynchronizeTransform(),o.SynchronizeTransform(),i.Abs(p)0&&(this.m_angularMass=1/this.m_angularMass),t.warmStarting){this.m_linearImpulse.x*=t.dtRatio,this.m_linearImpulse.y*=t.dtRatio,this.m_angularImpulse*=t.dtRatio;var _=this.m_linearImpulse;i.m_linearVelocity.x-=h*_.x,i.m_linearVelocity.y-=h*_.y,i.m_angularVelocity-=d*(s*_.y-a*_.x+this.m_angularImpulse),o.m_linearVelocity.x+=l*_.x,o.m_linearVelocity.y+=l*_.y,o.m_angularVelocity+=f*(u*_.y-c*_.x+this.m_angularImpulse)}else this.m_linearImpulse.SetZero(),this.m_angularImpulse=0},c.prototype.SolveVelocityConstraints=function(t){var e,n=0,r=this.m_bodyA,s=this.m_bodyB,a=r.m_linearVelocity,u=r.m_angularVelocity,c=s.m_linearVelocity,h=s.m_angularVelocity,l=r.m_invMass,d=s.m_invMass,f=r.m_invI,p=s.m_invI;e=r.m_xf.R;var _=this.m_localAnchorA.x-r.m_sweep.localCenter.x,m=this.m_localAnchorA.y-r.m_sweep.localCenter.y;n=e.col1.x*_+e.col2.x*m,m=e.col1.y*_+e.col2.y*m,_=n,e=s.m_xf.R;var y=this.m_localAnchorB.x-s.m_sweep.localCenter.x,v=this.m_localAnchorB.y-s.m_sweep.localCenter.y;n=e.col1.x*y+e.col2.x*v,v=e.col1.y*y+e.col2.y*v,y=n;var b=0,g=h-u,w=-this.m_angularMass*g,x=this.m_angularImpulse;b=t.dt*this.m_maxTorque,this.m_angularImpulse=i.Clamp(this.m_angularImpulse+w,-b,b),u-=f*(w=this.m_angularImpulse-x),h+=p*w;var M=c.x-h*v-a.x+u*m,S=c.y+h*y-a.y-u*_,T=i.MulMV(this.m_linearMass,new o(-M,-S)),A=this.m_linearImpulse.Copy();this.m_linearImpulse.Add(T),b=t.dt*this.m_maxForce,this.m_linearImpulse.LengthSquared()>b*b&&(this.m_linearImpulse.Normalize(),this.m_linearImpulse.Multiply(b)),T=i.SubtractVV(this.m_linearImpulse,A),a.x-=l*T.x,a.y-=l*T.y,u-=f*(_*T.y-m*T.x),c.x+=d*T.x,c.y+=d*T.y,h+=p*(y*T.y-v*T.x),r.m_angularVelocity=u,s.m_angularVelocity=h},c.prototype.SolvePositionConstraints=function(t){return void 0===t&&(t=0),!0},r.inherit(h,r.Dynamics.Joints.b2JointDef),h.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,h.b2FrictionJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},h.prototype.b2FrictionJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_frictionJoint,this.maxForce=0,this.maxTorque=0},h.prototype.Initialize=function(t,e,n){this.bodyA=t,this.bodyB=e,this.localAnchorA.SetV(this.bodyA.GetLocalPoint(n)),this.localAnchorB.SetV(this.bodyB.GetLocalPoint(n))},r.inherit(l,r.Dynamics.Joints.b2Joint),l.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,l.b2GearJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_groundAnchor1=new o,this.m_groundAnchor2=new o,this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_J=new f},l.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},l.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},l.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse*this.m_J.linearB.x,t*this.m_impulse*this.m_J.linearB.y)},l.prototype.GetReactionTorque=function(t){void 0===t&&(t=0);var e=this.m_bodyB.m_xf.R,n=this.m_localAnchor1.x-this.m_bodyB.m_sweep.localCenter.x,r=this.m_localAnchor1.y-this.m_bodyB.m_sweep.localCenter.y,i=e.col1.x*n+e.col2.x*r;r=e.col1.y*n+e.col2.y*r,n=i;var o=this.m_impulse*this.m_J.linearB.x,s=this.m_impulse*this.m_J.linearB.y;return t*(this.m_impulse*this.m_J.angularB-n*s+r*o)},l.prototype.GetRatio=function(){return this.m_ratio},l.prototype.SetRatio=function(t){void 0===t&&(t=0),this.m_ratio=t},l.prototype.b2GearJoint=function(t){this.__super.b2Joint.call(this,t);var e=parseInt(t.joint1.m_type),n=parseInt(t.joint2.m_type);this.m_revolute1=null,this.m_prismatic1=null,this.m_revolute2=null,this.m_prismatic2=null;var r=0,i=0;this.m_ground1=t.joint1.GetBodyA(),this.m_bodyA=t.joint1.GetBodyB(),e==p.e_revoluteJoint?(this.m_revolute1=t.joint1 instanceof T?t.joint1:null,this.m_groundAnchor1.SetV(this.m_revolute1.m_localAnchor1),this.m_localAnchor1.SetV(this.m_revolute1.m_localAnchor2),r=this.m_revolute1.GetJointAngle()):(this.m_prismatic1=t.joint1 instanceof w?t.joint1:null,this.m_groundAnchor1.SetV(this.m_prismatic1.m_localAnchor1),this.m_localAnchor1.SetV(this.m_prismatic1.m_localAnchor2),r=this.m_prismatic1.GetJointTranslation()),this.m_ground2=t.joint2.GetBodyA(),this.m_bodyB=t.joint2.GetBodyB(),n==p.e_revoluteJoint?(this.m_revolute2=t.joint2 instanceof T?t.joint2:null,this.m_groundAnchor2.SetV(this.m_revolute2.m_localAnchor1),this.m_localAnchor2.SetV(this.m_revolute2.m_localAnchor2),i=this.m_revolute2.GetJointAngle()):(this.m_prismatic2=t.joint2 instanceof w?t.joint2:null,this.m_groundAnchor2.SetV(this.m_prismatic2.m_localAnchor1),this.m_localAnchor2.SetV(this.m_prismatic2.m_localAnchor2),i=this.m_prismatic2.GetJointTranslation()),this.m_ratio=t.ratio,this.m_constant=r+this.m_ratio*i,this.m_impulse=0},l.prototype.InitVelocityConstraints=function(t){var e,n,r=this.m_ground1,i=this.m_ground2,o=this.m_bodyA,s=this.m_bodyB,a=0,u=0,c=0,h=0,l=0,d=0,f=0;this.m_J.SetZero(),this.m_revolute1?(this.m_J.angularA=-1,f+=o.m_invI):(e=r.m_xf.R,n=this.m_prismatic1.m_localXAxis1,a=e.col1.x*n.x+e.col2.x*n.y,u=e.col1.y*n.x+e.col2.y*n.y,e=o.m_xf.R,c=this.m_localAnchor1.x-o.m_sweep.localCenter.x,h=this.m_localAnchor1.y-o.m_sweep.localCenter.y,d=e.col1.x*c+e.col2.x*h,h=e.col1.y*c+e.col2.y*h,l=(c=d)*u-h*a,this.m_J.linearA.Set(-a,-u),this.m_J.angularA=-l,f+=o.m_invMass+o.m_invI*l*l),this.m_revolute2?(this.m_J.angularB=-this.m_ratio,f+=this.m_ratio*this.m_ratio*s.m_invI):(e=i.m_xf.R,n=this.m_prismatic2.m_localXAxis1,a=e.col1.x*n.x+e.col2.x*n.y,u=e.col1.y*n.x+e.col2.y*n.y,e=s.m_xf.R,c=this.m_localAnchor2.x-s.m_sweep.localCenter.x,h=this.m_localAnchor2.y-s.m_sweep.localCenter.y,d=e.col1.x*c+e.col2.x*h,h=e.col1.y*c+e.col2.y*h,l=(c=d)*u-h*a,this.m_J.linearB.Set(-this.m_ratio*a,-this.m_ratio*u),this.m_J.angularB=-this.m_ratio*l,f+=this.m_ratio*this.m_ratio*(s.m_invMass+s.m_invI*l*l)),this.m_mass=f>0?1/f:0,t.warmStarting?(o.m_linearVelocity.x+=o.m_invMass*this.m_impulse*this.m_J.linearA.x,o.m_linearVelocity.y+=o.m_invMass*this.m_impulse*this.m_J.linearA.y,o.m_angularVelocity+=o.m_invI*this.m_impulse*this.m_J.angularA,s.m_linearVelocity.x+=s.m_invMass*this.m_impulse*this.m_J.linearB.x,s.m_linearVelocity.y+=s.m_invMass*this.m_impulse*this.m_J.linearB.y,s.m_angularVelocity+=s.m_invI*this.m_impulse*this.m_J.angularB):this.m_impulse=0},l.prototype.SolveVelocityConstraints=function(t){var e=this.m_bodyA,n=this.m_bodyB,r=this.m_J.Compute(e.m_linearVelocity,e.m_angularVelocity,n.m_linearVelocity,n.m_angularVelocity),i=-this.m_mass*r;this.m_impulse+=i,e.m_linearVelocity.x+=e.m_invMass*i*this.m_J.linearA.x,e.m_linearVelocity.y+=e.m_invMass*i*this.m_J.linearA.y,e.m_angularVelocity+=e.m_invI*i*this.m_J.angularA,n.m_linearVelocity.x+=n.m_invMass*i*this.m_J.linearB.x,n.m_linearVelocity.y+=n.m_invMass*i*this.m_J.linearB.y,n.m_angularVelocity+=n.m_invI*i*this.m_J.angularB},l.prototype.SolvePositionConstraints=function(e){void 0===e&&(e=0);var n=this.m_bodyA,r=this.m_bodyB,i=0,o=0;i=this.m_revolute1?this.m_revolute1.GetJointAngle():this.m_prismatic1.GetJointTranslation(),o=this.m_revolute2?this.m_revolute2.GetJointAngle():this.m_prismatic2.GetJointTranslation();var s=this.m_constant-(i+this.m_ratio*o),a=-this.m_mass*s;return n.m_sweep.c.x+=n.m_invMass*a*this.m_J.linearA.x,n.m_sweep.c.y+=n.m_invMass*a*this.m_J.linearA.y,n.m_sweep.a+=n.m_invI*a*this.m_J.angularA,r.m_sweep.c.x+=r.m_invMass*a*this.m_J.linearB.x,r.m_sweep.c.y+=r.m_invMass*a*this.m_J.linearB.y,r.m_sweep.a+=r.m_invI*a*this.m_J.angularB,n.SynchronizeTransform(),r.SynchronizeTransform(),0Number.MIN_VALUE?1/this.m_motorMass:0,this.m_perp.SetV(i.MulMV(a.R,this.m_localYAxis1)),this.m_s1=(d+u)*this.m_perp.y-(f+c)*this.m_perp.x,this.m_s2=h*this.m_perp.y-l*this.m_perp.x;var _=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB;if(this.m_K.col1.x=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,this.m_K.col1.y=y*this.m_s1*this.m_a1+v*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=_+m+y*this.m_a1*this.m_a1+v*this.m_a2*this.m_a2,this.m_enableLimit){var b=this.m_axis.x*d+this.m_axis.y*f;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?this.m_limitState=p.e_equalLimits:b<=this.m_lowerTranslation?this.m_limitState!=p.e_atLowerLimit&&(this.m_limitState=p.e_atLowerLimit,this.m_impulse.y=0):b>=this.m_upperTranslation?this.m_limitState!=p.e_atUpperLimit&&(this.m_limitState=p.e_atUpperLimit,this.m_impulse.y=0):(this.m_limitState=p.e_inactiveLimit,this.m_impulse.y=0)}else this.m_limitState=p.e_inactiveLimit;if(0==this.m_enableMotor&&(this.m_motorImpulse=0),e.warmStarting){this.m_impulse.x*=e.dtRatio,this.m_impulse.y*=e.dtRatio,this.m_motorImpulse*=e.dtRatio;var g=this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.y)*this.m_axis.x,w=this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.y)*this.m_axis.y,x=this.m_impulse.x*this.m_s1+(this.m_motorImpulse+this.m_impulse.y)*this.m_a1,M=this.m_impulse.x*this.m_s2+(this.m_motorImpulse+this.m_impulse.y)*this.m_a2;r.m_linearVelocity.x-=this.m_invMassA*g,r.m_linearVelocity.y-=this.m_invMassA*w,r.m_angularVelocity-=this.m_invIA*x,o.m_linearVelocity.x+=this.m_invMassB*g,o.m_linearVelocity.y+=this.m_invMassB*w,o.m_angularVelocity+=this.m_invIB*M}else this.m_impulse.SetZero(),this.m_motorImpulse=0},y.prototype.SolveVelocityConstraints=function(t){var e=this.m_bodyA,n=this.m_bodyB,r=e.m_linearVelocity,s=e.m_angularVelocity,a=n.m_linearVelocity,u=n.m_angularVelocity,c=0,h=0,l=0,d=0;if(this.m_enableMotor&&this.m_limitState!=p.e_equalLimits){var f=this.m_axis.x*(a.x-r.x)+this.m_axis.y*(a.y-r.y)+this.m_a2*u-this.m_a1*s,_=this.m_motorMass*(this.m_motorSpeed-f),m=this.m_motorImpulse,y=t.dt*this.m_maxMotorForce;this.m_motorImpulse=i.Clamp(this.m_motorImpulse+_,-y,y),c=(_=this.m_motorImpulse-m)*this.m_axis.x,h=_*this.m_axis.y,l=_*this.m_a1,d=_*this.m_a2,r.x-=this.m_invMassA*c,r.y-=this.m_invMassA*h,s-=this.m_invIA*l,a.x+=this.m_invMassB*c,a.y+=this.m_invMassB*h,u+=this.m_invIB*d}var v=this.m_perp.x*(a.x-r.x)+this.m_perp.y*(a.y-r.y)+this.m_s2*u-this.m_s1*s;if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){var b=this.m_axis.x*(a.x-r.x)+this.m_axis.y*(a.y-r.y)+this.m_a2*u-this.m_a1*s,g=this.m_impulse.Copy(),w=this.m_K.Solve(new o,-v,-b);this.m_impulse.Add(w),this.m_limitState==p.e_atLowerLimit?this.m_impulse.y=i.Max(this.m_impulse.y,0):this.m_limitState==p.e_atUpperLimit&&(this.m_impulse.y=i.Min(this.m_impulse.y,0));var x=-v-(this.m_impulse.y-g.y)*this.m_K.col2.x,M=0;M=0!=this.m_K.col1.x?x/this.m_K.col1.x+g.x:g.x,this.m_impulse.x=M,w.x=this.m_impulse.x-g.x,w.y=this.m_impulse.y-g.y,c=w.x*this.m_perp.x+w.y*this.m_axis.x,h=w.x*this.m_perp.y+w.y*this.m_axis.y,l=w.x*this.m_s1+w.y*this.m_a1,d=w.x*this.m_s2+w.y*this.m_a2,r.x-=this.m_invMassA*c,r.y-=this.m_invMassA*h,s-=this.m_invIA*l,a.x+=this.m_invMassB*c,a.y+=this.m_invMassB*h,u+=this.m_invIB*d}else{var S=0;S=0!=this.m_K.col1.x?-v/this.m_K.col1.x:0,this.m_impulse.x+=S,c=S*this.m_perp.x,h=S*this.m_perp.y,l=S*this.m_s1,d=S*this.m_s2,r.x-=this.m_invMassA*c,r.y-=this.m_invMassA*h,s-=this.m_invIA*l,a.x+=this.m_invMassB*c,a.y+=this.m_invMassB*h,u+=this.m_invIB*d}e.m_linearVelocity.SetV(r),e.m_angularVelocity=s,n.m_linearVelocity.SetV(a),n.m_angularVelocity=u},y.prototype.SolvePositionConstraints=function(n){void 0===n&&(n=0);var r,s=this.m_bodyA,a=this.m_bodyB,u=s.m_sweep.c,c=s.m_sweep.a,h=a.m_sweep.c,l=a.m_sweep.a,d=0,f=0,p=0,_=0,m=0,y=0,v=!1,b=0,g=e.FromAngle(c),w=e.FromAngle(l);r=g;var x=this.m_localAnchor1.x-this.m_localCenterA.x,M=this.m_localAnchor1.y-this.m_localCenterA.y;d=r.col1.x*x+r.col2.x*M,M=r.col1.y*x+r.col2.y*M,x=d,r=w;var S=this.m_localAnchor2.x-this.m_localCenterB.x,T=this.m_localAnchor2.y-this.m_localCenterB.y;d=r.col1.x*S+r.col2.x*T,T=r.col1.y*S+r.col2.y*T,S=d;var A=h.x+S-u.x-x,E=h.y+T-u.y-M;if(this.m_enableLimit){this.m_axis=i.MulMV(g,this.m_localXAxis1),this.m_a1=(A+x)*this.m_axis.y-(E+M)*this.m_axis.x,this.m_a2=S*this.m_axis.y-T*this.m_axis.x;var L=this.m_axis.x*A+this.m_axis.y*E;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?(b=i.Clamp(L,-t.b2_maxLinearCorrection,t.b2_maxLinearCorrection),y=i.Abs(L),v=!0):L<=this.m_lowerTranslation?(b=i.Clamp(L-this.m_lowerTranslation+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),y=this.m_lowerTranslation-L,v=!0):L>=this.m_upperTranslation&&(b=i.Clamp(L-this.m_upperTranslation+t.b2_linearSlop,0,t.b2_maxLinearCorrection),y=L-this.m_upperTranslation,v=!0)}this.m_perp=i.MulMV(g,this.m_localYAxis1),this.m_s1=(A+x)*this.m_perp.y-(E+M)*this.m_perp.x,this.m_s2=S*this.m_perp.y-T*this.m_perp.x;var D=new o,C=this.m_perp.x*A+this.m_perp.y*E;if(y=i.Max(y,i.Abs(C)),0,v)f=this.m_invMassA,p=this.m_invMassB,_=this.m_invIA,m=this.m_invIB,this.m_K.col1.x=f+p+_*this.m_s1*this.m_s1+m*this.m_s2*this.m_s2,this.m_K.col1.y=_*this.m_s1*this.m_a1+m*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=f+p+_*this.m_a1*this.m_a1+m*this.m_a2*this.m_a2,this.m_K.Solve(D,-C,-b);else{f=this.m_invMassA,p=this.m_invMassB,_=this.m_invIA,m=this.m_invIB;var k=f+p+_*this.m_s1*this.m_s1+m*this.m_s2*this.m_s2,O=0;O=0!=k?-C/k:0,D.x=O,D.y=0}var I=D.x*this.m_perp.x+D.y*this.m_axis.x,P=D.x*this.m_perp.y+D.y*this.m_axis.y,R=D.x*this.m_s1+D.y*this.m_a1,Y=D.x*this.m_s2+D.y*this.m_a2;return u.x-=this.m_invMassA*I,u.y-=this.m_invMassA*P,c-=this.m_invIA*R,h.x+=this.m_invMassB*I,h.y+=this.m_invMassB*P,l+=this.m_invIB*Y,s.m_sweep.a=c,a.m_sweep.a=l,s.SynchronizeTransform(),a.SynchronizeTransform(),y<=t.b2_linearSlop&&0<=t.b2_angularSlop},r.inherit(v,r.Dynamics.Joints.b2JointDef),v.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,v.b2LineJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o,this.localAxisA=new o},v.prototype.b2LineJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_lineJoint,this.localAxisA.Set(1,0),this.enableLimit=!1,this.lowerTranslation=0,this.upperTranslation=0,this.enableMotor=!1,this.maxMotorForce=0,this.motorSpeed=0},v.prototype.Initialize=function(t,e,n,r){this.bodyA=t,this.bodyB=e,this.localAnchorA=this.bodyA.GetLocalPoint(n),this.localAnchorB=this.bodyB.GetLocalPoint(n),this.localAxisA=this.bodyA.GetLocalVector(r)},r.inherit(b,r.Dynamics.Joints.b2Joint),b.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,b.b2MouseJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.K=new e,this.K1=new e,this.K2=new e,this.m_localAnchor=new o,this.m_target=new o,this.m_impulse=new o,this.m_mass=new e,this.m_C=new o},b.prototype.GetAnchorA=function(){return this.m_target},b.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor)},b.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse.x,t*this.m_impulse.y)},b.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},b.prototype.GetTarget=function(){return this.m_target},b.prototype.SetTarget=function(t){0==this.m_bodyB.IsAwake()&&this.m_bodyB.SetAwake(!0),this.m_target=t},b.prototype.GetMaxForce=function(){return this.m_maxForce},b.prototype.SetMaxForce=function(t){void 0===t&&(t=0),this.m_maxForce=t},b.prototype.GetFrequency=function(){return this.m_frequencyHz},b.prototype.SetFrequency=function(t){void 0===t&&(t=0),this.m_frequencyHz=t},b.prototype.GetDampingRatio=function(){return this.m_dampingRatio},b.prototype.SetDampingRatio=function(t){void 0===t&&(t=0),this.m_dampingRatio=t},b.prototype.b2MouseJoint=function(t){this.__super.b2Joint.call(this,t),this.m_target.SetV(t.target);var e=this.m_target.x-this.m_bodyB.m_xf.position.x,n=this.m_target.y-this.m_bodyB.m_xf.position.y,r=this.m_bodyB.m_xf.R;this.m_localAnchor.x=e*r.col1.x+n*r.col1.y,this.m_localAnchor.y=e*r.col2.x+n*r.col2.y,this.m_maxForce=t.maxForce,this.m_impulse.SetZero(),this.m_frequencyHz=t.frequencyHz,this.m_dampingRatio=t.dampingRatio,this.m_beta=0,this.m_gamma=0},b.prototype.InitVelocityConstraints=function(t){var e,n=this.m_bodyB,r=n.GetMass(),i=2*Math.PI*this.m_frequencyHz,o=2*r*this.m_dampingRatio*i,s=r*i*i;this.m_gamma=t.dt*(o+t.dt*s),this.m_gamma=0!=this.m_gamma?1/this.m_gamma:0,this.m_beta=t.dt*s*this.m_gamma,e=n.m_xf.R;var a=this.m_localAnchor.x-n.m_sweep.localCenter.x,u=this.m_localAnchor.y-n.m_sweep.localCenter.y,c=e.col1.x*a+e.col2.x*u;u=e.col1.y*a+e.col2.y*u,a=c;var h=n.m_invMass,l=n.m_invI;this.K1.col1.x=h,this.K1.col2.x=0,this.K1.col1.y=0,this.K1.col2.y=h,this.K2.col1.x=l*u*u,this.K2.col2.x=-l*a*u,this.K2.col1.y=-l*a*u,this.K2.col2.y=l*a*a,this.K.SetM(this.K1),this.K.AddM(this.K2),this.K.col1.x+=this.m_gamma,this.K.col2.y+=this.m_gamma,this.K.GetInverse(this.m_mass),this.m_C.x=n.m_sweep.c.x+a-this.m_target.x,this.m_C.y=n.m_sweep.c.y+u-this.m_target.y,n.m_angularVelocity*=.98,this.m_impulse.x*=t.dtRatio,this.m_impulse.y*=t.dtRatio,n.m_linearVelocity.x+=h*this.m_impulse.x,n.m_linearVelocity.y+=h*this.m_impulse.y,n.m_angularVelocity+=l*(a*this.m_impulse.y-u*this.m_impulse.x)},b.prototype.SolveVelocityConstraints=function(t){var e,n,r=this.m_bodyB,i=0;e=r.m_xf.R;var o=this.m_localAnchor.x-r.m_sweep.localCenter.x,s=this.m_localAnchor.y-r.m_sweep.localCenter.y;i=e.col1.x*o+e.col2.x*s,s=e.col1.y*o+e.col2.y*s,o=i;var a=r.m_linearVelocity.x+-r.m_angularVelocity*s,u=r.m_linearVelocity.y+r.m_angularVelocity*o;e=this.m_mass,i=a+this.m_beta*this.m_C.x+this.m_gamma*this.m_impulse.x,n=u+this.m_beta*this.m_C.y+this.m_gamma*this.m_impulse.y;var c=-(e.col1.x*i+e.col2.x*n),h=-(e.col1.y*i+e.col2.y*n),l=this.m_impulse.x,d=this.m_impulse.y;this.m_impulse.x+=c,this.m_impulse.y+=h;var f=t.dt*this.m_maxForce;this.m_impulse.LengthSquared()>f*f&&this.m_impulse.Multiply(f/this.m_impulse.Length()),c=this.m_impulse.x-l,h=this.m_impulse.y-d,r.m_linearVelocity.x+=r.m_invMass*c,r.m_linearVelocity.y+=r.m_invMass*h,r.m_angularVelocity+=r.m_invI*(o*h-s*c)},b.prototype.SolvePositionConstraints=function(t){return void 0===t&&(t=0),!0},r.inherit(g,r.Dynamics.Joints.b2JointDef),g.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,g.b2MouseJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.target=new o},g.prototype.b2MouseJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_mouseJoint,this.maxForce=0,this.frequencyHz=5,this.dampingRatio=.7},r.inherit(w,r.Dynamics.Joints.b2Joint),w.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,w.b2PrismaticJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_localXAxis1=new o,this.m_localYAxis1=new o,this.m_axis=new o,this.m_perp=new o,this.m_K=new n,this.m_impulse=new s},w.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},w.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},w.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*(this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.x),t*(this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.y))},w.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_impulse.y},w.prototype.GetJointTranslation=function(){var t=this.m_bodyA,e=this.m_bodyB,n=t.GetWorldPoint(this.m_localAnchor1),r=e.GetWorldPoint(this.m_localAnchor2),i=r.x-n.x,o=r.y-n.y,s=t.GetWorldVector(this.m_localXAxis1);return s.x*i+s.y*o},w.prototype.GetJointSpeed=function(){var t,e=this.m_bodyA,n=this.m_bodyB;t=e.m_xf.R;var r=this.m_localAnchor1.x-e.m_sweep.localCenter.x,i=this.m_localAnchor1.y-e.m_sweep.localCenter.y,o=t.col1.x*r+t.col2.x*i;i=t.col1.y*r+t.col2.y*i,r=o,t=n.m_xf.R;var s=this.m_localAnchor2.x-n.m_sweep.localCenter.x,a=this.m_localAnchor2.y-n.m_sweep.localCenter.y;o=t.col1.x*s+t.col2.x*a,a=t.col1.y*s+t.col2.y*a,s=o;var u=e.m_sweep.c.x+r,c=e.m_sweep.c.y+i,h=n.m_sweep.c.x+s-u,l=n.m_sweep.c.y+a-c,d=e.GetWorldVector(this.m_localXAxis1),f=e.m_linearVelocity,p=n.m_linearVelocity,_=e.m_angularVelocity,m=n.m_angularVelocity;return h*(-_*d.y)+l*(_*d.x)+(d.x*(p.x+-m*a-f.x- -_*i)+d.y*(p.y+m*s-f.y-_*r))},w.prototype.IsLimitEnabled=function(){return this.m_enableLimit},w.prototype.EnableLimit=function(t){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableLimit=t},w.prototype.GetLowerLimit=function(){return this.m_lowerTranslation},w.prototype.GetUpperLimit=function(){return this.m_upperTranslation},w.prototype.SetLimits=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_lowerTranslation=t,this.m_upperTranslation=e},w.prototype.IsMotorEnabled=function(){return this.m_enableMotor},w.prototype.EnableMotor=function(t){this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_enableMotor=t},w.prototype.SetMotorSpeed=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_motorSpeed=t},w.prototype.GetMotorSpeed=function(){return this.m_motorSpeed},w.prototype.SetMaxMotorForce=function(t){void 0===t&&(t=0),this.m_bodyA.SetAwake(!0),this.m_bodyB.SetAwake(!0),this.m_maxMotorForce=t},w.prototype.GetMotorForce=function(){return this.m_motorImpulse},w.prototype.b2PrismaticJoint=function(t){this.__super.b2Joint.call(this,t);this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_localXAxis1.SetV(t.localAxisA),this.m_localYAxis1.x=-this.m_localXAxis1.y,this.m_localYAxis1.y=this.m_localXAxis1.x,this.m_refAngle=t.referenceAngle,this.m_impulse.SetZero(),this.m_motorMass=0,this.m_motorImpulse=0,this.m_lowerTranslation=t.lowerTranslation,this.m_upperTranslation=t.upperTranslation,this.m_maxMotorForce=t.maxMotorForce,this.m_motorSpeed=t.motorSpeed,this.m_enableLimit=t.enableLimit,this.m_enableMotor=t.enableMotor,this.m_limitState=p.e_inactiveLimit,this.m_axis.SetZero(),this.m_perp.SetZero()},w.prototype.InitVelocityConstraints=function(e){var n,r=this.m_bodyA,o=this.m_bodyB,s=0;this.m_localCenterA.SetV(r.GetLocalCenter()),this.m_localCenterB.SetV(o.GetLocalCenter());var a=r.GetTransform();o.GetTransform();n=r.m_xf.R;var u=this.m_localAnchor1.x-this.m_localCenterA.x,c=this.m_localAnchor1.y-this.m_localCenterA.y;s=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=s,n=o.m_xf.R;var h=this.m_localAnchor2.x-this.m_localCenterB.x,l=this.m_localAnchor2.y-this.m_localCenterB.y;s=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=s;var d=o.m_sweep.c.x+h-r.m_sweep.c.x-u,f=o.m_sweep.c.y+l-r.m_sweep.c.y-c;this.m_invMassA=r.m_invMass,this.m_invMassB=o.m_invMass,this.m_invIA=r.m_invI,this.m_invIB=o.m_invI,this.m_axis.SetV(i.MulMV(a.R,this.m_localXAxis1)),this.m_a1=(d+u)*this.m_axis.y-(f+c)*this.m_axis.x,this.m_a2=h*this.m_axis.y-l*this.m_axis.x,this.m_motorMass=this.m_invMassA+this.m_invMassB+this.m_invIA*this.m_a1*this.m_a1+this.m_invIB*this.m_a2*this.m_a2,this.m_motorMass>Number.MIN_VALUE&&(this.m_motorMass=1/this.m_motorMass),this.m_perp.SetV(i.MulMV(a.R,this.m_localYAxis1)),this.m_s1=(d+u)*this.m_perp.y-(f+c)*this.m_perp.x,this.m_s2=h*this.m_perp.y-l*this.m_perp.x;var _=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB;if(this.m_K.col1.x=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,this.m_K.col1.y=y*this.m_s1+v*this.m_s2,this.m_K.col1.z=y*this.m_s1*this.m_a1+v*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=y+v,this.m_K.col2.z=y*this.m_a1+v*this.m_a2,this.m_K.col3.x=this.m_K.col1.z,this.m_K.col3.y=this.m_K.col2.z,this.m_K.col3.z=_+m+y*this.m_a1*this.m_a1+v*this.m_a2*this.m_a2,this.m_enableLimit){var b=this.m_axis.x*d+this.m_axis.y*f;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?this.m_limitState=p.e_equalLimits:b<=this.m_lowerTranslation?this.m_limitState!=p.e_atLowerLimit&&(this.m_limitState=p.e_atLowerLimit,this.m_impulse.z=0):b>=this.m_upperTranslation?this.m_limitState!=p.e_atUpperLimit&&(this.m_limitState=p.e_atUpperLimit,this.m_impulse.z=0):(this.m_limitState=p.e_inactiveLimit,this.m_impulse.z=0)}else this.m_limitState=p.e_inactiveLimit;if(0==this.m_enableMotor&&(this.m_motorImpulse=0),e.warmStarting){this.m_impulse.x*=e.dtRatio,this.m_impulse.y*=e.dtRatio,this.m_motorImpulse*=e.dtRatio;var g=this.m_impulse.x*this.m_perp.x+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.x,w=this.m_impulse.x*this.m_perp.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_axis.y,x=this.m_impulse.x*this.m_s1+this.m_impulse.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_a1,M=this.m_impulse.x*this.m_s2+this.m_impulse.y+(this.m_motorImpulse+this.m_impulse.z)*this.m_a2;r.m_linearVelocity.x-=this.m_invMassA*g,r.m_linearVelocity.y-=this.m_invMassA*w,r.m_angularVelocity-=this.m_invIA*x,o.m_linearVelocity.x+=this.m_invMassB*g,o.m_linearVelocity.y+=this.m_invMassB*w,o.m_angularVelocity+=this.m_invIB*M}else this.m_impulse.SetZero(),this.m_motorImpulse=0},w.prototype.SolveVelocityConstraints=function(t){var e=this.m_bodyA,n=this.m_bodyB,r=e.m_linearVelocity,a=e.m_angularVelocity,u=n.m_linearVelocity,c=n.m_angularVelocity,h=0,l=0,d=0,f=0;if(this.m_enableMotor&&this.m_limitState!=p.e_equalLimits){var _=this.m_axis.x*(u.x-r.x)+this.m_axis.y*(u.y-r.y)+this.m_a2*c-this.m_a1*a,m=this.m_motorMass*(this.m_motorSpeed-_),y=this.m_motorImpulse,v=t.dt*this.m_maxMotorForce;this.m_motorImpulse=i.Clamp(this.m_motorImpulse+m,-v,v),h=(m=this.m_motorImpulse-y)*this.m_axis.x,l=m*this.m_axis.y,d=m*this.m_a1,f=m*this.m_a2,r.x-=this.m_invMassA*h,r.y-=this.m_invMassA*l,a-=this.m_invIA*d,u.x+=this.m_invMassB*h,u.y+=this.m_invMassB*l,c+=this.m_invIB*f}var b=this.m_perp.x*(u.x-r.x)+this.m_perp.y*(u.y-r.y)+this.m_s2*c-this.m_s1*a,g=c-a;if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){var w=this.m_axis.x*(u.x-r.x)+this.m_axis.y*(u.y-r.y)+this.m_a2*c-this.m_a1*a,x=this.m_impulse.Copy(),M=this.m_K.Solve33(new s,-b,-g,-w);this.m_impulse.Add(M),this.m_limitState==p.e_atLowerLimit?this.m_impulse.z=i.Max(this.m_impulse.z,0):this.m_limitState==p.e_atUpperLimit&&(this.m_impulse.z=i.Min(this.m_impulse.z,0));var S=-b-(this.m_impulse.z-x.z)*this.m_K.col3.x,T=-g-(this.m_impulse.z-x.z)*this.m_K.col3.y,A=this.m_K.Solve22(new o,S,T);A.x+=x.x,A.y+=x.y,this.m_impulse.x=A.x,this.m_impulse.y=A.y,M.x=this.m_impulse.x-x.x,M.y=this.m_impulse.y-x.y,M.z=this.m_impulse.z-x.z,h=M.x*this.m_perp.x+M.z*this.m_axis.x,l=M.x*this.m_perp.y+M.z*this.m_axis.y,d=M.x*this.m_s1+M.y+M.z*this.m_a1,f=M.x*this.m_s2+M.y+M.z*this.m_a2,r.x-=this.m_invMassA*h,r.y-=this.m_invMassA*l,a-=this.m_invIA*d,u.x+=this.m_invMassB*h,u.y+=this.m_invMassB*l,c+=this.m_invIB*f}else{var E=this.m_K.Solve22(new o,-b,-g);this.m_impulse.x+=E.x,this.m_impulse.y+=E.y,h=E.x*this.m_perp.x,l=E.x*this.m_perp.y,d=E.x*this.m_s1+E.y,f=E.x*this.m_s2+E.y,r.x-=this.m_invMassA*h,r.y-=this.m_invMassA*l,a-=this.m_invIA*d,u.x+=this.m_invMassB*h,u.y+=this.m_invMassB*l,c+=this.m_invIB*f}e.m_linearVelocity.SetV(r),e.m_angularVelocity=a,n.m_linearVelocity.SetV(u),n.m_angularVelocity=c},w.prototype.SolvePositionConstraints=function(n){void 0===n&&(n=0);var r,a,u=this.m_bodyA,c=this.m_bodyB,h=u.m_sweep.c,l=u.m_sweep.a,d=c.m_sweep.c,f=c.m_sweep.a,p=0,_=0,m=0,y=0,v=0,b=0,g=!1,w=0,x=e.FromAngle(l),M=e.FromAngle(f);r=x;var S=this.m_localAnchor1.x-this.m_localCenterA.x,T=this.m_localAnchor1.y-this.m_localCenterA.y;p=r.col1.x*S+r.col2.x*T,T=r.col1.y*S+r.col2.y*T,S=p,r=M;var A=this.m_localAnchor2.x-this.m_localCenterB.x,E=this.m_localAnchor2.y-this.m_localCenterB.y;p=r.col1.x*A+r.col2.x*E,E=r.col1.y*A+r.col2.y*E,A=p;var L=d.x+A-h.x-S,D=d.y+E-h.y-T;if(this.m_enableLimit){this.m_axis=i.MulMV(x,this.m_localXAxis1),this.m_a1=(L+S)*this.m_axis.y-(D+T)*this.m_axis.x,this.m_a2=A*this.m_axis.y-E*this.m_axis.x;var C=this.m_axis.x*L+this.m_axis.y*D;i.Abs(this.m_upperTranslation-this.m_lowerTranslation)<2*t.b2_linearSlop?(w=i.Clamp(C,-t.b2_maxLinearCorrection,t.b2_maxLinearCorrection),b=i.Abs(C),g=!0):C<=this.m_lowerTranslation?(w=i.Clamp(C-this.m_lowerTranslation+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),b=this.m_lowerTranslation-C,g=!0):C>=this.m_upperTranslation&&(w=i.Clamp(C-this.m_upperTranslation+t.b2_linearSlop,0,t.b2_maxLinearCorrection),b=C-this.m_upperTranslation,g=!0)}this.m_perp=i.MulMV(x,this.m_localYAxis1),this.m_s1=(L+S)*this.m_perp.y-(D+T)*this.m_perp.x,this.m_s2=A*this.m_perp.y-E*this.m_perp.x;var k=new s,O=this.m_perp.x*L+this.m_perp.y*D,I=f-l-this.m_refAngle;if(b=i.Max(b,i.Abs(O)),a=i.Abs(I),g)_=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB,this.m_K.col1.x=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,this.m_K.col1.y=y*this.m_s1+v*this.m_s2,this.m_K.col1.z=y*this.m_s1*this.m_a1+v*this.m_s2*this.m_a2,this.m_K.col2.x=this.m_K.col1.y,this.m_K.col2.y=y+v,this.m_K.col2.z=y*this.m_a1+v*this.m_a2,this.m_K.col3.x=this.m_K.col1.z,this.m_K.col3.y=this.m_K.col2.z,this.m_K.col3.z=_+m+y*this.m_a1*this.m_a1+v*this.m_a2*this.m_a2,this.m_K.Solve33(k,-O,-I,-w);else{_=this.m_invMassA,m=this.m_invMassB,y=this.m_invIA,v=this.m_invIB;var P=_+m+y*this.m_s1*this.m_s1+v*this.m_s2*this.m_s2,R=y*this.m_s1+v*this.m_s2,Y=y+v;this.m_K.col1.Set(P,R,0),this.m_K.col2.Set(R,Y,0);var B=this.m_K.Solve22(new o,-O,-I);k.x=B.x,k.y=B.y,k.z=0}var N=k.x*this.m_perp.x+k.z*this.m_axis.x,j=k.x*this.m_perp.y+k.z*this.m_axis.y,F=k.x*this.m_s1+k.y+k.z*this.m_a1,U=k.x*this.m_s2+k.y+k.z*this.m_a2;return h.x-=this.m_invMassA*N,h.y-=this.m_invMassA*j,l-=this.m_invIA*F,d.x+=this.m_invMassB*N,d.y+=this.m_invMassB*j,f+=this.m_invIB*U,u.m_sweep.a=l,c.m_sweep.a=f,u.SynchronizeTransform(),c.SynchronizeTransform(),b<=t.b2_linearSlop&&a<=t.b2_angularSlop},r.inherit(x,r.Dynamics.Joints.b2JointDef),x.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,x.b2PrismaticJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o,this.localAxisA=new o},x.prototype.b2PrismaticJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_prismaticJoint,this.localAxisA.Set(1,0),this.referenceAngle=0,this.enableLimit=!1,this.lowerTranslation=0,this.upperTranslation=0,this.enableMotor=!1,this.maxMotorForce=0,this.motorSpeed=0},x.prototype.Initialize=function(t,e,n,r){this.bodyA=t,this.bodyB=e,this.localAnchorA=this.bodyA.GetLocalPoint(n),this.localAnchorB=this.bodyB.GetLocalPoint(n),this.localAxisA=this.bodyA.GetLocalVector(r),this.referenceAngle=this.bodyB.GetAngle()-this.bodyA.GetAngle()},r.inherit(M,r.Dynamics.Joints.b2Joint),M.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,M.b2PulleyJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_groundAnchor1=new o,this.m_groundAnchor2=new o,this.m_localAnchor1=new o,this.m_localAnchor2=new o,this.m_u1=new o,this.m_u2=new o},M.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchor1)},M.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchor2)},M.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse*this.m_u2.x,t*this.m_impulse*this.m_u2.y)},M.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),0},M.prototype.GetGroundAnchorA=function(){var t=this.m_ground.m_xf.position.Copy();return t.Add(this.m_groundAnchor1),t},M.prototype.GetGroundAnchorB=function(){var t=this.m_ground.m_xf.position.Copy();return t.Add(this.m_groundAnchor2),t},M.prototype.GetLength1=function(){var t=this.m_bodyA.GetWorldPoint(this.m_localAnchor1),e=this.m_ground.m_xf.position.x+this.m_groundAnchor1.x,n=this.m_ground.m_xf.position.y+this.m_groundAnchor1.y,r=t.x-e,i=t.y-n;return Math.sqrt(r*r+i*i)},M.prototype.GetLength2=function(){var t=this.m_bodyB.GetWorldPoint(this.m_localAnchor2),e=this.m_ground.m_xf.position.x+this.m_groundAnchor2.x,n=this.m_ground.m_xf.position.y+this.m_groundAnchor2.y,r=t.x-e,i=t.y-n;return Math.sqrt(r*r+i*i)},M.prototype.GetRatio=function(){return this.m_ratio},M.prototype.b2PulleyJoint=function(t){this.__super.b2Joint.call(this,t);this.m_ground=this.m_bodyA.m_world.m_groundBody,this.m_groundAnchor1.x=t.groundAnchorA.x-this.m_ground.m_xf.position.x,this.m_groundAnchor1.y=t.groundAnchorA.y-this.m_ground.m_xf.position.y,this.m_groundAnchor2.x=t.groundAnchorB.x-this.m_ground.m_xf.position.x,this.m_groundAnchor2.y=t.groundAnchorB.y-this.m_ground.m_xf.position.y,this.m_localAnchor1.SetV(t.localAnchorA),this.m_localAnchor2.SetV(t.localAnchorB),this.m_ratio=t.ratio,this.m_constant=t.lengthA+this.m_ratio*t.lengthB,this.m_maxLength1=i.Min(t.maxLengthA,this.m_constant-this.m_ratio*M.b2_minPulleyLength),this.m_maxLength2=i.Min(t.maxLengthB,(this.m_constant-M.b2_minPulleyLength)/this.m_ratio),this.m_impulse=0,this.m_limitImpulse1=0,this.m_limitImpulse2=0},M.prototype.InitVelocityConstraints=function(e){var n,r=this.m_bodyA,i=this.m_bodyB;n=r.m_xf.R;var o=this.m_localAnchor1.x-r.m_sweep.localCenter.x,s=this.m_localAnchor1.y-r.m_sweep.localCenter.y,a=n.col1.x*o+n.col2.x*s;s=n.col1.y*o+n.col2.y*s,o=a,n=i.m_xf.R;var u=this.m_localAnchor2.x-i.m_sweep.localCenter.x,c=this.m_localAnchor2.y-i.m_sweep.localCenter.y;a=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=a;var h=r.m_sweep.c.x+o,l=r.m_sweep.c.y+s,d=i.m_sweep.c.x+u,f=i.m_sweep.c.y+c,_=this.m_ground.m_xf.position.x+this.m_groundAnchor1.x,m=this.m_ground.m_xf.position.y+this.m_groundAnchor1.y,y=this.m_ground.m_xf.position.x+this.m_groundAnchor2.x,v=this.m_ground.m_xf.position.y+this.m_groundAnchor2.y;this.m_u1.Set(h-_,l-m),this.m_u2.Set(d-y,f-v);var b=this.m_u1.Length(),g=this.m_u2.Length();b>t.b2_linearSlop?this.m_u1.Multiply(1/b):this.m_u1.SetZero(),g>t.b2_linearSlop?this.m_u2.Multiply(1/g):this.m_u2.SetZero(),this.m_constant-b-this.m_ratio*g>0?(this.m_state=p.e_inactiveLimit,this.m_impulse=0):this.m_state=p.e_atUpperLimit,bt.b2_linearSlop?this.m_u1.Multiply(1/b):this.m_u1.SetZero(),g>t.b2_linearSlop?this.m_u2.Multiply(1/g):this.m_u2.SetZero(),w=this.m_constant-b-this.m_ratio*g,S=i.Max(S,-w),w=i.Clamp(w+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),_=-(x=-this.m_pulleyMass*w)*this.m_u1.x,m=-x*this.m_u1.y,y=-this.m_ratio*x*this.m_u2.x,v=-this.m_ratio*x*this.m_u2.y,r.m_sweep.c.x+=r.m_invMass*_,r.m_sweep.c.y+=r.m_invMass*m,r.m_sweep.a+=r.m_invI*(h*m-l*_),o.m_sweep.c.x+=o.m_invMass*y,o.m_sweep.c.y+=o.m_invMass*v,o.m_sweep.a+=o.m_invI*(d*v-f*y),r.SynchronizeTransform(),o.SynchronizeTransform()),this.m_limitState1==p.e_atUpperLimit&&(n=r.m_xf.R,h=this.m_localAnchor1.x-r.m_sweep.localCenter.x,l=this.m_localAnchor1.y-r.m_sweep.localCenter.y,M=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=M,_=r.m_sweep.c.x+h,m=r.m_sweep.c.y+l,this.m_u1.Set(_-s,m-a),(b=this.m_u1.Length())>t.b2_linearSlop?(this.m_u1.x*=1/b,this.m_u1.y*=1/b):this.m_u1.SetZero(),w=this.m_maxLength1-b,S=i.Max(S,-w),w=i.Clamp(w+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),_=-(x=-this.m_limitMass1*w)*this.m_u1.x,m=-x*this.m_u1.y,r.m_sweep.c.x+=r.m_invMass*_,r.m_sweep.c.y+=r.m_invMass*m,r.m_sweep.a+=r.m_invI*(h*m-l*_),r.SynchronizeTransform()),this.m_limitState2==p.e_atUpperLimit&&(n=o.m_xf.R,d=this.m_localAnchor2.x-o.m_sweep.localCenter.x,f=this.m_localAnchor2.y-o.m_sweep.localCenter.y,M=n.col1.x*d+n.col2.x*f,f=n.col1.y*d+n.col2.y*f,d=M,y=o.m_sweep.c.x+d,v=o.m_sweep.c.y+f,this.m_u2.Set(y-u,v-c),(g=this.m_u2.Length())>t.b2_linearSlop?(this.m_u2.x*=1/g,this.m_u2.y*=1/g):this.m_u2.SetZero(),w=this.m_maxLength2-g,S=i.Max(S,-w),w=i.Clamp(w+t.b2_linearSlop,-t.b2_maxLinearCorrection,0),y=-(x=-this.m_limitMass2*w)*this.m_u2.x,v=-x*this.m_u2.y,o.m_sweep.c.x+=o.m_invMass*y,o.m_sweep.c.y+=o.m_invMass*v,o.m_sweep.a+=o.m_invI*(d*v-f*y),o.SynchronizeTransform()),S=this.m_upperAngle?(this.m_limitState!=p.e_atUpperLimit&&(this.m_impulse.z=0),this.m_limitState=p.e_atUpperLimit):(this.m_limitState=p.e_inactiveLimit,this.m_impulse.z=0)}else this.m_limitState=p.e_inactiveLimit;if(e.warmStarting){this.m_impulse.x*=e.dtRatio,this.m_impulse.y*=e.dtRatio,this.m_motorImpulse*=e.dtRatio;var y=this.m_impulse.x,v=this.m_impulse.y;r.m_linearVelocity.x-=l*y,r.m_linearVelocity.y-=l*v,r.m_angularVelocity-=f*(a*v-u*y+this.m_motorImpulse+this.m_impulse.z),o.m_linearVelocity.x+=d*y,o.m_linearVelocity.y+=d*v,o.m_angularVelocity+=_*(c*v-h*y+this.m_motorImpulse+this.m_impulse.z)}else this.m_impulse.SetZero(),this.m_motorImpulse=0},T.prototype.SolveVelocityConstraints=function(t){var e,n=this.m_bodyA,r=this.m_bodyB,o=0,s=0,a=0,u=0,c=0,h=n.m_linearVelocity,l=n.m_angularVelocity,d=r.m_linearVelocity,f=r.m_angularVelocity,_=n.m_invMass,m=r.m_invMass,y=n.m_invI,v=r.m_invI;if(this.m_enableMotor&&this.m_limitState!=p.e_equalLimits){var b=f-l-this.m_motorSpeed,g=this.m_motorMass*-b,w=this.m_motorImpulse,x=t.dt*this.m_maxMotorTorque;this.m_motorImpulse=i.Clamp(this.m_motorImpulse+g,-x,x),l-=y*(g=this.m_motorImpulse-w),f+=v*g}if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){e=n.m_xf.R,s=this.m_localAnchor1.x-n.m_sweep.localCenter.x,a=this.m_localAnchor1.y-n.m_sweep.localCenter.y,o=e.col1.x*s+e.col2.x*a,a=e.col1.y*s+e.col2.y*a,s=o,e=r.m_xf.R,u=this.m_localAnchor2.x-r.m_sweep.localCenter.x,c=this.m_localAnchor2.y-r.m_sweep.localCenter.y,o=e.col1.x*u+e.col2.x*c,c=e.col1.y*u+e.col2.y*c,u=o;var M=d.x+-f*c-h.x- -l*a,S=d.y+f*u-h.y-l*s,T=f-l;this.m_mass.Solve33(this.impulse3,-M,-S,-T),this.m_limitState==p.e_equalLimits?this.m_impulse.Add(this.impulse3):this.m_limitState==p.e_atLowerLimit?this.m_impulse.z+this.impulse3.z<0&&(this.m_mass.Solve22(this.reduced,-M,-S),this.impulse3.x=this.reduced.x,this.impulse3.y=this.reduced.y,this.impulse3.z=-this.m_impulse.z,this.m_impulse.x+=this.reduced.x,this.m_impulse.y+=this.reduced.y,this.m_impulse.z=0):this.m_limitState==p.e_atUpperLimit&&this.m_impulse.z+this.impulse3.z>0&&(this.m_mass.Solve22(this.reduced,-M,-S),this.impulse3.x=this.reduced.x,this.impulse3.y=this.reduced.y,this.impulse3.z=-this.m_impulse.z,this.m_impulse.x+=this.reduced.x,this.m_impulse.y+=this.reduced.y,this.m_impulse.z=0),h.x-=_*this.impulse3.x,h.y-=_*this.impulse3.y,l-=y*(s*this.impulse3.y-a*this.impulse3.x+this.impulse3.z),d.x+=m*this.impulse3.x,d.y+=m*this.impulse3.y,f+=v*(u*this.impulse3.y-c*this.impulse3.x+this.impulse3.z)}else{e=n.m_xf.R,s=this.m_localAnchor1.x-n.m_sweep.localCenter.x,a=this.m_localAnchor1.y-n.m_sweep.localCenter.y,o=e.col1.x*s+e.col2.x*a,a=e.col1.y*s+e.col2.y*a,s=o,e=r.m_xf.R,u=this.m_localAnchor2.x-r.m_sweep.localCenter.x,c=this.m_localAnchor2.y-r.m_sweep.localCenter.y,o=e.col1.x*u+e.col2.x*c,c=e.col1.y*u+e.col2.y*c,u=o;var A=d.x+-f*c-h.x- -l*a,E=d.y+f*u-h.y-l*s;this.m_mass.Solve22(this.impulse2,-A,-E),this.m_impulse.x+=this.impulse2.x,this.m_impulse.y+=this.impulse2.y,h.x-=_*this.impulse2.x,h.y-=_*this.impulse2.y,l-=y*(s*this.impulse2.y-a*this.impulse2.x),d.x+=m*this.impulse2.x,d.y+=m*this.impulse2.y,f+=v*(u*this.impulse2.y-c*this.impulse2.x)}n.m_linearVelocity.SetV(h),n.m_angularVelocity=l,r.m_linearVelocity.SetV(d),r.m_angularVelocity=f},T.prototype.SolvePositionConstraints=function(e){void 0===e&&(e=0);var n,r,o=0,s=this.m_bodyA,a=this.m_bodyB,u=0,c=0,h=0,l=0;if(this.m_enableLimit&&this.m_limitState!=p.e_inactiveLimit){var d=a.m_sweep.a-s.m_sweep.a-this.m_referenceAngle,f=0;this.m_limitState==p.e_equalLimits?(o=i.Clamp(d-this.m_lowerAngle,-t.b2_maxAngularCorrection,t.b2_maxAngularCorrection),f=-this.m_motorMass*o,u=i.Abs(o)):this.m_limitState==p.e_atLowerLimit?(u=-(o=d-this.m_lowerAngle),o=i.Clamp(o+t.b2_angularSlop,-t.b2_maxAngularCorrection,0),f=-this.m_motorMass*o):this.m_limitState==p.e_atUpperLimit&&(u=o=d-this.m_upperAngle,o=i.Clamp(o-t.b2_angularSlop,0,t.b2_maxAngularCorrection),f=-this.m_motorMass*o),s.m_sweep.a-=s.m_invI*f,a.m_sweep.a+=a.m_invI*f,s.SynchronizeTransform(),a.SynchronizeTransform()}n=s.m_xf.R;var _=this.m_localAnchor1.x-s.m_sweep.localCenter.x,m=this.m_localAnchor1.y-s.m_sweep.localCenter.y;c=n.col1.x*_+n.col2.x*m,m=n.col1.y*_+n.col2.y*m,_=c,n=a.m_xf.R;var y=this.m_localAnchor2.x-a.m_sweep.localCenter.x,v=this.m_localAnchor2.y-a.m_sweep.localCenter.y;c=n.col1.x*y+n.col2.x*v,v=n.col1.y*y+n.col2.y*v,y=c;var b=a.m_sweep.c.x+y-s.m_sweep.c.x-_,g=a.m_sweep.c.y+v-s.m_sweep.c.y-m,w=b*b+g*g,x=Math.sqrt(w);r=x;var M=s.m_invMass,S=a.m_invMass,A=s.m_invI,E=a.m_invI,L=10*t.b2_linearSlop;if(w>L*L){var D=1/(M+S);h=D*-b,l=D*-g;s.m_sweep.c.x-=.5*M*h,s.m_sweep.c.y-=.5*M*l,a.m_sweep.c.x+=.5*S*h,a.m_sweep.c.y+=.5*S*l,b=a.m_sweep.c.x+y-s.m_sweep.c.x-_,g=a.m_sweep.c.y+v-s.m_sweep.c.y-m}return this.K1.col1.x=M+S,this.K1.col2.x=0,this.K1.col1.y=0,this.K1.col2.y=M+S,this.K2.col1.x=A*m*m,this.K2.col2.x=-A*_*m,this.K2.col1.y=-A*_*m,this.K2.col2.y=A*_*_,this.K3.col1.x=E*v*v,this.K3.col2.x=-E*y*v,this.K3.col1.y=-E*y*v,this.K3.col2.y=E*y*y,this.K.SetM(this.K1),this.K.AddM(this.K2),this.K.AddM(this.K3),this.K.Solve(T.tImpulse,-b,-g),h=T.tImpulse.x,l=T.tImpulse.y,s.m_sweep.c.x-=s.m_invMass*h,s.m_sweep.c.y-=s.m_invMass*l,s.m_sweep.a-=s.m_invI*(_*l-m*h),a.m_sweep.c.x+=a.m_invMass*h,a.m_sweep.c.y+=a.m_invMass*l,a.m_sweep.a+=a.m_invI*(y*l-v*h),s.SynchronizeTransform(),a.SynchronizeTransform(),r<=t.b2_linearSlop&&u<=t.b2_angularSlop},r.postDefs.push((function(){r.Dynamics.Joints.b2RevoluteJoint.tImpulse=new o})),r.inherit(A,r.Dynamics.Joints.b2JointDef),A.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,A.b2RevoluteJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},A.prototype.b2RevoluteJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_revoluteJoint,this.localAnchorA.Set(0,0),this.localAnchorB.Set(0,0),this.referenceAngle=0,this.lowerAngle=0,this.upperAngle=0,this.maxMotorTorque=0,this.motorSpeed=0,this.enableLimit=!1,this.enableMotor=!1},A.prototype.Initialize=function(t,e,n){this.bodyA=t,this.bodyB=e,this.localAnchorA=this.bodyA.GetLocalPoint(n),this.localAnchorB=this.bodyB.GetLocalPoint(n),this.referenceAngle=this.bodyB.GetAngle()-this.bodyA.GetAngle()},r.inherit(E,r.Dynamics.Joints.b2Joint),E.prototype.__super=r.Dynamics.Joints.b2Joint.prototype,E.b2WeldJoint=function(){r.Dynamics.Joints.b2Joint.b2Joint.apply(this,arguments),this.m_localAnchorA=new o,this.m_localAnchorB=new o,this.m_impulse=new s,this.m_mass=new n},E.prototype.GetAnchorA=function(){return this.m_bodyA.GetWorldPoint(this.m_localAnchorA)},E.prototype.GetAnchorB=function(){return this.m_bodyB.GetWorldPoint(this.m_localAnchorB)},E.prototype.GetReactionForce=function(t){return void 0===t&&(t=0),new o(t*this.m_impulse.x,t*this.m_impulse.y)},E.prototype.GetReactionTorque=function(t){return void 0===t&&(t=0),t*this.m_impulse.z},E.prototype.b2WeldJoint=function(t){this.__super.b2Joint.call(this,t),this.m_localAnchorA.SetV(t.localAnchorA),this.m_localAnchorB.SetV(t.localAnchorB),this.m_referenceAngle=t.referenceAngle,this.m_impulse.SetZero(),this.m_mass=new n},E.prototype.InitVelocityConstraints=function(t){var e,n=0,r=this.m_bodyA,i=this.m_bodyB;e=r.m_xf.R;var o=this.m_localAnchorA.x-r.m_sweep.localCenter.x,s=this.m_localAnchorA.y-r.m_sweep.localCenter.y;n=e.col1.x*o+e.col2.x*s,s=e.col1.y*o+e.col2.y*s,o=n,e=i.m_xf.R;var a=this.m_localAnchorB.x-i.m_sweep.localCenter.x,u=this.m_localAnchorB.y-i.m_sweep.localCenter.y;n=e.col1.x*a+e.col2.x*u,u=e.col1.y*a+e.col2.y*u,a=n;var c=r.m_invMass,h=i.m_invMass,l=r.m_invI,d=i.m_invI;this.m_mass.col1.x=c+h+s*s*l+u*u*d,this.m_mass.col2.x=-s*o*l-u*a*d,this.m_mass.col3.x=-s*l-u*d,this.m_mass.col1.y=this.m_mass.col2.x,this.m_mass.col2.y=c+h+o*o*l+a*a*d,this.m_mass.col3.y=o*l+a*d,this.m_mass.col1.z=this.m_mass.col3.x,this.m_mass.col2.z=this.m_mass.col3.y,this.m_mass.col3.z=l+d,t.warmStarting?(this.m_impulse.x*=t.dtRatio,this.m_impulse.y*=t.dtRatio,this.m_impulse.z*=t.dtRatio,r.m_linearVelocity.x-=c*this.m_impulse.x,r.m_linearVelocity.y-=c*this.m_impulse.y,r.m_angularVelocity-=l*(o*this.m_impulse.y-s*this.m_impulse.x+this.m_impulse.z),i.m_linearVelocity.x+=h*this.m_impulse.x,i.m_linearVelocity.y+=h*this.m_impulse.y,i.m_angularVelocity+=d*(a*this.m_impulse.y-u*this.m_impulse.x+this.m_impulse.z)):this.m_impulse.SetZero()},E.prototype.SolveVelocityConstraints=function(t){var e,n=0,r=this.m_bodyA,i=this.m_bodyB,o=r.m_linearVelocity,a=r.m_angularVelocity,u=i.m_linearVelocity,c=i.m_angularVelocity,h=r.m_invMass,l=i.m_invMass,d=r.m_invI,f=i.m_invI;e=r.m_xf.R;var p=this.m_localAnchorA.x-r.m_sweep.localCenter.x,_=this.m_localAnchorA.y-r.m_sweep.localCenter.y;n=e.col1.x*p+e.col2.x*_,_=e.col1.y*p+e.col2.y*_,p=n,e=i.m_xf.R;var m=this.m_localAnchorB.x-i.m_sweep.localCenter.x,y=this.m_localAnchorB.y-i.m_sweep.localCenter.y;n=e.col1.x*m+e.col2.x*y,y=e.col1.y*m+e.col2.y*y,m=n;var v=u.x-c*y-o.x+a*_,b=u.y+c*m-o.y-a*p,g=c-a,w=new s;this.m_mass.Solve33(w,-v,-b,-g),this.m_impulse.Add(w),o.x-=h*w.x,o.y-=h*w.y,a-=d*(p*w.y-_*w.x+w.z),u.x+=l*w.x,u.y+=l*w.y,c+=f*(m*w.y-y*w.x+w.z),r.m_angularVelocity=a,i.m_angularVelocity=c},E.prototype.SolvePositionConstraints=function(e){var n;void 0===e&&(e=0);var r=0,o=this.m_bodyA,a=this.m_bodyB;n=o.m_xf.R;var u=this.m_localAnchorA.x-o.m_sweep.localCenter.x,c=this.m_localAnchorA.y-o.m_sweep.localCenter.y;r=n.col1.x*u+n.col2.x*c,c=n.col1.y*u+n.col2.y*c,u=r,n=a.m_xf.R;var h=this.m_localAnchorB.x-a.m_sweep.localCenter.x,l=this.m_localAnchorB.y-a.m_sweep.localCenter.y;r=n.col1.x*h+n.col2.x*l,l=n.col1.y*h+n.col2.y*l,h=r;var d=o.m_invMass,f=a.m_invMass,p=o.m_invI,_=a.m_invI,m=a.m_sweep.c.x+h-o.m_sweep.c.x-u,y=a.m_sweep.c.y+l-o.m_sweep.c.y-c,v=a.m_sweep.a-o.m_sweep.a-this.m_referenceAngle,b=10*t.b2_linearSlop,g=Math.sqrt(m*m+y*y),w=i.Abs(v);g>b&&(p*=1,_*=1),this.m_mass.col1.x=d+f+c*c*p+l*l*_,this.m_mass.col2.x=-c*u*p-l*h*_,this.m_mass.col3.x=-c*p-l*_,this.m_mass.col1.y=this.m_mass.col2.x,this.m_mass.col2.y=d+f+u*u*p+h*h*_,this.m_mass.col3.y=u*p+h*_,this.m_mass.col1.z=this.m_mass.col3.x,this.m_mass.col2.z=this.m_mass.col3.y,this.m_mass.col3.z=p+_;var x=new s;return this.m_mass.Solve33(x,-m,-y,-v),o.m_sweep.c.x-=d*x.x,o.m_sweep.c.y-=d*x.y,o.m_sweep.a-=p*(u*x.y-c*x.x+x.z),a.m_sweep.c.x+=f*x.x,a.m_sweep.c.y+=f*x.y,a.m_sweep.a+=_*(h*x.y-l*x.x+x.z),o.SynchronizeTransform(),a.SynchronizeTransform(),g<=t.b2_linearSlop&&w<=t.b2_angularSlop},r.inherit(L,r.Dynamics.Joints.b2JointDef),L.prototype.__super=r.Dynamics.Joints.b2JointDef.prototype,L.b2WeldJointDef=function(){r.Dynamics.Joints.b2JointDef.b2JointDef.apply(this,arguments),this.localAnchorA=new o,this.localAnchorB=new o},L.prototype.b2WeldJointDef=function(){this.__super.b2JointDef.call(this),this.type=p.e_weldJoint,this.referenceAngle=0},L.prototype.Initialize=function(t,e,n){this.bodyA=t,this.bodyB=e,this.localAnchorA.SetV(this.bodyA.GetLocalPoint(n)),this.localAnchorB.SetV(this.bodyB.GetLocalPoint(n)),this.referenceAngle=this.bodyB.GetAngle()-this.bodyA.GetAngle()}}(),(G=r.Dynamics.b2DebugDraw).b2DebugDraw=function(){this.m_drawScale=1,this.m_lineThickness=1,this.m_alpha=1,this.m_fillAlpha=1,this.m_xformScale=1;var t=this;this.m_sprite={graphics:{clear:function(){t.m_ctx.clearRect(0,0,t.m_ctx.canvas.width,t.m_ctx.canvas.height)}}}},G.prototype._color=function(t,e){return"rgba("+((16711680&t)>>16)+","+((65280&t)>>8)+","+(255&t)+","+e+")"},G.prototype.b2DebugDraw=function(){this.m_drawFlags=0},G.prototype.SetFlags=function(t){void 0===t&&(t=0),this.m_drawFlags=t},G.prototype.GetFlags=function(){return this.m_drawFlags},G.prototype.AppendFlags=function(t){void 0===t&&(t=0),this.m_drawFlags|=t},G.prototype.ClearFlags=function(t){void 0===t&&(t=0),this.m_drawFlags&=~t},G.prototype.SetSprite=function(t){this.m_ctx=t},G.prototype.GetSprite=function(){return this.m_ctx},G.prototype.SetDrawScale=function(t){void 0===t&&(t=0),this.m_drawScale=t},G.prototype.GetDrawScale=function(){return this.m_drawScale},G.prototype.SetLineThickness=function(t){void 0===t&&(t=0),this.m_lineThickness=t,this.m_ctx.strokeWidth=t},G.prototype.GetLineThickness=function(){return this.m_lineThickness},G.prototype.SetAlpha=function(t){void 0===t&&(t=0),this.m_alpha=t},G.prototype.GetAlpha=function(){return this.m_alpha},G.prototype.SetFillAlpha=function(t){void 0===t&&(t=0),this.m_fillAlpha=t},G.prototype.GetFillAlpha=function(){return this.m_fillAlpha},G.prototype.SetXFormScale=function(t){void 0===t&&(t=0),this.m_xformScale=t},G.prototype.GetXFormScale=function(){return this.m_xformScale},G.prototype.DrawPolygon=function(t,e,n){if(e){var r=this.m_ctx,i=this.m_drawScale;r.beginPath(),r.strokeStyle=this._color(n.color,this.m_alpha),r.moveTo(t[0].x*i,t[0].y*i);for(var o=1;o=0&&n.splice(r,1)}}function f(t){var e={};try{e=JSON.parse(t)}catch(t){throw Object(o.j)(r.f,t.message)}var n=u(e);i.a.debug("[client dispatchEvent to js]",{type:n.type,detail:n.detail}),window.dispatchEvent(n)}function p(t,e,n){void 0===e&&(e={}),void 0===n&&(n="");var a=Object(s.getFeatureToken)();if(!a)throw Object(o.j)(r.d,"Invalid featureToken for client features");if(!window._liff||!window._liff.postMessage)throw Object(o.j)(r.f,"postMessage is not available from client");i.a.debug("[js postMessage to client]",t,n,e),window._liff.postMessage(t,a,n,JSON.stringify(e))}function _(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={once:!0}),Object(s.getFeatureToken)()?(n=Object(a.a)({callbackId:Object(o.v)(12),once:!0},n),new Promise((function(r,o){var s=function(e){if(e&&e.detail){var a=e.detail.callbackId===n.callbackId,u="string"!=typeof e.detail.callbackId;(a||u)&&(n.once&&d(t,s),i.a.debug("[callback detail]",e.detail),e.detail.error?o(e.detail.error):e.detail.data?r(e.detail.data):o(e.detail))}o()};l(t,s),p(t,e,n.callbackId)}))):Promise.reject(Object(o.j)(r.d,"Invalid featureToken for client features"))}},cDjl:function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else if(e.version){n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,n("5IsQ"))},cEa6:function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","/Users/viccg.lin/Documents/projects/2021-09-taiwanpay-bingo"]],"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/browserify-sign","/create-ecdh","/js-crypto-ec","/js-crypto-key-utils"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"/Users/viccg.lin/Documents/projects/2021-09-taiwanpay-bingo","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},cFST:function(t,e,n){"use strict";var r,i=e,o=n("tFbo"),s=n("aAq9"),a=n("fOyB").assert;function u(t){"short"===t.type?this.curve=new s.short(t):"edwards"===t.type?this.curve=new s.edwards(t):this.curve=new s.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var n=new u(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n("GYWQ")}catch(t){r=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},cLEX:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.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(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},cO3T:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"compute",{enumerable:!0,get:function(){return r.compute}}),e.default=void 0;var r=n("pkQU"),i={compute:r.compute};e.default=i},cON5:function(t,e,n){"use strict";var r=n("ovh1");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},cQcr:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwk=e.fromJwk=void 0;var i=r(n("+Gs+")),o=r(n("SDgz")),s=r(n("qykS")),a=r(n("omOp")),u=n("srdS"),c=s.default.Buffer;e.fromJwk=function(t,e){var n={algorithm:a.default.publicKeyAlgorithms.RSA.oid,parameters:c.from([5,0])},r=o.default.encoder.decodeBase64Url(t.n),s=r.length,d=s%128==0?s:s+(128-s%128),f=new i.default.bignum((0,u.appendLeadingZeros)(r,d)),p=new i.default.bignum(o.default.encoder.decodeBase64Url(t.e)),_={};return"public"===e?(_.subjectPublicKey={unused:0,data:h.encode({modulus:f,publicExponent:p},"der")},_.algorithm=n):"private"===e&&(_.version=0,_.privateKeyAlgorithm=n,_.privateKey=l.encode({version:0,modulus:f,publicExponent:p,privateExponent:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.d),d)),prime1:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.p),d)),prime2:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.q),d)),exponent1:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.dp),d)),exponent2:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.dq),d)),coefficient:new i.default.bignum((0,u.appendLeadingZeros)(o.default.encoder.decodeBase64Url(t.qi),d))},"der")),_};e.toJwk=function(t,e){if("public"===e){t.subjectPublicKey.data=h.decode(t.subjectPublicKey.data,"der");var n=t.subjectPublicKey.data.modulus,r=t.subjectPublicKey.data.publicExponent,i=n.byteLength(),s=i%128==0?i:i+(128-i%128);return n=new Uint8Array(n.toArray("be",s)),r=new Uint8Array(r.toArray("be",r.byteLength())),{kty:"RSA",n:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(n)),e:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(r))}}if("private"===e){t.privateKey=l.decode(t.privateKey,"der");var a={};a.modulus=t.privateKey.modulus;var c=a.modulus.byteLength(),d=c%128==0?c:c+(128-c%128);a.modulus=new Uint8Array(a.modulus.toArray("be",d)),a.publicExponent=new Uint8Array(t.privateKey.publicExponent.toArray("be",t.privateKey.publicExponent.byteLength())),a.privateExponent=new Uint8Array(t.privateKey.privateExponent.toArray("be",d));return["prime1","prime2","exponent1","exponent2","coefficient"].forEach((function(e){a[e]=new Uint8Array(t.privateKey[e].toArray("be",d>>1))})),{kty:"RSA",n:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.modulus)),e:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.publicExponent)),d:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.privateExponent)),p:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.prime1)),q:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.prime2)),dp:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.exponent1)),dq:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.exponent2)),qi:o.default.encoder.encodeBase64Url((0,u.pruneLeadingZeros)(a.coefficient))}}};var h=i.default.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())})),l=i.default.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int(),this.key("otherPrimeInfos").optional().use(d))})),d=i.default.define("OtherPrimeInfos",(function(){this.seqof(f)})),f=i.default.define("OtherPrimeInfo",(function(){this.seq().obj(this.key("prime").int(),this.key("exponent").int(),this.key("coefficient").int())}))},cXWM:function(t,e,n){"use strict";var r=n("wfEq"),i=n("zn3x"),o=n("ql4I"),s=n("pRMk").Buffer,a=n("nIf0"),u=n("Olfb"),c=n("thXI"),h=s.alloc(128);function l(t,e){o.call(this,"digest"),"string"==typeof e&&(e=s.from(e));var n="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>n)?e=("rmd160"===t?new u:c(t)).update(e).digest():e.length=0&&(s=e,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},u.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),u=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(s).sub(a),k2:u.add(c).neg()}},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(e&&!o||!e&&o)&&(r=r.redNeg()),this.point(t,r)},u.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(h,s.BasePoint),u.prototype.jpoint=function(t,e,n){return new h(this,t,e,n)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),a=r.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),h=c.redMul(a),l=r.redMul(c),d=u.redSqr().redIAdd(h).redISub(l).redISub(l),f=u.redMul(l.redISub(d)).redISub(o.redMul(h)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(d,f,p)},h.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),h=n.redMul(u),l=a.redSqr().redIAdd(c).redISub(h).redISub(h),d=a.redMul(h.redISub(l)).redISub(i.redMul(c)),f=this.z.redMul(s);return this.curve.jpoint(l,d,f)},h.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},h.prototype.inspect=function(){return this.isInfinity()?"":""},h.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},cq1r:function(t,e,n){"use strict";var r=n("wfEq"),i=n("ThzV"),o=n("pRMk").Buffer,s=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(t,e){return t<>>32-e}function c(t,e,n,r,i,o,s){return u(t+(e&n|~e&r)+i+o|0,s)+e|0}function h(t,e,n,r,i,o,s){return u(t+(e&r|n&~r)+i+o|0,s)+e|0}function l(t,e,n,r,i,o,s){return u(t+(e^n^r)+i+o|0,s)+e|0}function d(t,e,n,r,i,o,s){return u(t+(n^(e|~r))+i+o|0,s)+e|0}r(a,i),a.prototype._update=function(){for(var t=s,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,t[0],3614090360,7),o=c(o,n,r,i,t[1],3905402710,12),i=c(i,o,n,r,t[2],606105819,17),r=c(r,i,o,n,t[3],3250441966,22),n=c(n,r,i,o,t[4],4118548399,7),o=c(o,n,r,i,t[5],1200080426,12),i=c(i,o,n,r,t[6],2821735955,17),r=c(r,i,o,n,t[7],4249261313,22),n=c(n,r,i,o,t[8],1770035416,7),o=c(o,n,r,i,t[9],2336552879,12),i=c(i,o,n,r,t[10],4294925233,17),r=c(r,i,o,n,t[11],2304563134,22),n=c(n,r,i,o,t[12],1804603682,7),o=c(o,n,r,i,t[13],4254626195,12),i=c(i,o,n,r,t[14],2792965006,17),n=h(n,r=c(r,i,o,n,t[15],1236535329,22),i,o,t[1],4129170786,5),o=h(o,n,r,i,t[6],3225465664,9),i=h(i,o,n,r,t[11],643717713,14),r=h(r,i,o,n,t[0],3921069994,20),n=h(n,r,i,o,t[5],3593408605,5),o=h(o,n,r,i,t[10],38016083,9),i=h(i,o,n,r,t[15],3634488961,14),r=h(r,i,o,n,t[4],3889429448,20),n=h(n,r,i,o,t[9],568446438,5),o=h(o,n,r,i,t[14],3275163606,9),i=h(i,o,n,r,t[3],4107603335,14),r=h(r,i,o,n,t[8],1163531501,20),n=h(n,r,i,o,t[13],2850285829,5),o=h(o,n,r,i,t[2],4243563512,9),i=h(i,o,n,r,t[7],1735328473,14),n=l(n,r=h(r,i,o,n,t[12],2368359562,20),i,o,t[5],4294588738,4),o=l(o,n,r,i,t[8],2272392833,11),i=l(i,o,n,r,t[11],1839030562,16),r=l(r,i,o,n,t[14],4259657740,23),n=l(n,r,i,o,t[1],2763975236,4),o=l(o,n,r,i,t[4],1272893353,11),i=l(i,o,n,r,t[7],4139469664,16),r=l(r,i,o,n,t[10],3200236656,23),n=l(n,r,i,o,t[13],681279174,4),o=l(o,n,r,i,t[0],3936430074,11),i=l(i,o,n,r,t[3],3572445317,16),r=l(r,i,o,n,t[6],76029189,23),n=l(n,r,i,o,t[9],3654602809,4),o=l(o,n,r,i,t[12],3873151461,11),i=l(i,o,n,r,t[15],530742520,16),n=d(n,r=l(r,i,o,n,t[2],3299628645,23),i,o,t[0],4096336452,6),o=d(o,n,r,i,t[7],1126891415,10),i=d(i,o,n,r,t[14],2878612391,15),r=d(r,i,o,n,t[5],4237533241,21),n=d(n,r,i,o,t[12],1700485571,6),o=d(o,n,r,i,t[3],2399980690,10),i=d(i,o,n,r,t[10],4293915773,15),r=d(r,i,o,n,t[1],2240044497,21),n=d(n,r,i,o,t[8],1873313359,6),o=d(o,n,r,i,t[15],4264355552,10),i=d(i,o,n,r,t[6],2734768916,15),r=d(r,i,o,n,t[13],1309151649,21),n=d(n,r,i,o,t[4],4149444226,6),o=d(o,n,r,i,t[11],3174756917,10),i=d(i,o,n,r,t[2],718787259,15),r=d(r,i,o,n,t[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=a},ct8n:function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(t){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,n("pCvA"))},cyIN:function(t,e,n){var r=n("bPso");t.exports=v,v.simpleSieve=m,v.fermatTest=y;var i=n("8kJ5"),o=new i(24),s=new(n("y9a5")),a=new i(1),u=new i(2),c=new i(5),h=(new i(16),new i(8),new i(10)),l=new i(3),d=(new i(7),new i(11)),f=new i(4),p=(new i(12),null);function _(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;it;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(u),e.cmp(u)){if(!e.cmp(c))for(;n.mod(h).cmp(l);)n.iadd(f)}else for(;n.mod(o).cmp(d);)n.iadd(f);if(m(p=n.shrn(1))&&m(n)&&y(p)&&y(n)&&s.test(p)&&s.test(n))return n}}},czhI:function(t,e,n){t.exports=n("TDIH")},dH0k:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},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("TiKg"))},dIx8:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.Key=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=r(n("SDJZ")),a=r(n("NToG")),u=n("BO39"),c=n("k/4n"),h=r(n("hjl+")),l=r(n("SDgz")),d=n("srdS"),f=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,s.default)(this,t);var i=(0,h.default)(n),o=(0,h.default)(r);if(this._jwk={},this._der=null,this._oct={},this._current={jwk:!1,der:!1,oct:!1},"jwk"===e)this._setJwk(i);else if("der"===e||"pem"===e){if("der"===e&&!(i instanceof Uint8Array))throw new Error("DerKeyMustBeUint8Array");if("pem"===e&&"string"!=typeof i)throw new Error("PemKeyMustBeString");this._setAsn1(i,e)}else{if("oct"!==e)throw new Error("UnsupportedType");if("string"!=typeof o.namedCurve)throw new Error("namedCurveMustBeSpecified");if(!(i instanceof Uint8Array))throw new Error("OctetKeyMustBeUint8Array");this._setSec1(i,o.namedCurve)}}var e,n,r,f;return(0,a.default)(t,[{key:"_setJwk",value:function(t){this._type=(0,d.getJwkType)(t),this._jwk=t,this._isEncrypted&&(this._der=null),this._isEncrypted=!1,this._setCurrentStatus()}},{key:"_setAsn1",value:function(t,e){this._type=(0,d.isAsn1Public)(t,e)?"public":"private",this._isEncrypted=(0,d.isAsn1Encrypted)(t,e),this._der="pem"===e?l.default.formatter.pemToBin(t):t,this._isEncrypted&&(this._jwk={},this._oct={}),this._setCurrentStatus()}},{key:"_setSec1",value:function(t,e){this._type=(0,d.getSec1KeyType)(t,e),this._oct={namedCurve:e,key:t},this._isEncrypted&&(this._der=null),this._isEncrypted=!1,this._setCurrentStatus()}},{key:"_setCurrentStatus",value:function(){this._current.jwk="string"==typeof this._jwk.kty&&("RSA"===this._jwk.kty||"EC"===this._jwk.kty),this._current.der=void 0!==this._der&&this._der instanceof Uint8Array&&this._der.length>0,this._current.oct=void 0!==this._oct.key&&this._oct.key instanceof Uint8Array&&this._oct.key.length>0&&"string"==typeof this._oct.namedCurve}},{key:"export",value:(f=(0,o.default)(i.default.mark((function t(){var e,n,r,o=arguments;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=o.length>0&&void 0!==o[0]?o[0]:"jwk",n=o.length>1&&void 0!==o[1]?o[1]:{},!(["pem","der","jwk","oct"].indexOf(e)<0)){t.next=4;break}throw new Error("UnsupportedFormat");case 4:if(!this._isEncrypted||"private"!==this._type){t.next=10;break}if("der"!==e&&"pem"!==e||0!==Object.keys(n).length||!this._current.der){t.next=9;break}return t.abrupt("return","pem"===e?l.default.formatter.binToPem(this._der,"encryptedPrivate"):this._der);case 9:throw new Error("DecryptionRequired");case 10:if(!this._current.jwk){t.next=14;break}r=this._jwk,t.next=27;break;case 14:if(!this._current.oct){t.next=20;break}return t.next=17,(0,u.toJwkFrom)("oct",this._oct.key,{namedCurve:this._oct.namedCurve});case 17:r=t.sent,t.next=27;break;case 20:if(!this._current.der){t.next=26;break}return t.next=23,(0,u.toJwkFrom)("der",this._der);case 23:r=t.sent,t.next=27;break;case 26:throw new Error("InvalidStatus");case 27:if(this._setJwk(r),"der"!==e&&"pem"!==e){t.next=35;break}return void 0===n.encryptParams&&(n.encryptParams={}),t.next=32,(0,u.fromJwkTo)(e,r,{outputPublic:n.outputPublic,compact:n.compact,encryptParams:n.encryptParams});case 32:return t.abrupt("return",t.sent);case 35:if("oct"!==e){t.next=41;break}return t.next=38,(0,u.fromJwkTo)(e,r,{outputPublic:n.outputPublic,output:n.output,compact:n.compact});case 38:return t.abrupt("return",t.sent);case 41:return t.abrupt("return",r);case 42:case"end":return t.stop()}}),t,this)}))),function(){return f.apply(this,arguments)})},{key:"encrypt",value:(r=(0,o.default)(i.default.mark((function t(e){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._isEncrypted){t.next=2;break}throw new Error("AlreadyEncrypted");case 2:return n={encryptParams:{passphrase:e}},t.t0=this,t.next=6,this.export("der",n);case 6:return t.t1=t.sent,t.t0._setAsn1.call(t.t0,t.t1,"der"),t.abrupt("return",!0);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"decrypt",value:(n=(0,o.default)(i.default.mark((function t(e){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._isEncrypted){t.next=2;break}throw new Error("NotEncrypted");case 2:if(!this._current.der||"string"!=typeof e){t.next=8;break}return t.next=5,(0,u.toJwkFrom)("der",this._der,{passphrase:e});case 5:n=t.sent,t.next=9;break;case 8:throw new Error("FailedToDecrypt");case 9:return this._setJwk(n),t.abrupt("return",!0);case 11:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"getJwkThumbprint",value:(e=(0,o.default)(i.default.mark((function t(){var e,n,r=arguments;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.length>0&&void 0!==r[0]?r[0]:"SHA-256",n=r.length>1&&void 0!==r[1]?r[1]:"binary",!this._isEncrypted){t.next=4;break}throw new Error("DecryptionRequired");case 4:return t.t0=c.getJwkThumbprint,t.next=7,this.export("jwk");case 7:return t.t1=t.sent,t.t2=e,t.t3=n,t.next=12,(0,t.t0)(t.t1,t.t2,t.t3);case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"keyType",get:function(){var t=this;if(this._isEncrypted)throw new Error("DecryptionRequired");return new Promise(function(){var e=(0,o.default)(i.default.mark((function e(n,r){var o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.export("jwk").catch((function(t){r(t)}));case 2:o=e.sent,n(o.kty);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())}},{key:"jwkThumbprint",get:function(){return this.getJwkThumbprint()}},{key:"isEncrypted",get:function(){return this._isEncrypted}},{key:"isPrivate",get:function(){return"private"===this._type}},{key:"der",get:function(){return this.export("der")}},{key:"pem",get:function(){return this.export("pem")}},{key:"jwk",get:function(){return this.export("jwk")}},{key:"oct",get:function(){return this.export("oct",{output:"string"})}}]),t}();e.Key=f},dLON:function(t,e,n){"use strict";var r=n("tFbo"),i=n("cFST"),o=n("fOyB"),s=o.assert,a=o.parseBytes,u=n("7wEA"),c=n("FPgC");function h(t){if(s("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof h))return new h(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=r.sha512}t.exports=h,h.prototype.sign=function(t,e){t=a(t);var n=this.keyFromSecret(e),r=this.hashInt(n.messagePrefix(),t),i=this.g.mul(r),o=this.encodePoint(i),s=this.hashInt(o,n.pubBytes(),t).mul(n.priv()),u=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:o})},h.prototype.verify=function(t,e,n){t=a(t),e=this.makeSignature(e);var r=this.keyFromPublic(n),i=this.hashInt(e.Rencoded(),r.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(r.pub().mul(i)).eq(o)},h.prototype.hashInt=function(){for(var t=this.hash(),e=0;e=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n("TiKg"))},dSB2:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n("TiKg"))},dhqa:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.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(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<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("TiKg"))},"e+GP":function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},"e/5r":function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n("TiKg"))},e5jZ:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},eHpI:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n("TiKg"))},eIKn:function(t,e,n){var r=n("wfEq"),i=n("+Gs+"),o=i.base,s=i.bignum,a=i.constants.der;function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){o.Node.call(this,"der",t)}function h(t,e){var n=t.readUInt8(e);if(t.isError(n))return n;var r=a.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){var o=n;for(n=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function l(t,e,n){var r=t.readUInt8(n);if(t.isError(r))return r;if(!e&&128===r)return null;if(0==(128&r))return r;var i=127&r;if(i>4)return t.error("length octect is too long");r=0;for(var o=0;o0?1:-1}return 0}function c(t){var e=t.replace("#","").match(/.{2}/g)||[];if(4!==e.length)return r.a.warn("convertArgbToRgba: Received invalid ARGB color"),"";var n=function(t){var e=h(t);return Math.round(e/255*100)/100}(e[0]);return"rgba("+h(e[1])+", "+h(e[2])+", "+h(e[3])+", "+n+")"}function h(t){return parseInt(t,16)}function l(t){var e=t.replace("#","").match(/.{2}/g)||[];return 3!==e.length?(r.a.warn("convertArgbToRgba: Received invalid hex color"),""):h(e[0])+", "+h(e[1])+", "+h(e[2])}function d(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n),i=0;i0})).reduce((function(t,e){var n=Object(i.e)(e.split("=").map(decodeURIComponent),2),r=n[0],o=n[1],s=t[r];return Array.isArray(s)?s.push(o):Object.prototype.hasOwnProperty.call(t,r)?t[r]=[s,o]:t[r]=o,t}),{})},stringify:function(t){return Object.keys(t).map((function(e){var n=t[e],r=function(t){return void 0!==t?encodeURIComponent(e)+"="+encodeURIComponent(t):encodeURIComponent(e)};return Array.isArray(n)?n.map((function(t){return r(t)})).join("&"):r(n)})).join("&")}},w="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function x(t){for(var e="",n=0;n=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,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(t){if(t.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(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,w:"неделя",ww:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(n("TiKg"))},fFdx:function(t,e){function n(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var s=t.apply(e,r);function a(t){n(s,i,o,a,u,"next",t)}function u(t){n(s,i,o,a,u,"throw",t)}a(void 0)}))}}},fOyB:function(t,e,n){"use strict";var r=e,i=n("8kJ5"),o=n("siiD"),s=n("LRLT");r.assert=o,r.toArray=s.toArray,r.zero2=s.zero2,r.toHex=s.toHex,r.encode=s.encode,r.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(a)):a=0,r[s]=a,o.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var s,a,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),s=0==(1&u)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?u:-u,n[0].push(s),a=0==(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==u?c:-c,n[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},fnly:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},"fwl+":function(t,e,n){"use strict";var r=n("ovh1");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},fyYX:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(r,i,o,s){var a=e(r),u=n[t][e(r)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n("TiKg"))},"g+31":function(t,e,n){"use strict";(function(e,r,i){var o=n("upWy");function s(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=v;var a,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:o.nextTick;v.WritableState=y;var c=Object.create(n("nrnY"));c.inherits=n("wfEq");var h={deprecate:n("ct8n")},l=n("n428"),d=n("pRMk").Buffer,f=i.Uint8Array||function(){};var p,_=n("xTpk");function m(){}function y(t,e){a=a||n("A/eZ"),t=t||{};var r=e instanceof a;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,c=t.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(c||0===c)?c:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===t.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,i){--e.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(i(r),t._writableState.errorEmitted=!0,t.emit("error",r),S(t,e))}(t,n,r,e,i);else{var s=x(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),r?u(g,t,n,s,i):g(t,n,s,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function v(t){if(a=a||n("A/eZ"),!(p.call(v,this)||this instanceof a))return new v(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function b(t,e,n,r,i,o,s){e.writelen=r,e.writecb=s,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function g(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),S(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),o=e.corkedRequestsFree;o.entry=n;for(var a=0,u=!0;n;)i[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;i.allBuffers=u,b(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new s(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,h=n.encoding,l=n.callback;if(b(t,e,!1,e.objectMode?1:c.length,c,h,l),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function x(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function M(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var n=x(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(M,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}c.inherits(v,l),y.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(y.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===v&&(t&&t._writableState instanceof y)}})):p=function(t){return t instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,e,n){var r,i=this._writableState,s=!1,a=!i.objectMode&&(r=t,d.isBuffer(r)||r instanceof f);return a&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof n&&(n=m),i.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),o.nextTick(e,n)}(this,n):(a||function(t,e,n,r){var i=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(t.emit("error",s),o.nextTick(r,s),i=!1),i}(this,i,t,n))&&(i.pendingcb++,s=function(t,e,n,r,i,o){if(!n){var s=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,n));return e}(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,S(t,e),n&&(e.finished?o.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),v.prototype.destroy=_.destroy,v.prototype._undestroy=_.undestroy,v.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n("5IsQ"),n("oPUo").setImmediate,n("pCvA"))},gLHG:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},gSrR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pbkdf2",{enumerable:!0,get:function(){return r.pbkdf2}}),Object.defineProperty(e,"pbkdf1",{enumerable:!0,get:function(){return r.pbkdf1}}),e.default=void 0;var r=n("MWI9"),i={pbkdf2:r.pbkdf2,pbkdf1:r.pbkdf1};e.default=i},ggbP:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},guUT:function(t,e,n){"use strict";var r=n("ovh1"),i=n("4OlW"),o=n("e5jZ"),s=n("bRtl");function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return a(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return a(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(a(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},h07j:function(t,e,n){var r=n("pRMk").Buffer;t.exports=function(t,e,n){if(r.isBuffer(t))return t;if("string"==typeof t)return r.from(t,e);if(ArrayBuffer.isView(t))return r.from(t.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}},h1Um:function(t,e,n){"use strict";var r=n("Rzld"),i=n("hUM7");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},h1m7:function(t,e,n){"use strict";n.r(e),n.d(e,"PermanentLink",(function(){return s})),n.d(e,"module",(function(){return a}));var r=n("kp3F"),i=n("eJvy"),o=n("JpNb"),s=function(){function t(){var t=this;this.extraParams="",this.getAndValidateContext=function(){var t=Object(o.getContext)();if(!t)throw Object(i.j)(r.e,"Could not get Context from server.");if(!t.endpointUrl)throw Object(i.j)(r.e,"Could not get endpointUrl from server.");if(!t.permanentLinkPattern)throw Object(i.j)(r.e,"Could not get permanentLinkPattern from server.");return t},this.createUrl=function(){var e=t.getAndValidateContext(),n=window.location,s=n.pathname,a=n.search,u=n.hash,c=n.origin,h=new URL(e.endpointUrl);if(h.origin!==c||!t.isAncestor(h.pathname,s))throw Object(i.j)(r.g,"Current page is not under entrypoint.");var l=s.substring(h.pathname.length);l.length>0&&"/"!==l[0]&&(l="/"+l);var d=new RegExp("^"+r.b.join("|")),f=u.substring(1).split("&").filter((function(t){return!d.test(t)&&Boolean(t)})).join("&"),p=f===h.hash.substring(1)?"":f,_=function(t){return t.substring(1).split("&").filter((function(t){return!/liff\.state/.test(t)&&Boolean(t)}))},m=_(a),y=_(h.search);t.extraParams&&m.push(t.extraParams);for(var v=0;v-1&&m.splice(g,1)}var w=m.join("&"),x=l+(""!==w?"?"+w:"")+(p?"#"+p:"");return""+r.k+Object(o.getConfig)().liffId+x},this.setExtraQueryParam=function(e){t.extraParams=e},this.isAncestor=function(t,e){return 0===e.indexOf(t)&&(t.endsWith("/")&&(t=t.substring(0,t.length-1)),void 0===e[t.length]||"/"===e[t.length])},this.install=function(){return{createUrl:t.createUrl,setExtraQueryParam:t.setExtraQueryParam}}}return Object.defineProperty(t.prototype,"name",{get:function(){return"permanentLink"},enumerable:!1,configurable:!0}),t}(),a=new s},hBZP:function(t,e,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var s=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function l(t,e,n,r){var i,o,s,a;if(c(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]),void 0===s)s=o[e]=n,++t._eventsCount;else if("function"==typeof s?s=o[e]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=h(t))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(s=e[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)o(u,this,e);else{var c=u.length,h=m(u,c);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},a.prototype.listeners=function(t){return p(this,t,!0)},a.prototype.rawListeners=function(t){return p(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):_.call(t,e)},a.prototype.listenerCount=_,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},hGkD:function(t,e,n){"use strict";n.r(e),n.d(e,"isLoggedIn",(function(){return i}));var r=n("JpNb");function i(){return!!Object(r.getAccessToken)()}},hUM7:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},hVbd:function(t,e,n){(function(e,r){var i,o=n("pRMk").Buffer,s=n("PunD"),a=n("cDjl"),u=n("SUNt"),c=n("h07j"),h=e.crypto&&e.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function f(t,e,n,r,i){return h.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return h.deriveBits({name:"PBKDF2",salt:e,iterations:n,hash:{name:i}},t,r<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,n,p,_,m,y){"function"==typeof m&&(y=m,m=void 0);var v=l[(m=m||"sha1").toLowerCase()];if(!v||"function"!=typeof e.Promise)return r.nextTick((function(){var e;try{e=u(t,n,p,_,m)}catch(t){return y(t)}y(null,e)}));if(s(p,_),t=c(t,a,"Password"),n=c(n,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){r.nextTick((function(){e(null,t)}))}),(function(t){r.nextTick((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!h||!h.importKey||!h.deriveBits)return Promise.resolve(!1);if(void 0!==d[t])return d[t];var n=f(i=i||o.alloc(8),i,10,128,t).then((function(){return!0})).catch((function(){return!1}));return d[t]=n,n}(v).then((function(e){return e?f(t,n,p,_,v):u(t,n,p,_,m)})),y)}}).call(this,n("pCvA"),n("5IsQ"))},heVN:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i,o,s,a,u=1,c={},h=!1,l=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){p(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},r=function(t){o.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,r=function(t){var e=l.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):r=function(t){setTimeout(p,0,t)}:(s="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&p(+e.data.slice(s.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),r=function(e){t.postMessage(s+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n-1},ot.prototype.set=function(t,e){var n=this.__data__,r=ht(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},st.prototype.clear=function(){this.__data__={hash:new it,map:new(W||ot),string:new it}},st.prototype.delete=function(t){return _t(this,t).delete(t)},st.prototype.get=function(t){return _t(this,t).get(t)},st.prototype.has=function(t){return _t(this,t).has(t)},st.prototype.set=function(t,e){return _t(this,t).set(t,e),this},at.prototype.clear=function(){this.__data__=new ot},at.prototype.delete=function(t){return this.__data__.delete(t)},at.prototype.get=function(t){return this.__data__.get(t)},at.prototype.has=function(t){return this.__data__.has(t)},at.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ot){var r=n.__data__;if(!W||r.length<199)return r.push([t,e]),this;n=this.__data__=new st(r)}return n.set(t,e),this};var yt=G?M(G,Object):function(){return[]},vt=function(t){return I.call(t)};function bt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||h.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}(t.length)&&!At(t)}var Tt=H||function(){return!1};function At(t){var e=Et(t)?I.call(t):"";return e==i||e==o}function Et(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Lt(t){return St(t)?ut(t):function(t){if(!gt(t))return V(t);var e=[];for(var n in Object(t))O.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}n.exports=function(t){return lt(t,!0,!0)}}).call(this,n("pCvA"),n("RoC8")(t))},hmUS:function(t,e,n){t.exports=n("g+31")},"hnK/":function(t,e,n){e.pbkdf2=n("hVbd"),e.pbkdf2Sync=n("SUNt")},hwY2:function(t,e,n){"use strict";var r=n("HpGB"),i=n("DDMh"),o=n("Eg+Y"),s=r.rotl32,a=r.sum32,u=r.sum32_5,c=o.ft_1,h=i.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,h),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r=10?t:t+12},week:{dow:0,doy:6}})}(n("TiKg"))},i0F7:function(t,e,n){"use strict";var r=n("ovh1");function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},iinS:function(t,e,n){"use strict";var r=n("siiD"),i=n("wfEq"),o=n("ta2Q"),s=n("Ltnq");function a(t,e){r.equal(e.length,24,"Invalid key length");var n=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:o})]:[s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function u(t){o.call(this,t);var e=new a(this.type,this.options.key);this._edeState=e}i(u,o),t.exports=u,u.create=function(t){return new u(t)},u.prototype._update=function(t,e,n,r){var i=this._edeState;i.ciphers[0]._update(t,e,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},u.prototype._pad=s.prototype._pad,u.prototype._unpad=s.prototype._unpad},jAw7:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n){var r,i;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(r=+t,i={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},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:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(n("TiKg"))},jDN0:function(t,e,n){var r=n("wfEq"),i=n("KSsY"),o=n("pRMk").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,l=0;l<16;++l)n[l]=t.readInt32BE(4*l);for(;l<80;++l)n[l]=n[l-3]^n[l-8]^n[l-14]^n[l-16];for(var d=0;d<80;++d){var f=~~(d/20),p=0|((e=r)<<5|e>>>27)+h(f,i,o,a)+u+n[d]+s[f];u=a,a=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},jGT8:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.deriveSecret=e.verify=e.sign=e.generateKey=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=i(n("EO1s")),u=r(n("B3sb")),c=n("Rvex"),h=i(n("SDgz")),l=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,u,h,l,d;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=n.ECDH(a.default.namedCurves[e].nodeName)).generateKeys(),i=new Uint8Array(r.getPublicKey()),s=new Uint8Array(r.getPrivateKey()),!(u=new c.Key("oct",i,{namedCurve:e})).isPrivate){t.next=7;break}throw new Error("NotPublicKeyForECCKeyGenNode");case 7:return t.next=9,u.export("jwk",{outputPublic:!0});case 9:if(h=t.sent,(l=new c.Key("oct",s,{namedCurve:e})).isPrivate){t.next=13;break}throw new Error("NotPrivateKeyForECCKeyGenNode");case 13:return t.next=15,l.export("jwk");case 15:return d=t.sent,t.abrupt("return",{publicKey:h,privateKey:d});case 17:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.generateKey=l;var d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s){var h,l,d,f;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((h=new c.Key("jwk",n)).isPrivate){t.next=3;break}throw new Error("NotPrivateKeyForECCSignNode");case 3:return t.next=5,h.export("pem");case 5:return l=t.sent,(d=s.createSign(a.default.hashes[r].nodeName)).update(e),f=d.sign(l),t.abrupt("return","raw"===i?u.decodeAsn1Signature(f,n.crv):f);case 10:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o){return t.apply(this,arguments)}}();e.sign=d;var f=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s,h){var l,d,f,p;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((l=new c.Key("jwk",r)).isPrivate){t.next=3;break}throw new Error("NotPrivateKeyForECCVerifyNode");case 3:return t.next=5,l.export("pem",{outputPublic:!0,compact:!1});case 5:return d=t.sent,(f=h.createVerify(a.default.hashes[i].nodeName)).update(e),p="raw"===s?u.encodeAsn1Signature(n,r.crv):n,t.abrupt("return",f.verify(d,p));case 10:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o,s){return t.apply(this,arguments)}}();e.verify=f;e.deriveSecret=function(t,e,n){var r=a.default.namedCurves[e.crv].nodeName,i=a.default.namedCurves[e.crv].payloadSize,o=n.createECDH(r),s=h.default.encoder.decodeBase64Url(e.d),u=new Uint8Array(2*i+1);return u[0]=4,u.set(h.default.encoder.decodeBase64Url(t.x),1),u.set(h.default.encoder.decodeBase64Url(t.y),i+1),o.setPrivateKey(s),new Uint8Array(o.computeSecret(u))}},jSwB:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("TiKg"))},jixF:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return r?i[n][0]:i[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("TiKg"))},jnim:function(t,e,n){"use strict";var r=n("+Gs+");e.certificate=n("SPmb");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));e.PublicKey=s;var a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=u;var c=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var h=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=h,e.DSAparam=r.define("DSAparam",(function(){this.int()}));var l=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=l;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},jogf:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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("TiKg"))},"k/4n":function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.getJwkThumbprint=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=r(n("SDgz")),a=r(n("cO3T")),u=r(n("qykS")).default.Buffer,c=function(){var t=(0,o.default)(i.default.mark((function t(e){var n,r,o,c,h,l=arguments;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=l.length>1&&void 0!==l[1]?l[1]:"SHA-256",r=l.length>2&&void 0!==l[2]?l[2]:"binary",!(["hex","binary"].indexOf(r)<0)){t.next=4;break}throw new Error("UnsupportedOutputFormat");case 4:if("EC"!==e.kty){t.next=8;break}o=JSON.stringify({crv:e.crv,kty:e.kty,x:e.x,y:e.y}),t.next=13;break;case 8:if("RSA"!==e.kty){t.next=12;break}o=JSON.stringify({e:e.e,kty:e.kty,n:e.n}),t.next=13;break;case 12:throw new Error("UnsupportedKeyType");case 13:return c=new Uint8Array(u.from(o,"utf8")),t.next=16,a.default.compute(c,n);case 16:if(h=t.sent,"hex"!==r){t.next=21;break}return t.abrupt("return",s.default.encoder.arrayBufferToHexString(h));case 21:if("base64"!==r){t.next=25;break}return t.abrupt("return",s.default.encoder.encodeBase64(h));case 25:if("binary"!==r){t.next=27;break}return t.abrupt("return",h);case 27:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.getJwkThumbprint=c},kAr8:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.toJwk=e.fromJwk=void 0;var i=r(n("omOp")),o=r(n("SDgz")),s=r(n("6MVH")),a=n("srdS"),u=s.default.ec;e.fromJwk=function(t,e){var n=e.outputPublic,r=e.outputFormat,i=void 0===r?"binary":r,s=e.compact,u=void 0!==s&&s,c=(0,a.getJwkType)(t),h="boolean"==typeof n&&n?"public":c;if("public"===h){var l,d=o.default.encoder.decodeBase64Url(t.x),f=o.default.encoder.decodeBase64Url(t.y);return u?((l=new Uint8Array(d.length+1))[0]=255&2+(1&f.slice(-1)[0]),l.set(d,1)):((l=new Uint8Array(d.length+f.length+1))[0]=4,l.set(d,1),l.set(f,d.length+1)),"string"===i?o.default.encoder.arrayBufferToHexString(l):l}if("private"===h){if(!t.d)throw new Error("InvalidKey");var p=o.default.encoder.decodeBase64Url(t.d);return"string"===i?o.default.encoder.arrayBufferToHexString(p):p}};e.toJwk=function(t,e,n){var r=n.outputPublic;if(Object.keys(i.default.namedCurves).indexOf(e)<0)throw new Error("UnsupportedCurve");var s=(0,a.getSec1KeyType)(t,e),c="boolean"==typeof r&&r?"public":s,h="string"==typeof t?o.default.encoder.hexStringToArrayBuffer(t):t,l=i.default.namedCurves[e].indutnyName,d=new u(l),f="public"===s?d.keyFromPublic(h):d.keyFromPrivate(h),p=new Uint8Array(f.getPublic("array")),_=i.default.namedCurves[e].payloadSize,m=p.slice(1,_+1),y=p.slice(_+1,2*_+1),v={kty:"EC",crv:e,x:o.default.encoder.encodeBase64Url(m),y:o.default.encoder.encodeBase64Url(y)};return"private"===c&&(v.d=o.default.encoder.encodeBase64Url(h)),v}},kah5:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},keIi:function(t,e,n){"use strict";var r=n("B/8w"),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},s=r.version.split(".");function a(t,e){for(var n=e?e.split("."):s,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0;){var o=r[i],s=e[o];if(s){var a=t[o],u=void 0===a||s(a,o,t);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},km6H:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,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(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},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("TiKg"))},kmpK:function(t,e,n){e.publicEncrypt=n("3MSx"),e.privateDecrypt=n("B5O8"),e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}},kp3F:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return o})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return c})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return v})),n.d(e,"k",(function(){return p})),n.d(e,"l",(function(){return D})),n.d(e,"m",(function(){return f})),n.d(e,"n",(function(){return _})),n.d(e,"o",(function(){return m})),n.d(e,"p",(function(){return w})),n.d(e,"q",(function(){return M})),n.d(e,"r",(function(){return S})),n.d(e,"s",(function(){return A})),n.d(e,"t",(function(){return L})),n.d(e,"u",(function(){return E})),n.d(e,"v",(function(){return g})),n.d(e,"w",(function(){return T})),n.d(e,"x",(function(){return x})),n.d(e,"y",(function(){return i})),n.d(e,"z",(function(){return r})),n.d(e,"A",(function(){return b}));var r="UNKNOWN",i="UNAUTHORIZED",o="INVALID_ARGUMENT",s="INIT_FAILED",a="FORBIDDEN",u="INVALID_CONFIG",c="INVALID_ID_TOKEN",h="CREATE_SUBWINDOW_FAILED",l="EXCEPTION_IN_SUBWINDOW",d="liffEvent",f="LIFF_STORE",p="https://liff.line.me/",_={ACCESS_TOKEN:"accessToken",ID_TOKEN:"IDToken",DECODED_ID_TOKEN:"decodedIDToken",FEATURE_TOKEN:"featureToken",LOGIN_TMP:"loginTmp",CONFIG:"config",CONTEXT:"context",EXPIRES:"expires",RAW_CONTEXT:"rawContext",CLIENT_ID:"clientId",IS_SUBSEQUENT_LIFF_APP:"isSubsequentLiffApp",MST_CHALLENGE:"mstChallenge",MSIT:"msit",MST:"mst",MST_VERIFIER:"mstVerifier",APP_DATA:"appData"},m="isInClient",y=["context_token","feature_token","access_token","id_token","client_id","mst_verifier","mst_challenge","msit"],v=5,b=["liff.ref.source","liff.ref.medium","liff.ref.campaign","liff.ref.term","liff.ref.content"],g="liff://subwindow",w="cancel",x="submit",M="close",S="error",T=100,A=100,E="liff.subwindow",L="healthCheck",D=["profile","chat_message.write","openid","email"]},lOrp:function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function i(t){return null!==t&&"object"==typeof t}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.hasChild=function(t){return t in this._children},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){r(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,s);var a=function(t){this.register([],t,!1)};a.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},a.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},a.prototype.update=function(t){!function t(e,n,r){0;if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},a.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var s=new o(e,n);0===t.length?this.root=s:this.get(t.slice(0,-1)).addChild(t[t.length-1],s);e.modules&&r(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},a.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)},a.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return e.hasChild(n)};var u;var c=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var r=t.plugins;void 0===r&&(r=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new a(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var o=this,s=this.dispatch,c=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=i;var h=this._modules.root.state;p(this,h,[],this._modules.root),f(this,h),r.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},h={state:{configurable:!0}};function l(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function d(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;p(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={};r(o,(function(e,n){s[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:s}),u.config.silent=a,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function p(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!o&&!i){var a=_(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){u.set(a,c,r.state)}))}var h=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=m(n,r,i),s=o.payload,a=o.options,u=o.type;return a&&a.root||(u=e+u),t.dispatch(u,s)},commit:r?t.commit:function(n,r,i){var o=m(n,r,i),s=o.payload,a=o.options,u=o.type;a&&a.root||(u=e+u),t.commit(u,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return _(t.state,n)}}}),i}(t,s,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,s+n,e,h)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,h)})),r.forEachGetter((function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,s+n,e,h)})),r.forEachChild((function(r,o){p(t,e,n.concat(o),r,i)}))}function _(t,e){return e.reduce((function(t,e){return t[e]}),t)}function m(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){u&&t===u|| /*! * vuex v3.4.0 * (c) 2020 Evan You * @license MIT */ function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(u=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},c.prototype.commit=function(t,e,n){var r=this,i=m(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},c.prototype.dispatch=function(t,e){var n=this,r=m(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){0}var u=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){u.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){0}e(t)}))}))}},c.prototype.subscribe=function(t,e){return l(t,this._subscribers,e)},c.prototype.subscribeAction=function(t,e){return l("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},c.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},c.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},c.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),p(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},c.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=_(e.state,t.slice(0,-1));u.delete(n,t[t.length-1])})),d(this)},c.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},c.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},c.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(c.prototype,h);var v=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=S(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),b=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=S(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),g=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),w=M((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=S(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function x(t){return function(t){return Array.isArray(t)||i(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function M(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function S(t,e,n){return t._modulesNamespaceMap[n]}var T={Store:c,install:y,version:"3.4.0",mapState:v,mapMutations:b,mapGetters:g,mapActions:w,createNamespacedHelpers:function(t){return{mapState:v.bind(null,t),mapGetters:g.bind(null,t),mapMutations:b.bind(null,t),mapActions:w.bind(null,t)}}};e.a=T}).call(this,n("pCvA"))},ldBe:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},lphy:function(t,e,n){(function(t,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){e&&e.nodeType,t&&t.nodeType;var s="object"==typeof r&&r;s.global!==s&&s.window!==s&&s.self;var a,u=2147483647,c=/^xn--/,h=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,p=String.fromCharCode;function _(t){throw new RangeError(d[t])}function m(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function y(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+m((t=t.replace(l,".")).split("."),e).join(".")}function v(t){for(var e,n,r=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(e+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=p(t)})).join("")}function g(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function w(t,e,n){var r=0;for(t=n?f(t/700):t>>1,t+=f(t/e);t>455;r+=36)t=f(t/35);return f(r+36*t/(t+38))}function x(t){var e,n,r,i,o,s,a,c,h,l,d,p=[],m=t.length,y=0,v=128,g=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r=128&&_("not-basic"),p.push(t.charCodeAt(r));for(i=n>0?n+1:0;i=m&&_("invalid-input"),((c=(d=t.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||c>f((u-y)/s))&&_("overflow"),y+=c*s,!(c<(h=a<=g?1:a>=g+26?26:a-g));a+=36)s>f(u/(l=36-h))&&_("overflow"),s*=l;g=w(y-o,e=p.length+1,0==o),f(y/e)>u-v&&_("overflow"),v+=f(y/e),y%=e,p.splice(y++,0,v)}return b(p)}function M(t){var e,n,r,i,o,s,a,c,h,l,d,m,y,b,x,M=[];for(m=(t=v(t)).length,e=128,n=0,o=72,s=0;s=e&&df((u-n)/(y=r+1))&&_("overflow"),n+=(a-e)*y,e=a,s=0;su&&_("overflow"),d==e){for(c=n,h=36;!(c<(l=h<=o?1:h>=o+26?26:h-o));h+=36)x=c-l,b=36-l,M.push(p(g(l+x%b,0))),c=f(x/b);M.push(p(g(c,0))),o=w(n,y,r==i),n=0,++r}++n,++e}return M.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:b},decode:x,encode:M,toASCII:function(t){return y(t,(function(t){return h.test(t)?"xn--"+M(t):t}))},toUnicode:function(t){return y(t,(function(t){return c.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(i=function(){return a}.call(e,n,e,t))||(t.exports=i)}()}).call(this,n("RoC8")(t),n("pCvA"))},m036:function(t,e,n){(function(t){var r=n("smmp");function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,n){for(;e._cache.length=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n("TiKg"))},mq6o:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[n][0]:i[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},n428:function(t,e,n){t.exports=n("hBZP").EventEmitter},nGod:function(t,e,n){"use strict";n.d(e,"a",(function(){return $r})),n.d(e,"c",(function(){return mi})),n.d(e,"b",(function(){return ve})),n.d(e,"d",(function(){return $o}));var r=n("5+HP"),i=n("IL7q"),o=n.n(i); /*! * @pixi/polyfill - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/polyfill is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ self.Promise||(self.Promise=r.a),Object.assign||(Object.assign=o.a);if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!self.performance||!self.performance.now){var s=Date.now();self.performance||(self.performance={}),self.performance.now=function(){return Date.now()-s}}for(var a=Date.now(),u=["ms","moz","webkit","o"],c=0;c0?1:-1}),Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),self.ArrayBuffer||(self.ArrayBuffer=Array),self.Float32Array||(self.Float32Array=Array),self.Uint32Array||(self.Uint32Array=Array),self.Uint16Array||(self.Uint16Array=Array),self.Uint8Array||(self.Uint8Array=Array),self.Int32Array||(self.Int32Array=Array);var l=/iPhone/i,d=/iPod/i,f=/iPad/i,p=/\biOS-universal(?:.+)Mac\b/i,_=/\bAndroid(?:.+)Mobile\b/i,m=/Android/i,y=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,v=/Silk/i,b=/Windows Phone/i,g=/\bWindows(?:.+)ARM\b/i,w=/BlackBerry/i,x=/BB10/i,M=/Opera Mini/i,S=/\b(CriOS|Chrome)(?:.+)Mobile/i,T=/Mobile(?:.+)Firefox\b/i,A=function(t){return void 0!==t&&"MacIntel"===t.platform&&"number"==typeof t.maxTouchPoints&&t.maxTouchPoints>1&&"undefined"==typeof MSStream}; /*! * @pixi/settings - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/settings is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ var E,L,D,C,k,O,I,P,R,Y,B,N,j,F,U,G,H,V,z,W=function(t){var e={userAgent:"",platform:"",maxTouchPoints:0};t||"undefined"==typeof navigator?"string"==typeof t?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0}):e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var n=e.userAgent,r=n.split("[FBAN");void 0!==r[1]&&(n=r[0]),void 0!==(r=n.split("Twitter"))[1]&&(n=r[0]);var i=function(t){return function(e){return e.test(t)}}(n),o={apple:{phone:i(l)&&!i(b),ipod:i(d),tablet:!i(l)&&(i(f)||A(e))&&!i(b),universal:i(p),device:(i(l)||i(d)||i(f)||i(p)||A(e))&&!i(b)},amazon:{phone:i(y),tablet:!i(y)&&i(v),device:i(y)||i(v)},android:{phone:!i(b)&&i(y)||!i(b)&&i(_),tablet:!i(b)&&!i(y)&&!i(_)&&(i(v)||i(m)),device:!i(b)&&(i(y)||i(v)||i(_)||i(m))||i(/\bokhttp\b/i)},windows:{phone:i(b),tablet:i(g),device:i(b)||i(g)},other:{blackberry:i(w),blackberry10:i(x),opera:i(M),firefox:i(T),chrome:i(S),device:i(w)||i(x)||i(M)||i(T)||i(S)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}(self.navigator);!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(E||(E={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(L||(L={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(D||(D={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(C||(C={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(k||(k={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(O||(O={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(I||(I={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(P||(P={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(R||(R={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(Y||(Y={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(B||(B={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(N||(N={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(j||(j={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(F||(F={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(U||(U={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(G||(G={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(H||(H={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(V||(V={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(z||(z={}));var X,J,K,q,$,Z,Q,tt,et,nt,rt,it,ot,st,at,ut,ct,ht,lt,dt={MIPMAP_TEXTURES:N.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:V.NONE,SPRITE_MAX_TEXTURES:function(t){var e=!0;if(W.tablet||W.phone){var n;if(W.apple.device)if(n=navigator.userAgent.match(/OS (\d+)_(\d+)?/))parseInt(n[1],10)<11&&(e=!1);if(W.android.device)if(n=navigator.userAgent.match(/Android\s([0-9.]*)/))parseInt(n[1],10)<7&&(e=!1)}return e?t:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,useContextAlpha:!0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:U.AUTO,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:B.CLAMP,SCALE_MODE:Y.LINEAR,PRECISION_VERTEX:G.HIGH,PRECISION_FRAGMENT:W.apple.device?G.HIGH:G.MEDIUM,CAN_UPLOAD_SAME_BUFFER:!W.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1},ft=n("/ieh"),pt=n.n(ft),_t=n("6aAO"),mt=n.n(_t),yt=n("3lCv");!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(X||(X={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(J||(J={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(K||(K={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(q||(q={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}($||($={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(Z||(Z={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(Q||(Q={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(tt||(tt={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(et||(et={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(nt||(nt={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(rt||(rt={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(it||(it={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(ot||(ot={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(st||(st={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(at||(at={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(ut||(ut={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(ct||(ct={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(ht||(ht={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(lt||(lt={})); /*! * @pixi/utils - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/utils is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ var vt={parse:yt.parse,format:yt.format,resolve:yt.resolve};dt.RETINA_PREFIX=/@([0-9\.]+)x/,dt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var bt,gt=!1;var wt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function xt(t,e){return void 0===e&&(e=[]),e[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e}function Mt(t){var e=t.toString(16);return"#"+(e="000000".substr(0,6-e.length)+e)}function St(t){return"string"==typeof t&&"#"===(t=wt[t.toLowerCase()]||t)[0]&&(t=t.substr(1)),parseInt(t,16)}var Tt=function(){for(var t=[],e=[],n=0;n<32;n++)t[n]=n,e[n]=n;t[q.NORMAL_NPM]=q.NORMAL,t[q.ADD_NPM]=q.ADD,t[q.SCREEN_NPM]=q.SCREEN,e[q.NORMAL]=q.NORMAL_NPM,e[q.ADD]=q.ADD_NPM,e[q.SCREEN]=q.SCREEN_NPM;var r=[];return r.push(e),r.push(t),r}();function At(t,e){return Tt[e?1:0][t]}function Et(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var n=t>>16&255,r=t>>8&255,i=255&t;return(255*e<<24)+((n=n*e+.5|0)<<16)+((r=r*e+.5|0)<<8)+(i=i*e+.5|0)}function Lt(t,e,n,r){return(n=n||new Float32Array(4))[0]=(t>>16&255)/255,n[1]=(t>>8&255)/255,n[2]=(255&t)/255,(r||void 0===r)&&(n[0]*=e,n[1]*=e,n[2]*=e),n[3]=e,n}function Dt(t){if(4===t.BYTES_PER_ELEMENT)return t instanceof Float32Array?"Float32Array":t instanceof Uint32Array?"Uint32Array":"Int32Array";if(2===t.BYTES_PER_ELEMENT){if(t instanceof Uint16Array)return"Uint16Array"}else if(1===t.BYTES_PER_ELEMENT&&t instanceof Uint8Array)return"Uint8Array";return null}Float32Array,Uint32Array,Int32Array,Uint8Array;function Ct(t){return t+=0===t?1:0,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1}function kt(t){return!(t&t-1||!t)}function Ot(t){var e=(t>65535?1:0)<<4,n=((t>>>=e)>255?1:0)<<3;return e|=n,e|=n=((t>>>=n)>15?1:0)<<2,(e|=n=((t>>>=n)>3?1:0)<<1)|(t>>>=n)>>1}function It(t,e,n){var r,i=t.length;if(!(e>=i||0===n)){var o=i-(n=e+n>i?i-e:n);for(r=e;r=this.x&&t=this.y&&ee!=c>e&&t<(e-a)/(c-a)*(u-s)+s&&(n=!n)}return n},t.prototype.toString=function(){return"[@pixi/math:PolygoncloseStroke="+this.closeStroke+"points="+this.points.reduce((function(t,e){return t+", "+e}),"")+"]"},t}(),Qt=function(){function t(t,e,n,r,i){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=0),void 0===i&&(i=20),this.x=t,this.y=e,this.width=n,this.height=r,this.radius=i,this.type=zt.RREC}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height,this.radius)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height){if(e>=this.y+this.radius&&e<=this.y+this.height-this.radius||t>=this.x+this.radius&&t<=this.x+this.width-this.radius)return!0;var n=t-(this.x+this.radius),r=e-(this.y+this.radius),i=this.radius*this.radius;if(n*n+r*r<=i)return!0;if((n=t-(this.x+this.width-this.radius))*n+r*r<=i)return!0;if(n*n+(r=e-(this.y+this.height-this.radius))*r<=i)return!0;if((n=t-(this.x+this.radius))*n+r*r<=i)return!0}return!1},t.prototype.toString=function(){return"[@pixi/math:RoundedRectangle x="+this.x+" y="+this.y+"width="+this.width+" height="+this.height+" radius="+this.radius+"]"},t}(),te=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.x=0,this.y=0,this.x=t,this.y=e}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copyFrom=function(t){return this.set(t.x,t.y),this},t.prototype.copyTo=function(t){return t.set(this.x,this.y),t},t.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},t.prototype.set=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.x=t,this.y=e,this},t.prototype.toString=function(){return"[@pixi/math:Point x="+this.x+" y="+this.y+"]"},t}(),ee=function(){function t(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0),this._x=n,this._y=r,this.cb=t,this.scope=e}return t.prototype.clone=function(e,n){return void 0===e&&(e=this.cb),void 0===n&&(n=this.scope),new t(e,n,this._x,this._y)},t.prototype.set=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this._x===t&&this._y===e||(this._x=t,this._y=e,this.cb.call(this.scope)),this},t.prototype.copyFrom=function(t){return this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope)),this},t.prototype.copyTo=function(t){return t.set(this._x,this._y),t},t.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},t.prototype.toString=function(){return"[@pixi/math:ObservablePoint x=0 y=0 scope="+this.scope+"]"},Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))},enumerable:!1,configurable:!0}),t}(),ne=function(){function t(t,e,n,r,i,o){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),this.array=null,this.a=t,this.b=e,this.c=n,this.d=r,this.tx=i,this.ty=o}return t.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},t.prototype.set=function(t,e,n,r,i,o){return this.a=t,this.b=e,this.c=n,this.d=r,this.tx=i,this.ty=o,this},t.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var n=e||this.array;return t?(n[0]=this.a,n[1]=this.b,n[2]=0,n[3]=this.c,n[4]=this.d,n[5]=0,n[6]=this.tx,n[7]=this.ty,n[8]=1):(n[0]=this.a,n[1]=this.c,n[2]=this.tx,n[3]=this.b,n[4]=this.d,n[5]=this.ty,n[6]=0,n[7]=0,n[8]=1),n},t.prototype.apply=function(t,e){e=e||new te;var n=t.x,r=t.y;return e.x=this.a*n+this.c*r+this.tx,e.y=this.b*n+this.d*r+this.ty,e},t.prototype.applyInverse=function(t,e){e=e||new te;var n=1/(this.a*this.d+this.c*-this.b),r=t.x,i=t.y;return e.x=this.d*n*r+-this.c*n*i+(this.ty*this.c-this.tx*this.d)*n,e.y=this.a*n*i+-this.b*n*r+(-this.ty*this.a+this.tx*this.b)*n,e},t.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},t.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},t.prototype.rotate=function(t){var e=Math.cos(t),n=Math.sin(t),r=this.a,i=this.c,o=this.tx;return this.a=r*e-this.b*n,this.b=r*n+this.b*e,this.c=i*e-this.d*n,this.d=i*n+this.d*e,this.tx=o*e-this.ty*n,this.ty=o*n+this.ty*e,this},t.prototype.append=function(t){var e=this.a,n=this.b,r=this.c,i=this.d;return this.a=t.a*e+t.b*r,this.b=t.a*n+t.b*i,this.c=t.c*e+t.d*r,this.d=t.c*n+t.d*i,this.tx=t.tx*e+t.ty*r+this.tx,this.ty=t.tx*n+t.ty*i+this.ty,this},t.prototype.setTransform=function(t,e,n,r,i,o,s,a,u){return this.a=Math.cos(s+u)*i,this.b=Math.sin(s+u)*i,this.c=-Math.sin(s-a)*o,this.d=Math.cos(s-a)*o,this.tx=t-(n*this.a+r*this.c),this.ty=e-(n*this.b+r*this.d),this},t.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var n=this.a,r=this.c;this.a=n*t.a+this.b*t.c,this.b=n*t.b+this.b*t.d,this.c=r*t.a+this.d*t.c,this.d=r*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},t.prototype.decompose=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,o=t.pivot,s=-Math.atan2(-r,i),a=Math.atan2(n,e),u=Math.abs(s+a);return u<1e-5||Math.abs(Wt-u)<1e-5?(t.rotation=a,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=s,t.skew.y=a),t.scale.x=Math.sqrt(e*e+n*n),t.scale.y=Math.sqrt(r*r+i*i),t.position.x=this.tx+(o.x*e+o.y*r),t.position.y=this.ty+(o.x*n+o.y*i),t},t.prototype.invert=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.tx,o=t*r-e*n;return this.a=r/o,this.b=-e/o,this.c=-n/o,this.d=t/o,this.tx=(n*this.ty-r*i)/o,this.ty=-(t*this.ty-e*i)/o,this},t.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},t.prototype.clone=function(){var e=new t;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e},t.prototype.copyTo=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},t.prototype.copyFrom=function(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this},t.prototype.toString=function(){return"[@pixi/math:Matrix a="+this.a+" b="+this.b+" c="+this.c+" d="+this.d+" tx="+this.tx+" ty="+this.ty+"]"},Object.defineProperty(t,"IDENTITY",{get:function(){return new t},enumerable:!1,configurable:!0}),Object.defineProperty(t,"TEMP_MATRIX",{get:function(){return new t},enumerable:!1,configurable:!0}),t}(),re=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],ie=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],oe=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],se=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],ae=[],ue=[],ce=Math.sign;!function(){for(var t=0;t<16;t++){var e=[];ae.push(e);for(var n=0;n<16;n++)for(var r=ce(re[t]*re[n]+oe[t]*ie[n]),i=ce(ie[t]*re[n]+se[t]*ie[n]),o=ce(re[t]*oe[n]+oe[t]*se[n]),s=ce(ie[t]*oe[n]+se[t]*se[n]),a=0;a<16;a++)if(re[a]===r&&ie[a]===i&&oe[a]===o&&se[a]===s){e.push(a);break}}for(t=0;t<16;t++){var u=new ne;u.set(re[t],ie[t],oe[t],se[t],0,0),ue.push(u)}}();var he={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:function(t){return re[t]},uY:function(t){return ie[t]},vX:function(t){return oe[t]},vY:function(t){return se[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return ae[t][e]},sub:function(t,e){return ae[t][he.inv(e)]},rotate180:function(t){return 4^t},isVertical:function(t){return 2==(3&t)},byDirection:function(t,e){return 2*Math.abs(t)<=Math.abs(e)?e>=0?he.S:he.N:2*Math.abs(e)<=Math.abs(t)?t>0?he.E:he.W:e>0?t>0?he.SE:he.SW:t>0?he.NE:he.NW},matrixAppendRotationInv:function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var i=ue[he.inv(e)];i.tx=n,i.ty=r,t.append(i)}},le=function(){function t(){this.worldTransform=new ne,this.localTransform=new ne,this.position=new ee(this.onChange,this,0,0),this.scale=new ee(this.onChange,this,1,1),this.pivot=new ee(this.onChange,this,0,0),this.skew=new ee(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}return t.prototype.onChange=function(){this._localID++},t.prototype.updateSkew=function(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++},t.prototype.toString=function(){return"[@pixi/math:Transform position=("+this.position.x+", "+this.position.y+") rotation="+this.rotation+" scale=("+this.scale.x+", "+this.scale.y+") skew=("+this.skew.x+", "+this.skew.y+") ]"},t.prototype.updateLocalTransform=function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)},t.prototype.updateTransform=function(t){var e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var n=t.worldTransform,r=this.worldTransform;r.a=e.a*n.a+e.b*n.c,r.b=e.a*n.b+e.b*n.d,r.c=e.c*n.a+e.d*n.c,r.d=e.c*n.b+e.d*n.d,r.tx=e.tx*n.a+e.ty*n.c+n.tx,r.ty=e.tx*n.b+e.ty*n.d+n.ty,this._parentID=t._worldID,this._worldID++}},t.prototype.setFromMatrix=function(t){t.decompose(this),this._localID++},Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())},enumerable:!1,configurable:!0}),t.IDENTITY=new t,t}(); /*! * @pixi/display - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/display is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ dt.SORTABLE_CHILDREN=!1;var de=function(){function t(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null,this.updateID=-1}return t.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},t.prototype.clear=function(){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},t.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?Kt.EMPTY:((t=t||new Kt(0,0,1,1)).x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},t.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},t.prototype.addPointMatrix=function(t,e){var n=t.a,r=t.b,i=t.c,o=t.d,s=t.tx,a=t.ty,u=n*e.x+i*e.y+s,c=r*e.x+o*e.y+a;this.minX=Math.min(this.minX,u),this.maxX=Math.max(this.maxX,u),this.minY=Math.min(this.minY,c),this.maxY=Math.max(this.maxY,c)},t.prototype.addQuad=function(t){var e=this.minX,n=this.minY,r=this.maxX,i=this.maxY,o=t[0],s=t[1];e=or?o:r,i=s>i?s:i,e=(o=t[2])r?o:r,i=s>i?s:i,e=(o=t[4])r?o:r,i=s>i?s:i,e=(o=t[6])r?o:r,i=s>i?s:i,this.minX=e,this.minY=n,this.maxX=r,this.maxY=i},t.prototype.addFrame=function(t,e,n,r,i){this.addFrameMatrix(t.worldTransform,e,n,r,i)},t.prototype.addFrameMatrix=function(t,e,n,r,i){var o=t.a,s=t.b,a=t.c,u=t.d,c=t.tx,h=t.ty,l=this.minX,d=this.minY,f=this.maxX,p=this.maxY,_=o*e+a*n+c,m=s*e+u*n+h;l=_f?_:f,p=m>p?m:p,l=(_=o*r+a*n+c)f?_:f,p=m>p?m:p,l=(_=o*e+a*i+c)f?_:f,p=m>p?m:p,l=(_=o*r+a*i+c)f?_:f,p=m>p?m:p,this.minX=l,this.minY=d,this.maxX=f,this.maxY=p},t.prototype.addVertexData=function(t,e,n){for(var r=this.minX,i=this.minY,o=this.maxX,s=this.maxY,a=e;ao?u:o,s=c>s?c:s}this.minX=r,this.minY=i,this.maxX=o,this.maxY=s},t.prototype.addVertices=function(t,e,n,r){this.addVerticesMatrix(t.worldTransform,e,n,r)},t.prototype.addVerticesMatrix=function(t,e,n,r,i,o){void 0===i&&(i=0),void 0===o&&(o=i);for(var s=t.a,a=t.b,u=t.c,c=t.d,h=t.tx,l=t.ty,d=this.minX,f=this.minY,p=this.maxX,_=this.maxY,m=n;mr?t.maxX:r,this.maxY=t.maxY>i?t.maxY:i},t.prototype.addBoundsMask=function(t,e){var n=t.minX>e.minX?t.minX:e.minX,r=t.minY>e.minY?t.minY:e.minY,i=t.maxXu?i:u,this.maxY=o>c?o:c}},t.prototype.addBoundsMatrix=function(t,e){this.addFrameMatrix(e,t.minX,t.minY,t.maxX,t.maxY)},t.prototype.addBoundsArea=function(t,e){var n=t.minX>e.x?t.minX:e.x,r=t.minY>e.y?t.minY:e.y,i=t.maxXu?i:u,this.maxY=o>c?o:c}},t.prototype.pad=function(t,e){void 0===t&&(t=0),void 0===e&&(e=t),this.isEmpty()||(this.minX-=t,this.maxX+=t,this.minY-=e,this.maxY+=e)},t.prototype.addFramePad=function(t,e,n,r,i,o){t-=i,e-=o,n+=i,r+=o,this.minX=this.minXn?this.maxX:n,this.minY=this.minYr?this.maxY:r},t}(),fe=function(t,e){return(fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)}; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */function pe(t,e){function n(){this.constructor=t}fe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var _e=function(t){function e(){var e=t.call(this)||this;return e.tempDisplayObjectParent=null,e.transform=new le,e.alpha=1,e.visible=!0,e.renderable=!0,e.parent=null,e.worldAlpha=1,e._lastSortedIndex=0,e._zIndex=0,e.filterArea=null,e.filters=null,e._enabledFilters=null,e._bounds=new de,e._localBounds=null,e._boundsID=0,e._boundsRect=null,e._localBoundsRect=null,e._mask=null,e._destroyed=!1,e.isSprite=!1,e.isMask=!1,e}return pe(e,t),e.mixin=function(t){for(var n=Object.keys(t),r=0;r1)for(var r=0;rthis.children.length)throw new Error(t+"addChildAt: The index "+e+" supplied is out of bounds "+this.children.length);return t.parent&&t.parent.removeChild(t),t.parent=this,this.sortDirty=!0,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),this.emit("childAdded",t,this,e),t},e.prototype.swapChildren=function(t,e){if(t!==e){var n=this.getChildIndex(t),r=this.getChildIndex(e);this.children[n]=e,this.children[r]=t,this.onChildrenChange(n=this.children.length)throw new Error("The index "+e+" supplied is out of bounds "+this.children.length);var n=this.getChildIndex(t);It(this.children,n,1),this.children.splice(e,0,t),this.onChildrenChange(e)},e.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},e.prototype.removeChild=function(){for(var t=arguments,e=[],n=0;n1)for(var r=0;r0&&i<=e){n=this.children.splice(r,i);for(var o=0;o1&&this.children.sort(ye),this.sortDirty=!1},e.prototype.updateTransform=function(){this.sortableChildren&&this.sortDirty&&this.sortChildren(),this._boundsID++,this.transform.updateTransform(this.parent.transform),this.worldAlpha=this.alpha*this.parent.worldAlpha;for(var t=0,e=this.children.length;t title : "+t.title+"
tabIndex: "+t.tabIndex},t.prototype.capHitArea=function(t){t.x<0&&(t.width+=t.x,t.x=0),t.y<0&&(t.height+=t.y,t.y=0);var e=this.renderer,n=e.width,r=e.height;t.x+t.width>n&&(t.width=n-t.x),t.y+t.height>r&&(t.height=r-t.y)},t.prototype.addChild=function(t){var e=this.pool.pop();e||((e=document.createElement("button")).style.width="100px",e.style.height="100px",e.style.backgroundColor=this.debug?"rgba(255,255,255,0.5)":"transparent",e.style.position="absolute",e.style.zIndex=2..toString(),e.style.borderStyle="none",navigator.userAgent.toLowerCase().indexOf("chrome")>-1?e.setAttribute("aria-live","off"):e.setAttribute("aria-live","polite"),navigator.userAgent.match(/rv:.*Gecko\//)?e.setAttribute("aria-relevant","additions"):e.setAttribute("aria-relevant","text"),e.addEventListener("click",this._onClick.bind(this)),e.addEventListener("focus",this._onFocus.bind(this)),e.addEventListener("focusout",this._onFocusOut.bind(this))),e.style.pointerEvents=t.accessiblePointerEvents,e.type=t.accessibleType,t.accessibleTitle&&null!==t.accessibleTitle?e.title=t.accessibleTitle:t.accessibleHint&&null!==t.accessibleHint||(e.title="displayObject "+t.tabIndex),t.accessibleHint&&null!==t.accessibleHint&&e.setAttribute("aria-label",t.accessibleHint),this.debug&&this.updateDebugHTML(e),t._accessibleActive=!0,t._accessibleDiv=e,e.displayObject=t,this.children.push(t),this.div.appendChild(t._accessibleDiv),t._accessibleDiv.tabIndex=t.tabIndex},t.prototype._onClick=function(t){var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"click",r),e.dispatchEvent(n,"pointertap",r),e.dispatchEvent(n,"tap",r)},t.prototype._onFocus=function(t){t.target.getAttribute("aria-live")||t.target.setAttribute("aria-live","assertive");var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"mouseover",r)},t.prototype._onFocusOut=function(t){t.target.getAttribute("aria-live")||t.target.setAttribute("aria-live","polite");var e=this.renderer.plugins.interaction,n=t.target.displayObject,r=e.eventData;e.dispatchEvent(n,"mouseout",r)},t.prototype._onKeyDown=function(t){9===t.keyCode&&this.activate()},t.prototype._onMouseMove=function(t){0===t.movementX&&0===t.movementY||this.deactivate()},t.prototype.destroy=function(){this.destroyTouchHook(),this.div=null,self.document.removeEventListener("mousemove",this._onMouseMove,!0),self.removeEventListener("keydown",this._onKeyDown),this.pool=null,this.children=null,this.renderer=null},t}(); /*! * @pixi/ticker - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/ticker is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ dt.TARGET_FPMS=.06,function(t){t[t.INTERACTION=50]="INTERACTION",t[t.HIGH=25]="HIGH",t[t.NORMAL=0]="NORMAL",t[t.LOW=-25]="LOW",t[t.UTILITY=-50]="UTILITY"}(be||(be={}));var we=function(){function t(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=0),void 0===r&&(r=!1),this.next=null,this.previous=null,this._destroyed=!1,this.fn=t,this.context=e,this.priority=n,this.once=r}return t.prototype.match=function(t,e){return void 0===e&&(e=null),this.fn===t&&this.context===e},t.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},t.prototype.connect=function(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this},t.prototype.destroy=function(t){void 0===t&&(t=!1),this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e},t}(),xe=function(){function t(){var t=this;this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new we(null,null,1/0),this.deltaMS=1/dt.TARGET_FPMS,this.elapsedMS=1/dt.TARGET_FPMS,this._tick=function(e){t._requestId=null,t.started&&(t.update(e),t.started&&null===t._requestId&&t._head.next&&(t._requestId=requestAnimationFrame(t._tick)))}}return t.prototype._requestIfNeeded=function(){null===this._requestId&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))},t.prototype._cancelIfNeeded=function(){null!==this._requestId&&(cancelAnimationFrame(this._requestId),this._requestId=null)},t.prototype._startIfPossible=function(){this.started?this._requestIfNeeded():this.autoStart&&this.start()},t.prototype.add=function(t,e,n){return void 0===n&&(n=be.NORMAL),this._addListener(new we(t,e,n))},t.prototype.addOnce=function(t,e,n){return void 0===n&&(n=be.NORMAL),this._addListener(new we(t,e,n,!0))},t.prototype._addListener=function(t){var e=this._head.next,n=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(n);break}n=e,e=e.next}t.previous||t.connect(n)}else t.connect(n);return this._startIfPossible(),this},t.prototype.remove=function(t,e){for(var n=this._head.next;n;)n=n.match(t,e)?n.destroy():n.next;return this._head.next||this._cancelIfNeeded(),this},Object.defineProperty(t.prototype,"count",{get:function(){if(!this._head)return 0;for(var t=0,e=this._head;e=e.next;)t++;return t},enumerable:!1,configurable:!0}),t.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},t.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},t.prototype.destroy=function(){if(!this._protected){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}},t.prototype.update=function(t){var e;if(void 0===t&&(t=performance.now()),t>this.lastTime){if((e=this.elapsedMS=t-this.lastTime)>this._maxElapsedMS&&(e=this._maxElapsedMS),e*=this.speed,this._minElapsedMS){var n=t-this._lastFrame|0;if(n=0;h--){var l=c[h],d=this.recursiveFindHit(t,l,n,r,a);if(d){if(!l.parent)continue;a=!1,d&&(t.target&&(r=!1),s=!0)}}return i&&(r&&!t.target&&!e.hitArea&&e.containsPoint&&e.containsPoint(o)&&(s=!0),e.interactive&&(s&&!t.target&&(t.target=e),n&&n(t,e,!!s))),s},t.prototype.findHit=function(t,e,n,r){this.recursiveFindHit(t,e,n,r,!1)},t}(),De={interactive:!1,interactiveChildren:!0,hitArea:null,get buttonMode(){return"pointer"===this.cursor},set buttonMode(t){t?this.cursor="pointer":"pointer"===this.cursor&&(this.cursor=null)},cursor:null,get trackedPointers(){return void 0===this._trackedPointers&&(this._trackedPointers={}),this._trackedPointers},_trackedPointers:void 0};_e.mixin(De);var Ce={target:null,data:{global:null}},ke=function(t){function e(e,n){var r=t.call(this)||this;return n=n||{},r.renderer=e,r.autoPreventDefault=void 0===n.autoPreventDefault||n.autoPreventDefault,r.interactionFrequency=n.interactionFrequency||10,r.mouse=new Se,r.mouse.identifier=1,r.mouse.global.set(-999999),r.activeInteractionData={},r.activeInteractionData[1]=r.mouse,r.interactionDataPool=[],r.eventData=new Ae,r.interactionDOMElement=null,r.moveWhenInside=!1,r.eventsAdded=!1,r.tickerAdded=!1,r.mouseOverRenderer=!("PointerEvent"in self),r.supportsTouchEvents="ontouchstart"in self,r.supportsPointerEvents=!!self.PointerEvent,r.onPointerUp=r.onPointerUp.bind(r),r.processPointerUp=r.processPointerUp.bind(r),r.onPointerCancel=r.onPointerCancel.bind(r),r.processPointerCancel=r.processPointerCancel.bind(r),r.onPointerDown=r.onPointerDown.bind(r),r.processPointerDown=r.processPointerDown.bind(r),r.onPointerMove=r.onPointerMove.bind(r),r.processPointerMove=r.processPointerMove.bind(r),r.onPointerOut=r.onPointerOut.bind(r),r.processPointerOverOut=r.processPointerOverOut.bind(r),r.onPointerOver=r.onPointerOver.bind(r),r.cursorStyles={default:"inherit",pointer:"pointer"},r.currentCursorMode=null,r.cursor=null,r.resolution=1,r.delayedEvents=[],r.search=new Le,r._tempDisplayObject=new me,r._eventListenerOptions={capture:!0,passive:!1},r._useSystemTicker=void 0===n.useSystemTicker||n.useSystemTicker,r.setTargetElement(r.renderer.view,r.renderer.resolution),r}return function(t,e){function n(){this.constructor=t}Te(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),Object.defineProperty(e.prototype,"useSystemTicker",{get:function(){return this._useSystemTicker},set:function(t){this._useSystemTicker=t,t?this.addTickerListener():this.removeTickerListener()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastObjectRendered",{get:function(){return this.renderer._lastObjectRendered||this._tempDisplayObject},enumerable:!1,configurable:!0}),e.prototype.hitTest=function(t,e){return Ce.target=null,Ce.data.global=t,e||(e=this.lastObjectRendered),this.processInteractive(Ce,e,null,!0),Ce.target},e.prototype.setTargetElement=function(t,e){void 0===e&&(e=1),this.removeTickerListener(),this.removeEvents(),this.interactionDOMElement=t,this.resolution=e,this.addEvents(),this.addTickerListener()},e.prototype.addTickerListener=function(){!this.tickerAdded&&this.interactionDOMElement&&this._useSystemTicker&&(xe.system.add(this.tickerUpdate,this,be.INTERACTION),this.tickerAdded=!0)},e.prototype.removeTickerListener=function(){this.tickerAdded&&(xe.system.remove(this.tickerUpdate,this),this.tickerAdded=!1)},e.prototype.addEvents=function(){if(!this.eventsAdded&&this.interactionDOMElement){var t=this.interactionDOMElement.style;self.navigator.msPointerEnabled?(t.msContentZooming="none",t.msTouchAction="none"):this.supportsPointerEvents&&(t.touchAction="none"),this.supportsPointerEvents?(self.document.addEventListener("pointermove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.addEventListener("pointerdown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.addEventListener("pointerleave",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.addEventListener("pointerover",this.onPointerOver,this._eventListenerOptions),self.addEventListener("pointercancel",this.onPointerCancel,this._eventListenerOptions),self.addEventListener("pointerup",this.onPointerUp,this._eventListenerOptions)):(self.document.addEventListener("mousemove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.addEventListener("mousedown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.addEventListener("mouseout",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.addEventListener("mouseover",this.onPointerOver,this._eventListenerOptions),self.addEventListener("mouseup",this.onPointerUp,this._eventListenerOptions)),this.supportsTouchEvents&&(this.interactionDOMElement.addEventListener("touchstart",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.addEventListener("touchcancel",this.onPointerCancel,this._eventListenerOptions),this.interactionDOMElement.addEventListener("touchend",this.onPointerUp,this._eventListenerOptions),this.interactionDOMElement.addEventListener("touchmove",this.onPointerMove,this._eventListenerOptions)),this.eventsAdded=!0}},e.prototype.removeEvents=function(){if(this.eventsAdded&&this.interactionDOMElement){var t=this.interactionDOMElement.style;self.navigator.msPointerEnabled?(t.msContentZooming="",t.msTouchAction=""):this.supportsPointerEvents&&(t.touchAction=""),this.supportsPointerEvents?(self.document.removeEventListener("pointermove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("pointerdown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("pointerleave",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("pointerover",this.onPointerOver,this._eventListenerOptions),self.removeEventListener("pointercancel",this.onPointerCancel,this._eventListenerOptions),self.removeEventListener("pointerup",this.onPointerUp,this._eventListenerOptions)):(self.document.removeEventListener("mousemove",this.onPointerMove,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("mousedown",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("mouseout",this.onPointerOut,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("mouseover",this.onPointerOver,this._eventListenerOptions),self.removeEventListener("mouseup",this.onPointerUp,this._eventListenerOptions)),this.supportsTouchEvents&&(this.interactionDOMElement.removeEventListener("touchstart",this.onPointerDown,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("touchcancel",this.onPointerCancel,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("touchend",this.onPointerUp,this._eventListenerOptions),this.interactionDOMElement.removeEventListener("touchmove",this.onPointerMove,this._eventListenerOptions)),this.interactionDOMElement=null,this.eventsAdded=!1}},e.prototype.tickerUpdate=function(t){this._deltaTime+=t,this._deltaTime8)throw new Error("max arguments reached");var u=this,c=u.name,h=u.items;this._aliasCount++;for(var l=0,d=h.length;l0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))},t.prototype.add=function(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this},t.prototype.remove=function(t){var e=this.items.indexOf(t);return-1!==e&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this},t.prototype.contains=function(t){return-1!==this.items.indexOf(t)},t.prototype.removeAll=function(){return this.ensureNonAliasedItems(),this.items.length=0,this},t.prototype.destroy=function(){this.removeAll(),this.items=null,this._name=null},Object.defineProperty(t.prototype,"empty",{get:function(){return 0===this.items.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),t}();Object.defineProperties(Oe.prototype,{dispatch:{value:Oe.prototype.emit},run:{value:Oe.prototype.emit}}), /*! * @pixi/core - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/core is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ dt.PREFER_ENV=W.any?X.WEBGL:X.WEBGL2,dt.STRICT_TEXTURE_CACHE=!1;var Ie=[];function Pe(t,e){if(!t)return null;var n="";if("string"==typeof t){var r=/\.(\w{3,4})(?:$|\?|#)/i.exec(t);r&&(n=r[1].toLowerCase())}for(var i=Ie.length-1;i>=0;--i){var o=Ie[i];if(o.test&&o.test(t,n))return new o(t,e)}throw new Error("Unrecognized source type to auto-detect Resource")} /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */var Re=function(t,e){return(Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function Ye(t,e){function n(){this.constructor=t}Re(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Be=function(){return(Be=Object.assign||function(t){for(var e,n=arguments,r=1,i=arguments.length;r0&&c>0,r.textureCacheIds=[],r.destroyed=!1,r.resource=null,r._batchEnabled=0,r._batchLocation=0,r.parentTextureArray=null,r.setResource(e),r}return Ye(e,t),Object.defineProperty(e.prototype,"realWidth",{get:function(){return Math.round(this.width*this.resolution)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"realHeight",{get:function(){return Math.round(this.height*this.resolution)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mipmap",{get:function(){return this._mipmap},set:function(t){this._mipmap!==t&&(this._mipmap=t,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scaleMode",{get:function(){return this._scaleMode},set:function(t){this._scaleMode!==t&&(this._scaleMode=t,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"wrapMode",{get:function(){return this._wrapMode},set:function(t){this._wrapMode!==t&&(this._wrapMode=t,this.dirtyStyleId++)},enumerable:!1,configurable:!0}),e.prototype.setStyle=function(t,e){var n;return void 0!==t&&t!==this.scaleMode&&(this.scaleMode=t,n=!0),void 0!==e&&e!==this.mipmap&&(this.mipmap=e,n=!0),n&&this.dirtyStyleId++,this},e.prototype.setSize=function(t,e,n){return n=n||this.resolution,this.setRealSize(t*n,e*n,n)},e.prototype.setRealSize=function(t,e,n){return this.resolution=n||this.resolution,this.width=Math.round(t)/this.resolution,this.height=Math.round(e)/this.resolution,this._refreshPOT(),this.update(),this},e.prototype._refreshPOT=function(){this.isPowerOfTwo=kt(this.realWidth)&&kt(this.realHeight)},e.prototype.setResolution=function(t){var e=this.resolution;return e===t||(this.resolution=t,this.valid&&(this.width=Math.round(this.width*e)/t,this.height=Math.round(this.height*e)/t,this.emit("update",this)),this._refreshPOT()),this},e.prototype.setResource=function(t){if(this.resource===t)return this;if(this.resource)throw new Error("Resource can be set only once");return t.bind(this),this.resource=t,this},e.prototype.update=function(){this.valid?(this.dirtyId++,this.dirtyStyleId++,this.emit("update",this)):this.width>0&&this.height>0&&(this.valid=!0,this.emit("loaded",this),this.emit("update",this))},e.prototype.onError=function(t){this.emit("error",this,t)},e.prototype.destroy=function(){this.resource&&(this.resource.unbind(this),this.resource.internal&&this.resource.destroy(),this.resource=null),this.cacheId&&(delete Ut[this.cacheId],delete Ft[this.cacheId],this.cacheId=null),this.dispose(),e.removeFromCache(this),this.textureCacheIds=null,this.destroyed=!0},e.prototype.dispose=function(){this.emit("dispose",this)},e.prototype.castToBaseTexture=function(){return this},e.from=function(t,n,r){void 0===r&&(r=dt.STRICT_TEXTURE_CACHE);var i="string"==typeof t,o=null;if(i)o=t;else{if(!t._pixiId){var s=n&&n.pixiIdPrefix||"pixiid";t._pixiId=s+"_"+Yt()}o=t._pixiId}var a=Ut[o];if(i&&r&&!a)throw new Error('The cacheId "'+o+'" does not exist in BaseTextureCache.');return a||((a=new e(t,n)).cacheId=o,e.addToCache(a,o)),a},e.fromBuffer=function(t,n,r,i){t=t||new Float32Array(n*r*4);var o=new je(t,{width:n,height:r}),s=t instanceof Float32Array?tt.FLOAT:tt.UNSIGNED_BYTE;return new e(o,Object.assign(Fe,i||{width:n,height:r,type:s}))},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),Ut[e]&&console.warn("BaseTexture added to the cache with an id ["+e+"] that already had an entry"),Ut[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=Ut[t];if(e){var n=e.textureCacheIds.indexOf(t);return n>-1&&e.textureCacheIds.splice(n,1),delete Ut[t],e}}else if(t&&t.textureCacheIds){for(var r=0;r0){if(!t.resource)throw new Error("CubeResource does not support copying of renderTexture.");this.addResourceAt(t.resource,e)}else t.target=Q.TEXTURE_CUBE_MAP_POSITIVE_X+e,t.parentTextureArray=this.baseTexture,this.items[e]=t;return t.valid&&!this.valid&&this.resize(t.realWidth,t.realHeight),this.items[e]=t,this},e.prototype.upload=function(t,n,r){for(var i=this.itemDirtyIds,o=0;o)?\s*()]*-->)?\s*\]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i,e}(Ve),Ke=function(t){function e(n,r){var i=this;if(r=r||{},!(n instanceof HTMLVideoElement)){var o=document.createElement("video");o.setAttribute("preload","auto"),o.setAttribute("webkit-playsinline",""),o.setAttribute("playsinline",""),"string"==typeof n&&(n=[n]);var s=n[0].src||n[0];Ve.crossOrigin(o,s,r.crossorigin);for(var a=0;a0&&!1===t.paused&&!1===t.ended&&t.readyState>2},e.prototype._isSourceReady=function(){var t=this.source;return 3===t.readyState||4===t.readyState},e.prototype._onPlayStart=function(){this.valid||this._onCanPlay(),this.autoUpdate&&!this._isConnectedToTicker&&(xe.shared.add(this.update,this),this._isConnectedToTicker=!0)},e.prototype._onPlayStop=function(){this._isConnectedToTicker&&(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1)},e.prototype._onCanPlay=function(){var t=this.source;t.removeEventListener("canplay",this._onCanPlay),t.removeEventListener("canplaythrough",this._onCanPlay);var e=this.valid;this.resize(t.videoWidth,t.videoHeight),!e&&this._resolve&&(this._resolve(this),this._resolve=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&t.play()},e.prototype.dispose=function(){this._isConnectedToTicker&&(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1);var e=this.source;e&&(e.removeEventListener("error",this._onError,!0),e.pause(),e.src="",e.load()),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"autoUpdate",{get:function(){return this._autoUpdate},set:function(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isConnectedToTicker?(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._isSourcePlaying()&&(xe.shared.add(this.update,this),this._isConnectedToTicker=!0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updateFPS",{get:function(){return this._updateFPS},set:function(t){t!==this._updateFPS&&(this._updateFPS=t)},enumerable:!1,configurable:!0}),e.test=function(t,n){return self.HTMLVideoElement&&t instanceof HTMLVideoElement||e.TYPES.indexOf(n)>-1},e.TYPES=["mp4","m4v","webm","ogg","ogv","h264","avi","mov"],e.MIME_TYPES={ogv:"video/ogg",mov:"video/quicktime",m4v:"video/mp4"},e}(Ve),qe=function(t){function e(e){return t.call(this,e)||this}return Ye(e,t),e.test=function(t){return!!self.createImageBitmap&&t instanceof ImageBitmap},e}(Ve);Ie.push(Xe,qe,ze,Ke,Je,je,We,He);var $e={__proto__:null,Resource:Ne,BaseImageResource:Ve,INSTALLED:Ie,autoDetectResource:Pe,AbstractMultiResource:Ge,ArrayResource:He,BufferResource:je,CanvasResource:ze,CubeResource:We,ImageResource:Xe,SVGResource:Je,VideoResource:Ke,ImageBitmapResource:qe},Ze=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Ye(e,t),e.prototype.upload=function(t,e,n){var r=t.gl;r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,e.alphaMode===ot.UNPACK);var i=e.realWidth,o=e.realHeight;return n.width===i&&n.height===o?r.texSubImage2D(e.target,0,0,0,i,o,e.format,n.type,this.data):(n.width=i,n.height=o,r.texImage2D(e.target,0,n.internalFormat,i,o,0,e.format,n.type,this.data)),!0},e}(je),Qe=function(){function t(t,e){this.width=Math.round(t||100),this.height=Math.round(e||100),this.stencil=!1,this.depth=!1,this.dirtyId=0,this.dirtyFormat=0,this.dirtySize=0,this.depthTexture=null,this.colorTextures=[],this.glFramebuffers={},this.disposeRunner=new Oe("disposeFramebuffer"),this.multisample=ht.NONE}return Object.defineProperty(t.prototype,"colorTexture",{get:function(){return this.colorTextures[0]},enumerable:!1,configurable:!0}),t.prototype.addColorTexture=function(t,e){return void 0===t&&(t=0),this.colorTextures[t]=e||new Ue(null,{scaleMode:nt.NEAREST,resolution:1,mipmap:it.OFF,width:this.width,height:this.height}),this.dirtyId++,this.dirtyFormat++,this},t.prototype.addDepthTexture=function(t){return this.depthTexture=t||new Ue(new Ze(null,{width:this.width,height:this.height}),{scaleMode:nt.NEAREST,resolution:1,width:this.width,height:this.height,mipmap:it.OFF,format:Z.DEPTH_COMPONENT,type:tt.UNSIGNED_SHORT}),this.dirtyId++,this.dirtyFormat++,this},t.prototype.enableDepth=function(){return this.depth=!0,this.dirtyId++,this.dirtyFormat++,this},t.prototype.enableStencil=function(){return this.stencil=!0,this.dirtyId++,this.dirtyFormat++,this},t.prototype.resize=function(t,e){if(t=Math.round(t),e=Math.round(e),t!==this.width||e!==this.height){this.width=t,this.height=e,this.dirtyId++,this.dirtySize++;for(var n=0;n-1&&e.textureCacheIds.splice(n,1),delete Ft[t],e}}else if(t&&t.textureCacheIds){for(var r=0;rthis.baseTexture.width,s=n+i>this.baseTexture.height;if(o||s){var a=o&&s?"and":"or",u="X: "+e+" + "+r+" = "+(e+r)+" > "+this.baseTexture.width,c="Y: "+n+" + "+i+" = "+(n+i)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+u+" "+a+" "+c)}this.valid=r&&i&&this.baseTexture.valid,this.trim||this.rotate||(this.orig=t),this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rotate",{get:function(){return this._rotate},set:function(t){this._rotate=t,this.valid&&this.updateUvs()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.orig.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.orig.height},enumerable:!1,configurable:!0}),e.prototype.castToBaseTexture=function(){return this.baseTexture},e}(pt.a);function on(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}rn.EMPTY=new rn(new Ue),on(rn.EMPTY),on(rn.EMPTY.baseTexture),rn.WHITE=function(){var t=document.createElement("canvas");t.width=16,t.height=16;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,16,16),new rn(new Ue(new ze(t)))}(),on(rn.WHITE),on(rn.WHITE.baseTexture);var sn=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.valid=!0,r.filterFrame=null,r.filterPoolKey=null,r.updateUvs(),r}return Ye(e,t),Object.defineProperty(e.prototype,"framebuffer",{get:function(){return this.baseTexture.framebuffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"multisample",{get:function(){return this.framebuffer.multisample},set:function(t){this.framebuffer.multisample=t},enumerable:!1,configurable:!0}),e.prototype.resize=function(t,e,n){void 0===n&&(n=!0);var r=this.baseTexture.resolution,i=Math.round(t*r)/r,o=Math.round(e*r)/r;this.valid=i>0&&o>0,this._frame.width=this.orig.width=i,this._frame.height=this.orig.height=o,n&&this.baseTexture.resize(i,o),this.updateUvs()},e.prototype.setResolution=function(t){var e=this.baseTexture;e.resolution!==t&&(e.setResolution(t),this.resize(e.width,e.height,!1))},e.create=function(t){for(var n=arguments,r=[],i=1;i1?-r:-1:(i=((65535&(t=Ct(t)))<<16|65535&(e=Ct(e)))>>>0,r>1&&(i+=4294967296*r)),this.texturePool[i]||(this.texturePool[i]=[]);var o=this.texturePool[i].pop();return o||(o=this.createTexture(t,e,r)),o.filterPoolKey=i,o.setResolution(n),o},t.prototype.getFilterTexture=function(t,e,n){var r=this.getOptimalTexture(t.width,t.height,e||t.resolution,n||ht.NONE);return r.filterFrame=t.filterFrame,r},t.prototype.returnTexture=function(t){var e=t.filterPoolKey;t.filterFrame=null,this.texturePool[e].push(t)},t.prototype.returnFilterTexture=function(t){this.returnTexture(t)},t.prototype.clear=function(t){if(t=!1!==t)for(var e in this.texturePool){var n=this.texturePool[e];if(n)for(var r=0;r0&&t.height>0,this.texturePool)if(Number(e)<0){var n=this.texturePool[e];if(n)for(var r=0;r1){for(var c=0;c1&&((h=this.getOptimalFilterTexture(c.width,c.height,e.resolution)).filterFrame=c.filterFrame),n[l].apply(this,c,h,st.CLEAR,e);var d=c;c=h,h=d}n[l].apply(this,c,u.renderTexture,st.BLEND,e),l>1&&e.multisample>1&&this.returnFilterTexture(e.renderTexture),this.returnFilterTexture(c),this.returnFilterTexture(h)}e.clear(),this.statePool.push(e)},t.prototype.bindAndClear=function(t,e){void 0===e&&(e=st.CLEAR);var n=this.renderer,r=n.renderTexture,i=n.state;if(t===this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?this.renderer.projection.transform=this.activeState.transform:this.renderer.projection.transform=null,t&&t.filterFrame){var o=this.tempRect;o.x=0,o.y=0,o.width=t.filterFrame.width,o.height=t.filterFrame.height,r.bind(t,t.filterFrame,o)}else t!==this.defaultFilterStack[this.defaultFilterStack.length-1].renderTexture?r.bind(t):this.renderer.renderTexture.bind(t,this.activeState.bindingSourceFrame,this.activeState.bindingDestinationFrame);var s=1&i.stateId||this.forceClear;(e===st.CLEAR||e===st.BLIT&&s)&&this.renderer.framebuffer.clear(0,0,0,0)},t.prototype.applyFilter=function(t,e,n,r){var i=this.renderer;i.state.set(t.state),this.bindAndClear(n,r),t.uniforms.uSampler=e,t.uniforms.filterGlobals=this.globalUniforms,i.shader.bind(t),t.legacy=!!t.program.attributeData.aTextureCoord,t.legacy?(this.quadUv.map(e._frame,e.filterFrame),i.geometry.bind(this.quadUv),i.geometry.draw($.TRIANGLES)):(i.geometry.bind(this.quad),i.geometry.draw($.TRIANGLE_STRIP))},t.prototype.calculateSpriteMatrix=function(t,e){var n=this.activeState,r=n.sourceFrame,i=n.destinationFrame,o=e._texture.orig,s=t.set(i.width,0,0,i.height,r.x,r.y),a=e.worldTransform.copyTo(ne.TEMP_MATRIX);return a.invert(),s.prepend(a),s.scale(1/o.width,1/o.height),s.translate(e.anchor.x,e.anchor.y),s},t.prototype.destroy=function(){this.renderer=null,this.texturePool.clear(!1)},t.prototype.getOptimalFilterTexture=function(t,e,n,r){return void 0===n&&(n=1),void 0===r&&(r=ht.NONE),this.texturePool.getOptimalTexture(t,e,n,r)},t.prototype.getFilterTexture=function(t,e,n){if("number"==typeof t){var r=t;t=e,e=r}t=t||this.activeState.renderTexture;var i=this.texturePool.getOptimalTexture(t.width,t.height,e||t.resolution,n||ht.NONE);return i.filterFrame=t.filterFrame,i},t.prototype.returnFilterTexture=function(t){this.texturePool.returnTexture(t)},t.prototype.emptyPool=function(){this.texturePool.clear(!0)},t.prototype.resize=function(){this.texturePool.setScreenSize(this.renderer.view)},t.prototype.transformAABB=function(t,e){var n=wn[0],r=wn[1],i=wn[2],o=wn[3];n.set(e.left,e.top),r.set(e.left,e.bottom),i.set(e.right,e.top),o.set(e.right,e.bottom),t.apply(n,n),t.apply(r,r),t.apply(i,i),t.apply(o,o);var s=Math.min(n.x,r.x,i.x,o.x),a=Math.min(n.y,r.y,i.y,o.y),u=Math.max(n.x,r.x,i.x,o.x),c=Math.max(n.y,r.y,i.y,o.y);e.x=s,e.y=a,e.width=u-s,e.height=c-a},t.prototype.roundFrame=function(t,e,n,r,i){if(i){var o=i.a,s=i.b,a=i.c,u=i.d;if((Math.abs(s)>1e-4||Math.abs(a)>1e-4)&&(Math.abs(o)>1e-4||Math.abs(u)>1e-4))return}(i=i?xn.copyFrom(i):xn.identity()).translate(-n.x,-n.y).scale(r.width/n.width,r.height/n.height).translate(r.x,r.y),this.transformAABB(i,t),t.ceil(e),this.transformAABB(i.invert(),t)},t}(),Sn=function(){function t(t){this.renderer=t}return t.prototype.flush=function(){},t.prototype.destroy=function(){this.renderer=null},t.prototype.start=function(){},t.prototype.stop=function(){this.flush()},t.prototype.render=function(t){},t}(),Tn=function(){function t(t){this.renderer=t,this.emptyRenderer=new Sn(t),this.currentRenderer=this.emptyRenderer}return t.prototype.setObjectRenderer=function(t){this.currentRenderer!==t&&(this.currentRenderer.stop(),this.currentRenderer=t,this.currentRenderer.start())},t.prototype.flush=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.reset=function(){this.setObjectRenderer(this.emptyRenderer)},t.prototype.copyBoundTextures=function(t,e){for(var n=this.renderer.texture.boundTextures,r=e-1;r>=0;--r)t[r]=n[r]||null,t[r]&&(t[r]._batchLocation=r)},t.prototype.boundArray=function(t,e,n,r){for(var i=t.elements,o=t.ids,s=t.count,a=0,u=0;u=0&&h=X.WEBGL2&&(n=t.getContext("webgl2",e)),n)this.webGLVersion=2;else if(this.webGLVersion=1,!(n=t.getContext("webgl",e)||t.getContext("experimental-webgl",e)))throw new Error("This browser does not support WebGL. Try using the canvas renderer");return this.gl=n,this.getExtensions(),this.gl},t.prototype.getExtensions=function(){var t=this.gl,e={anisotropicFiltering:t.getExtension("EXT_texture_filter_anisotropic"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),s3tc:t.getExtension("WEBGL_compressed_texture_s3tc"),s3tc_sRGB:t.getExtension("WEBGL_compressed_texture_s3tc_srgb"),etc:t.getExtension("WEBGL_compressed_texture_etc"),etc1:t.getExtension("WEBGL_compressed_texture_etc1"),pvrtc:t.getExtension("WEBGL_compressed_texture_pvrtc")||t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),atc:t.getExtension("WEBGL_compressed_texture_atc"),astc:t.getExtension("WEBGL_compressed_texture_astc")};1===this.webGLVersion?Object.assign(this.extensions,e,{drawBuffers:t.getExtension("WEBGL_draw_buffers"),depthTexture:t.getExtension("WEBGL_depth_texture"),loseContext:t.getExtension("WEBGL_lose_context"),vertexArrayObject:t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object"),uint32ElementIndex:t.getExtension("OES_element_index_uint"),floatTexture:t.getExtension("OES_texture_float"),floatTextureLinear:t.getExtension("OES_texture_float_linear"),textureHalfFloat:t.getExtension("OES_texture_half_float"),textureHalfFloatLinear:t.getExtension("OES_texture_half_float_linear")}):2===this.webGLVersion&&Object.assign(this.extensions,e,{colorBufferFloat:t.getExtension("EXT_color_buffer_float")})},t.prototype.handleContextLost=function(t){t.preventDefault()},t.prototype.handleContextRestored=function(){this.renderer.runners.contextChange.emit(this.gl)},t.prototype.destroy=function(){var t=this.renderer.view;this.renderer=null,t.removeEventListener("webglcontextlost",this.handleContextLost),t.removeEventListener("webglcontextrestored",this.handleContextRestored),this.gl.useProgram(null),this.extensions.loseContext&&this.extensions.loseContext.loseContext()},t.prototype.postrender=function(){this.renderer.renderingToScreen&&this.gl.flush()},t.prototype.validateContext=function(t){var e=t.getContextAttributes(),n="WebGL2RenderingContext"in self&&t instanceof self.WebGL2RenderingContext;n&&(this.webGLVersion=2),e.stencil||console.warn("Provided WebGL context does not have a stencil buffer, masks may not render correctly");var r=n||!!t.getExtension("OES_element_index_uint");this.supports.uint32Indices=r,r||console.warn("Provided WebGL context does not support 32 index buffer, complex graphics may not render correctly")},t}(),Ln=function(t){this.framebuffer=t,this.stencil=null,this.dirtyId=-1,this.dirtyFormat=-1,this.dirtySize=-1,this.multisample=ht.NONE,this.msaaBuffer=null,this.blitFramebuffer=null,this.mipLevel=0},Dn=new Kt,Cn=function(){function t(t){this.renderer=t,this.managedFramebuffers=[],this.unknownFramebuffer=new Qe(10,10),this.msaaSamples=null}return t.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;if(this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.current=this.unknownFramebuffer,this.viewport=new Kt,this.hasMRT=!0,this.writeDepthTexture=!0,this.disposeAll(!0),1===this.renderer.context.webGLVersion){var e=this.renderer.context.extensions.drawBuffers,n=this.renderer.context.extensions.depthTexture;dt.PREFER_ENV===X.WEBGL_LEGACY&&(e=null,n=null),e?t.drawBuffers=function(t){return e.drawBuffersWEBGL(t)}:(this.hasMRT=!1,t.drawBuffers=function(){}),n||(this.writeDepthTexture=!1)}else this.msaaSamples=t.getInternalformatParameter(t.RENDERBUFFER,t.RGBA8,t.SAMPLES)},t.prototype.bind=function(t,e,n){void 0===n&&(n=0);var r=this.gl;if(t){var i=t.glFramebuffers[this.CONTEXT_UID]||this.initFramebuffer(t);this.current!==t&&(this.current=t,r.bindFramebuffer(r.FRAMEBUFFER,i.framebuffer)),i.mipLevel!==n&&(t.dirtyId++,t.dirtyFormat++,i.mipLevel=n),i.dirtyId!==t.dirtyId&&(i.dirtyId=t.dirtyId,i.dirtyFormat!==t.dirtyFormat?(i.dirtyFormat=t.dirtyFormat,i.dirtySize=t.dirtySize,this.updateFramebuffer(t,n)):i.dirtySize!==t.dirtySize&&(i.dirtySize=t.dirtySize,this.resizeFramebuffer(t)));for(var o=0;o>n,u=e.height>>n,c=a/e.width;this.setViewport(e.x*c,e.y*c,a,u)}else{a=t.width>>n,u=t.height>>n;this.setViewport(0,0,a,u)}}else this.current&&(this.current=null,r.bindFramebuffer(r.FRAMEBUFFER,null)),e?this.setViewport(e.x,e.y,e.width,e.height):this.setViewport(0,0,this.renderer.width,this.renderer.height)},t.prototype.setViewport=function(t,e,n,r){var i=this.viewport;t=Math.round(t),e=Math.round(e),n=Math.round(n),r=Math.round(r),i.width===n&&i.height===r&&i.x===t&&i.y===e||(i.x=t,i.y=e,i.width=n,i.height=r,this.gl.viewport(t,e,n,r))},Object.defineProperty(t.prototype,"size",{get:function(){return this.current?{x:0,y:0,width:this.current.width,height:this.current.height}:{x:0,y:0,width:this.renderer.width,height:this.renderer.height}},enumerable:!1,configurable:!0}),t.prototype.clear=function(t,e,n,r,i){void 0===i&&(i=K.COLOR|K.DEPTH);var o=this.gl;o.clearColor(t,e,n,r),o.clear(i)},t.prototype.initFramebuffer=function(t){var e=this.gl,n=new Ln(e.createFramebuffer());return n.multisample=this.detectSamples(t.multisample),t.glFramebuffers[this.CONTEXT_UID]=n,this.managedFramebuffers.push(t),t.disposeRunner.add(this),n},t.prototype.resizeFramebuffer=function(t){var e=this.gl,n=t.glFramebuffers[this.CONTEXT_UID];n.msaaBuffer&&(e.bindRenderbuffer(e.RENDERBUFFER,n.msaaBuffer),e.renderbufferStorageMultisample(e.RENDERBUFFER,n.multisample,e.RGBA8,t.width,t.height)),n.stencil&&(e.bindRenderbuffer(e.RENDERBUFFER,n.stencil),n.msaaBuffer?e.renderbufferStorageMultisample(e.RENDERBUFFER,n.multisample,e.DEPTH24_STENCIL8,t.width,t.height):e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_STENCIL,t.width,t.height));var r=t.colorTextures,i=r.length;e.drawBuffers||(i=Math.min(i,1));for(var o=0;o1&&this.canMultisampleFramebuffer(t)?(r.msaaBuffer=r.msaaBuffer||n.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,r.msaaBuffer),n.renderbufferStorageMultisample(n.RENDERBUFFER,r.multisample,n.RGBA8,t.width,t.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.RENDERBUFFER,r.msaaBuffer)):r.msaaBuffer&&(n.deleteRenderbuffer(r.msaaBuffer),r.msaaBuffer=null,r.blitFramebuffer&&(r.blitFramebuffer.dispose(),r.blitFramebuffer=null));for(var s=[],a=0;a1&&n.drawBuffers(s),t.depthTexture)&&this.writeDepthTexture){var h=t.depthTexture;this.renderer.texture.bind(h,0),n.framebufferTexture2D(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.TEXTURE_2D,h._glTextures[this.CONTEXT_UID].texture,e)}!t.stencil&&!t.depth||t.depthTexture&&this.writeDepthTexture?r.stencil&&(n.deleteRenderbuffer(r.stencil),r.stencil=null):(r.stencil=r.stencil||n.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,r.stencil),r.msaaBuffer?n.renderbufferStorageMultisample(n.RENDERBUFFER,r.multisample,n.DEPTH24_STENCIL8,t.width,t.height):n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,t.width,t.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,r.stencil))},t.prototype.canMultisampleFramebuffer=function(t){return 1!==this.renderer.context.webGLVersion&&t.colorTextures.length<=1&&!t.depthTexture},t.prototype.detectSamples=function(t){var e=this.msaaSamples,n=ht.NONE;if(t<=1||null===e)return n;for(var r=0;r=0&&this.managedFramebuffers.splice(i,1),t.disposeRunner.remove(this),e||(r.deleteFramebuffer(n.framebuffer),n.msaaBuffer&&r.deleteRenderbuffer(n.msaaBuffer),n.stencil&&r.deleteRenderbuffer(n.stencil)),n.blitFramebuffer&&n.blitFramebuffer.dispose()}},t.prototype.disposeAll=function(t){var e=this.managedFramebuffers;this.managedFramebuffers=[];for(var n=0;n=X.WEBGL2&&(e=t.getContext("webgl2",{})),e||((e=t.getContext("webgl",{})||t.getContext("experimental-webgl",{}))?e.getExtension("WEBGL_draw_buffers"):e=null),Fn=e}return Fn}();if(t&&t.getShaderPrecisionFormat){var e=t.getShaderPrecisionFormat(t.FRAGMENT_SHADER,t.HIGH_FLOAT);Nn=e.precision?ut.HIGH:ut.MEDIUM}}return Nn}function Gn(t,e,n){if("precision"!==t.substring(0,9)){var r=e;return e===ut.HIGH&&n!==ut.HIGH&&(r=ut.MEDIUM),"precision "+r+" float;\n"+t}return n!==ut.HIGH&&"precision highp"===t.substring(0,15)?t.replace("precision highp","precision mediump"):t}var Hn={float:1,vec2:2,vec3:3,vec4:4,int:1,ivec2:2,ivec3:3,ivec4:4,uint:1,uvec2:2,uvec3:3,uvec4:4,bool:1,bvec2:2,bvec3:3,bvec4:4,mat2:4,mat3:9,mat4:16,sampler2D:1};function Vn(t){return Hn[t]}var zn=null,Wn={FLOAT:"float",FLOAT_VEC2:"vec2",FLOAT_VEC3:"vec3",FLOAT_VEC4:"vec4",INT:"int",INT_VEC2:"ivec2",INT_VEC3:"ivec3",INT_VEC4:"ivec4",UNSIGNED_INT:"uint",UNSIGNED_INT_VEC2:"uvec2",UNSIGNED_INT_VEC3:"uvec3",UNSIGNED_INT_VEC4:"uvec4",BOOL:"bool",BOOL_VEC2:"bvec2",BOOL_VEC3:"bvec3",BOOL_VEC4:"bvec4",FLOAT_MAT2:"mat2",FLOAT_MAT3:"mat3",FLOAT_MAT4:"mat4",SAMPLER_2D:"sampler2D",INT_SAMPLER_2D:"sampler2D",UNSIGNED_INT_SAMPLER_2D:"sampler2D",SAMPLER_CUBE:"samplerCube",INT_SAMPLER_CUBE:"samplerCube",UNSIGNED_INT_SAMPLER_CUBE:"samplerCube",SAMPLER_2D_ARRAY:"sampler2DArray",INT_SAMPLER_2D_ARRAY:"sampler2DArray",UNSIGNED_INT_SAMPLER_2D_ARRAY:"sampler2DArray"};function Xn(t,e){if(!zn){var n=Object.keys(Wn);zn={};for(var r=0;r0&&(e+="\nelse "),n0?this._useCurrent():t.disable(t.SCISSOR_TEST)},e.prototype._useCurrent=function(){var t=this.maskStack[this.maskStack.length-1]._scissorRect,e=this.renderer.renderTexture.current,n=this.renderer.projection,r=n.transform,i=n.sourceFrame,o=n.destinationFrame,s=e?e.resolution:this.renderer.resolution,a=o.width/i.width,u=o.height/i.height,c=((t.x-i.x)*a+o.x)*s,h=((t.y-i.y)*u+o.y)*s,l=t.width*a*s,d=t.height*u*s;r&&(c+=r.tx*s,h+=r.ty*s),e||(h=this.renderer.height-d-h),c=Math.round(c),h=Math.round(h),l=Math.round(l),d=Math.round(d),this.renderer.gl.scissor(c,h,l,d)},e}(hr),dr=function(t){function e(e){var n=t.call(this,e)||this;return n.glConst=WebGLRenderingContext.STENCIL_TEST,n}return Ye(e,t),e.prototype.getStackLength=function(){var t=this.maskStack[this.maskStack.length-1];return t?t._stencilCounter:0},e.prototype.push=function(t){var e=t.maskObject,n=this.renderer.gl,r=t._stencilCounter;0===r&&(this.renderer.framebuffer.forceStencil(),n.enable(n.STENCIL_TEST)),t._stencilCounter++,n.colorMask(!1,!1,!1,!1),n.stencilFunc(n.EQUAL,r,4294967295),n.stencilOp(n.KEEP,n.KEEP,n.INCR),e.renderable=!0,e.render(this.renderer),this.renderer.batch.flush(),e.renderable=!1,this._useCurrent()},e.prototype.pop=function(t){var e=this.renderer.gl;0===this.getStackLength()?(e.disable(e.STENCIL_TEST),e.clearStencil(0),e.clear(e.STENCIL_BUFFER_BIT)):(e.colorMask(!1,!1,!1,!1),e.stencilOp(e.KEEP,e.KEEP,e.DECR),t.renderable=!0,t.render(this.renderer),this.renderer.batch.flush(),t.renderable=!1,this._useCurrent())},e.prototype._useCurrent=function(){var t=this.renderer.gl;t.colorMask(!0,!0,!0,!0),t.stencilFunc(t.EQUAL,this.getStackLength(),4294967295),t.stencilOp(t.KEEP,t.KEEP,t.KEEP)},e}(hr),fr=function(){function t(t){this.renderer=t,this.destinationFrame=null,this.sourceFrame=null,this.defaultFrame=null,this.projectionMatrix=new ne,this.transform=null}return t.prototype.update=function(t,e,n,r){this.destinationFrame=t||this.destinationFrame||this.defaultFrame,this.sourceFrame=e||this.sourceFrame||t,this.calculateProjection(this.destinationFrame,this.sourceFrame,n,r),this.transform&&this.projectionMatrix.append(this.transform);var i=this.renderer;i.globalUniforms.uniforms.projectionMatrix=this.projectionMatrix,i.globalUniforms.update(),i.shader.shader&&i.shader.syncUniformGroup(i.shader.shader.uniforms.globals)},t.prototype.calculateProjection=function(t,e,n,r){var i=this.projectionMatrix,o=r?-1:1;i.identity(),i.a=1/e.width*2,i.d=o*(1/e.height*2),i.tx=-1-e.x*i.a,i.ty=-o-e.y*i.d},t.prototype.setTransform=function(t){},t.prototype.destroy=function(){this.renderer=null},t}(),pr=new Kt,_r=new Kt,mr=function(){function t(t){this.renderer=t,this.clearColor=t._backgroundColorRgba,this.defaultMaskStack=[],this.current=null,this.sourceFrame=new Kt,this.destinationFrame=new Kt,this.viewportFrame=new Kt}return t.prototype.bind=function(t,e,n){void 0===t&&(t=null);var r,i,o,s=this.renderer;this.current=t,t?(o=(r=t.baseTexture).resolution,e||(pr.width=t.frame.width,pr.height=t.frame.height,e=pr),n||(_r.x=t.frame.x,_r.y=t.frame.y,_r.width=e.width,_r.height=e.height,n=_r),i=r.framebuffer):(o=s.resolution,e||(pr.width=s.screen.width,pr.height=s.screen.height,e=pr),n||((n=pr).width=e.width,n.height=e.height));var a=this.viewportFrame;a.x=n.x*o,a.y=n.y*o,a.width=n.width*o,a.height=n.height*o,t||(a.y=s.view.height-(a.y+a.height)),a.ceil(),this.renderer.framebuffer.bind(i,a),this.renderer.projection.update(n,e,o,!i),t?this.renderer.mask.setMaskStack(r.maskStack):this.renderer.mask.setMaskStack(this.defaultMaskStack),this.sourceFrame.copyFrom(e),this.destinationFrame.copyFrom(n)},t.prototype.clear=function(t,e){t=this.current?t||this.current.baseTexture.clearColor:t||this.clearColor;var n=this.destinationFrame,r=this.current?this.current.baseTexture:this.renderer.screen,i=n.width!==r.width||n.height!==r.height;if(i){var o=this.viewportFrame,s=o.x,a=o.y,u=o.width,c=o.height;s=Math.round(s),a=Math.round(a),u=Math.round(u),c=Math.round(c),this.renderer.gl.enable(this.renderer.gl.SCISSOR_TEST),this.renderer.gl.scissor(s,a,u,c)}this.renderer.framebuffer.clear(t[0],t[1],t[2],t[3],e),i&&this.renderer.scissor.pop()},t.prototype.resize=function(){this.bind(null)},t.prototype.reset=function(){this.bind(null)},t.prototype.destroy=function(){this.renderer=null},t}();function yr(t,e,n,r,i){n.buffer.update(i)}var vr={float:"\n data[offset] = v;\n ",vec2:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n ",vec3:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n data[offset+2] = v[2];\n\n ",vec4:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n data[offset+2] = v[2];\n data[offset+3] = v[3];\n ",mat2:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n\n data[offset+4] = v[2];\n data[offset+5] = v[3];\n ",mat3:"\n data[offset] = v[0];\n data[offset+1] = v[1];\n data[offset+2] = v[2];\n\n data[offset + 4] = v[3];\n data[offset + 5] = v[4];\n data[offset + 6] = v[5];\n\n data[offset + 8] = v[6];\n data[offset + 9] = v[7];\n data[offset + 10] = v[8];\n ",mat4:"\n for(var i = 0; i < 16; i++)\n {\n data[offset + i] = v[i];\n }\n "},br={float:4,vec2:8,vec3:12,vec4:16,int:4,ivec2:8,ivec3:12,ivec4:16,uint:4,uvec2:8,uvec3:12,uvec4:16,bool:4,bvec2:8,bvec3:12,bvec4:16,mat2:32,mat3:48,mat4:64};function gr(t,e){if(!t.autoManage)return{size:0,syncFunc:yr};for(var n=function(t){for(var e=t.map((function(t){return{data:t,offset:0,dataLen:0,dirty:0}})),n=0,r=0,i=0,o=0;o1&&(n=Math.max(n,16)*s.data.size),s.dataLen=n,r%n!=0&&r<16){var a=r%n%16;r+=a,i+=a}r+n>16?(i=16*Math.ceil(i/16),s.offset=i,i+=n,r=n):(s.offset=i,r+=n,i+=n)}return{uboElements:e,size:i=16*Math.ceil(i/16)}}(function(t,e){var n=[];for(var r in t)e[r]&&n.push(e[r]);return n.sort((function(t,e){return t.index-e.index})),n}(t.uniforms,e)),r=n.uboElements,i=n.size,o=["\n var v = null;\n var v2 = null;\n var cv = null;\n var t = 0;\n var gl = renderer.gl\n var index = 0;\n var data = buffer.data;\n "],s=0;s1){var f=Vn(a.data.type),p=Math.max(br[a.data.type]/16,1),_=f/p,m=(4-_%4)%4;o.push("\n cv = ud."+c+".value;\n v = uv."+c+";\n offset = "+a.offset/4+";\n\n t = 0;\n\n for(var i=0; i < "+a.data.size*p+"; i++)\n {\n for(var j = 0; j < "+_+"; j++)\n {\n data[offset++] = v[t++];\n }\n offset += "+m+";\n }\n\n ")}else{var y=vr[a.data.type];o.push("\n cv = ud."+c+".value;\n v = uv."+c+";\n offset = "+a.offset/4+";\n "+y+";\n ")}}return o.push("\n renderer.buffer.update(buffer);\n "),{size:i,syncFunc:new Function("ud","uv","renderer","syncData","buffer",o.join("\n"))}}var wr=function(){function t(t,e){this.program=t,this.uniformData=e,this.uniformGroups={},this.uniformDirtyGroups={},this.uniformBufferBindings={}}return t.prototype.destroy=function(){this.uniformData=null,this.uniformGroups=null,this.uniformDirtyGroups=null,this.uniformBufferBindings=null,this.program=null},t}();function xr(t,e){var n=Pn(t,t.VERTEX_SHADER,e.vertexSrc),r=Pn(t,t.FRAGMENT_SHADER,e.fragmentSrc),i=t.createProgram();t.attachShader(i,n),t.attachShader(i,r),t.linkProgram(i),t.getProgramParameter(i,t.LINK_STATUS)||function(t,e,n,r){t.getProgramParameter(e,t.LINK_STATUS)||(t.getShaderParameter(n,t.COMPILE_STATUS)||Rn(t,n),t.getShaderParameter(r,t.COMPILE_STATUS)||Rn(t,r),console.error("PixiJS Error: Could not initialize shader."),""!==t.getProgramInfoLog(e)&&console.warn("PixiJS Warning: gl.getProgramInfoLog()",t.getProgramInfoLog(e)))}(t,i,n,r),e.attributeData=function(t,e){for(var n={},r=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES),i=0;ie?1:-1}));for(var s=0;s>=1,n++;this.stateId=t.data}for(n=0;nthis.checkCountMax&&(this.checkCount=0,this.run())))},t.prototype.run=function(){for(var t=this.renderer.texture,e=t.managedTextures,n=!1,r=0;rthis.maxIdle&&(t.destroyTexture(i,!0),e[r]=null,n=!0)}if(n){var o=0;for(r=0;r=0;r--)this.unload(t.children[r])},t.prototype.destroy=function(){this.renderer=null},t}();var Lr=function(t){this.texture=t,this.width=-1,this.height=-1,this.dirtyId=-1,this.dirtyStyleId=-1,this.mipmap=!1,this.wrapMode=33071,this.type=tt.UNSIGNED_BYTE,this.internalFormat=Z.RGBA,this.samplerType=0},Dr=function(){function t(t){this.renderer=t,this.boundTextures=[],this.currentLocation=-1,this.managedTextures=[],this._unknownBoundTextures=!1,this.unknownTexture=new Ue,this.hasIntegerTextures=!1}return t.prototype.contextChange=function(){var t=this.gl=this.renderer.gl;this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.webGLVersion=this.renderer.context.webGLVersion,this.internalFormats=function(t){var e,n,r,i,o,s,a,u,c,h,l,d,f,p,_,m,y,v,b,g,w,x,M;return"WebGL2RenderingContext"in self&&t instanceof self.WebGL2RenderingContext?((e={})[tt.UNSIGNED_BYTE]=((n={})[Z.RGBA]=t.RGBA8,n[Z.RGB]=t.RGB8,n[Z.RG]=t.RG8,n[Z.RED]=t.R8,n[Z.RGBA_INTEGER]=t.RGBA8UI,n[Z.RGB_INTEGER]=t.RGB8UI,n[Z.RG_INTEGER]=t.RG8UI,n[Z.RED_INTEGER]=t.R8UI,n[Z.ALPHA]=t.ALPHA,n[Z.LUMINANCE]=t.LUMINANCE,n[Z.LUMINANCE_ALPHA]=t.LUMINANCE_ALPHA,n),e[tt.BYTE]=((r={})[Z.RGBA]=t.RGBA8_SNORM,r[Z.RGB]=t.RGB8_SNORM,r[Z.RG]=t.RG8_SNORM,r[Z.RED]=t.R8_SNORM,r[Z.RGBA_INTEGER]=t.RGBA8I,r[Z.RGB_INTEGER]=t.RGB8I,r[Z.RG_INTEGER]=t.RG8I,r[Z.RED_INTEGER]=t.R8I,r),e[tt.UNSIGNED_SHORT]=((i={})[Z.RGBA_INTEGER]=t.RGBA16UI,i[Z.RGB_INTEGER]=t.RGB16UI,i[Z.RG_INTEGER]=t.RG16UI,i[Z.RED_INTEGER]=t.R16UI,i[Z.DEPTH_COMPONENT]=t.DEPTH_COMPONENT16,i),e[tt.SHORT]=((o={})[Z.RGBA_INTEGER]=t.RGBA16I,o[Z.RGB_INTEGER]=t.RGB16I,o[Z.RG_INTEGER]=t.RG16I,o[Z.RED_INTEGER]=t.R16I,o),e[tt.UNSIGNED_INT]=((s={})[Z.RGBA_INTEGER]=t.RGBA32UI,s[Z.RGB_INTEGER]=t.RGB32UI,s[Z.RG_INTEGER]=t.RG32UI,s[Z.RED_INTEGER]=t.R32UI,s[Z.DEPTH_COMPONENT]=t.DEPTH_COMPONENT24,s),e[tt.INT]=((a={})[Z.RGBA_INTEGER]=t.RGBA32I,a[Z.RGB_INTEGER]=t.RGB32I,a[Z.RG_INTEGER]=t.RG32I,a[Z.RED_INTEGER]=t.R32I,a),e[tt.FLOAT]=((u={})[Z.RGBA]=t.RGBA32F,u[Z.RGB]=t.RGB32F,u[Z.RG]=t.RG32F,u[Z.RED]=t.R32F,u[Z.DEPTH_COMPONENT]=t.DEPTH_COMPONENT32F,u),e[tt.HALF_FLOAT]=((c={})[Z.RGBA]=t.RGBA16F,c[Z.RGB]=t.RGB16F,c[Z.RG]=t.RG16F,c[Z.RED]=t.R16F,c),e[tt.UNSIGNED_SHORT_5_6_5]=((h={})[Z.RGB]=t.RGB565,h),e[tt.UNSIGNED_SHORT_4_4_4_4]=((l={})[Z.RGBA]=t.RGBA4,l),e[tt.UNSIGNED_SHORT_5_5_5_1]=((d={})[Z.RGBA]=t.RGB5_A1,d),e[tt.UNSIGNED_INT_2_10_10_10_REV]=((f={})[Z.RGBA]=t.RGB10_A2,f[Z.RGBA_INTEGER]=t.RGB10_A2UI,f),e[tt.UNSIGNED_INT_10F_11F_11F_REV]=((p={})[Z.RGB]=t.R11F_G11F_B10F,p),e[tt.UNSIGNED_INT_5_9_9_9_REV]=((_={})[Z.RGB]=t.RGB9_E5,_),e[tt.UNSIGNED_INT_24_8]=((m={})[Z.DEPTH_STENCIL]=t.DEPTH24_STENCIL8,m),e[tt.FLOAT_32_UNSIGNED_INT_24_8_REV]=((y={})[Z.DEPTH_STENCIL]=t.DEPTH32F_STENCIL8,y),M=e):((v={})[tt.UNSIGNED_BYTE]=((b={})[Z.RGBA]=t.RGBA,b[Z.RGB]=t.RGB,b[Z.ALPHA]=t.ALPHA,b[Z.LUMINANCE]=t.LUMINANCE,b[Z.LUMINANCE_ALPHA]=t.LUMINANCE_ALPHA,b),v[tt.UNSIGNED_SHORT_5_6_5]=((g={})[Z.RGB]=t.RGB,g),v[tt.UNSIGNED_SHORT_4_4_4_4]=((w={})[Z.RGBA]=t.RGBA,w),v[tt.UNSIGNED_SHORT_5_5_5_1]=((x={})[Z.RGBA]=t.RGBA,x),M=v),M}(t);var e=t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS);this.boundTextures.length=e;for(var n=0;n=0;--i){var o=e[i];if(o)o._glTextures[r].samplerType!==et.FLOAT&&this.renderer.texture.unbind(o)}},t.prototype.initTexture=function(t){var e=new Lr(this.gl.createTexture());return e.dirtyId=-1,t._glTextures[this.CONTEXT_UID]=e,this.managedTextures.push(t),t.on("dispose",this.destroyTexture,this),e},t.prototype.initTextureType=function(t,e){var n,r;e.internalFormat=null!==(r=null===(n=this.internalFormats[t.type])||void 0===n?void 0:n[t.format])&&void 0!==r?r:t.format,2===this.webGLVersion&&t.type===tt.HALF_FLOAT?e.type=this.gl.HALF_FLOAT:e.type=t.type},t.prototype.updateTexture=function(t){var e=t._glTextures[this.CONTEXT_UID];if(e){var n=this.renderer;if(this.initTextureType(t,e),t.resource&&t.resource.upload(n,t,e))e.samplerType!==et.FLOAT&&(this.hasIntegerTextures=!0);else{var r=t.realWidth,i=t.realHeight,o=n.gl;(e.width!==r||e.height!==i||e.dirtyId<0)&&(e.width=r,e.height=i,o.texImage2D(t.target,0,e.internalFormat,r,i,0,t.format,e.type,null))}t.dirtyStyleId!==e.dirtyStyleId&&this.updateTextureStyle(t),e.dirtyId=t.dirtyId}},t.prototype.destroyTexture=function(t,e){var n=this.gl;if((t=t.castToBaseTexture())._glTextures[this.CONTEXT_UID]&&(this.unbind(t),n.deleteTexture(t._glTextures[this.CONTEXT_UID].texture),t.off("dispose",this.destroyTexture,this),delete t._glTextures[this.CONTEXT_UID],!e)){var r=this.managedTextures.indexOf(t);-1!==r&&It(this.managedTextures,r,1)}},t.prototype.updateTextureStyle=function(t){var e=t._glTextures[this.CONTEXT_UID];e&&(t.mipmap!==it.POW2&&2===this.webGLVersion||t.isPowerOfTwo?e.mipmap=t.mipmap>=1:e.mipmap=!1,2===this.webGLVersion||t.isPowerOfTwo?e.wrapMode=t.wrapMode:e.wrapMode=rt.CLAMP,t.resource&&t.resource.style(this.renderer,t,e)||this.setStyle(t,e),e.dirtyStyleId=t.dirtyStyleId)},t.prototype.setStyle=function(t,e){var n=this.gl;if(e.mipmap&&t.mipmap!==it.ON_MANUAL&&n.generateMipmap(t.target),n.texParameteri(t.target,n.TEXTURE_WRAP_S,e.wrapMode),n.texParameteri(t.target,n.TEXTURE_WRAP_T,e.wrapMode),e.mipmap){n.texParameteri(t.target,n.TEXTURE_MIN_FILTER,t.scaleMode===nt.LINEAR?n.LINEAR_MIPMAP_LINEAR:n.NEAREST_MIPMAP_NEAREST);var r=this.renderer.context.extensions.anisotropicFiltering;if(r&&t.anisotropicLevel>0&&t.scaleMode===nt.LINEAR){var i=Math.min(t.anisotropicLevel,n.getParameter(r.MAX_TEXTURE_MAX_ANISOTROPY_EXT));n.texParameterf(t.target,r.TEXTURE_MAX_ANISOTROPY_EXT,i)}}else n.texParameteri(t.target,n.TEXTURE_MIN_FILTER,t.scaleMode===nt.LINEAR?n.LINEAR:n.NEAREST);n.texParameteri(t.target,n.TEXTURE_MAG_FILTER,t.scaleMode===nt.LINEAR?n.LINEAR:n.NEAREST)},t.prototype.destroy=function(){this.renderer=null},t}(),Cr={__proto__:null,FilterSystem:Mn,BatchSystem:Tn,ContextSystem:En,FramebufferSystem:Cn,GeometrySystem:On,MaskSystem:cr,ScissorSystem:lr,StencilSystem:dr,ProjectionSystem:fr,RenderTextureSystem:mr,ShaderSystem:Tr,StateSystem:Ar,TextureGCSystem:Er,TextureSystem:Dr},kr=new ne,Or=function(t){function e(e,n){void 0===e&&(e=J.UNKNOWN);var r=t.call(this)||this;return n=Object.assign({},dt.RENDER_OPTIONS,n),r.options=n,r.type=e,r.screen=new Kt(0,0,n.width,n.height),r.view=n.view||document.createElement("canvas"),r.resolution=n.resolution||dt.RESOLUTION,r.useContextAlpha=n.useContextAlpha,r.autoDensity=!!n.autoDensity,r.preserveDrawingBuffer=n.preserveDrawingBuffer,r.clearBeforeRender=n.clearBeforeRender,r._backgroundColor=0,r._backgroundColorRgba=[0,0,0,1],r._backgroundColorString="#000000",r.backgroundColor=n.backgroundColor||r._backgroundColor,r.backgroundAlpha=n.backgroundAlpha,void 0!==n.transparent&&(Nt("6.0.0","Option transparent is deprecated, please use backgroundAlpha instead."),r.useContextAlpha=n.transparent,r.backgroundAlpha=n.transparent?0:1),r._lastObjectRendered=null,r.plugins={},r}return Ye(e,t),e.prototype.initPlugins=function(t){for(var e in t)this.plugins[e]=new t[e](this)},Object.defineProperty(e.prototype,"width",{get:function(){return this.view.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.view.height},enumerable:!1,configurable:!0}),e.prototype.resize=function(t,e){this.view.width=Math.round(t*this.resolution),this.view.height=Math.round(e*this.resolution);var n=this.view.width/this.resolution,r=this.view.height/this.resolution;this.screen.width=n,this.screen.height=r,this.autoDensity&&(this.view.style.width=n+"px",this.view.style.height=r+"px"),this.emit("resize",n,r)},e.prototype.generateTexture=function(t,e,n,r){void 0===e&&(e={}),"number"==typeof e&&(Nt("6.1.0","generateTexture options (scaleMode, resolution, region) are now object options."),e={scaleMode:e,resolution:n,region:r});var i=e.region,o=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i=t.data.byteLength)e.bufferSubData(t.type,0,t.data);else{var i=t.static?e.STATIC_DRAW:e.DYNAMIC_DRAW;r.byteLength=t.data.byteLength,e.bufferData(t.type,t.data,i)}},t.prototype.dispose=function(t,e){if(this.managedBuffers[t.id]){delete this.managedBuffers[t.id];var n=t._glBuffers[this.CONTEXT_UID],r=this.gl;t.disposeRunner.remove(this),n&&(e||r.deleteBuffer(n.buffer),delete t._glBuffers[this.CONTEXT_UID])}},t.prototype.disposeAll=function(t){for(var e=Object.keys(this.managedBuffers),n=0;n-1){var n=["\n %c %c %c PixiJS 6.1.3 - ✰ "+t+" ✰ %c %c http://www.pixijs.com/ %c %c ♥%c♥%c♥ \n\n","background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];(e=self.console).log.apply(e,n)}else self.console&&self.console.log("PixiJS 6.1.3 - "+t+" - http://www.pixijs.com/");gt=!0}}(2===r.context.webGLVersion?"WebGL 2":"WebGL 1"),r.resize(r.options.width,r.options.height),r}return Ye(e,t),e.create=function(t){if(void 0===bt&&(bt=function(){var t={stencil:!0,failIfMajorPerformanceCaveat:dt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT};try{if(!self.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),n=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),r=!(!n||!n.getContextAttributes().stencil);if(n){var i=n.getExtension("WEBGL_lose_context");i&&i.loseContext()}return n=null,r}catch(t){return!1}}()),bt)return new e(t);throw new Error('WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.')},e.prototype.contextChange=function(){var t,e=this.gl;if(1===this.context.webGLVersion){var n=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.FRAMEBUFFER,n)}else{n=e.getParameter(e.DRAW_FRAMEBUFFER_BINDING);e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),t=e.getParameter(e.SAMPLES),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,n)}t>=ht.HIGH?this.multisample=ht.HIGH:t>=ht.MEDIUM?this.multisample=ht.MEDIUM:t>=ht.LOW?this.multisample=ht.LOW:this.multisample=ht.NONE},e.prototype.addSystem=function(t,e){var n=new t(this);if(this[e])throw new Error('Whoops! The name "'+e+'" is already in use');for(var r in this[e]=n,this.runners)this.runners[r].add(n);return this},e.prototype.render=function(t,e){var n,r,i,o;if(e&&(e instanceof sn?(Nt("6.0.0","Renderer#render arguments changed, use options instead."),n=e,r=arguments[2],i=arguments[3],o=arguments[4]):(n=e.renderTexture,r=e.clear,i=e.transform,o=e.skipUpdateTransform)),this.renderingToScreen=!n,this.runners.prerender.emit(),this.emit("prerender"),this.projection.transform=i,!this.context.isLost){if(n||(this._lastObjectRendered=t),!o){var s=t.enableTempParent();t.updateTransform(),t.disableTempParent(s)}this.renderTexture.bind(n),this.batch.currentRenderer.start(),(void 0!==r?r:this.clearBeforeRender)&&this.renderTexture.clear(),t.render(this),this.batch.currentRenderer.flush(),n&&n.baseTexture.update(),this.runners.postrender.emit(),this.projection.transform=null,this.emit("postrender")}},e.prototype.generateTexture=function(e,n,r,i){void 0===n&&(n={});var o=t.prototype.generateTexture.call(this,e,n,r,i);return this.framebuffer.blit(),o},e.prototype.resize=function(e,n){t.prototype.resize.call(this,e,n),this.runners.resize.emit(this.screen.height,this.screen.width)},e.prototype.reset=function(){return this.runners.reset.emit(),this},e.prototype.clear=function(){this.renderTexture.bind(),this.renderTexture.clear()},e.prototype.destroy=function(e){for(var n in this.runners.destroy.emit(),this.runners)this.runners[n].destroy();t.prototype.destroy.call(this,e),this.gl=null},Object.defineProperty(e.prototype,"extract",{get:function(){return Nt("6.0.0","Renderer#extract has been deprecated, please use Renderer#plugins.extract instead."),this.plugins.extract},enumerable:!1,configurable:!0}),e.registerPlugin=function(t,n){e.__plugins=e.__plugins||{},e.__plugins[t]=n},e}(Or);var Yr="attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n gl_Position = filterVertexPosition();\n vTextureCoord = filterTextureCoord();\n}\n",Br=(function(){function t(t){Nt("6.1.0","System class is deprecated, implemement ISystem interface instead."),this.renderer=t}t.prototype.destroy=function(){this.renderer=null}}(),function(){this.texArray=null,this.blend=0,this.type=$.TRIANGLES,this.start=0,this.size=0,this.data=null}),Nr=function(){function t(){this.elements=[],this.ids=[],this.count=0}return t.prototype.clear=function(){for(var t=0;tthis.size&&this.flush(),this._vertexCount+=t.vertexData.length/2,this._indexCount+=t.indices.length,this._bufferedTextures[this._bufferSize]=t._texture.baseTexture,this._bufferedElements[this._bufferSize++]=t)},e.prototype.buildTexturesAndDrawCalls=function(){var t=this._bufferedTextures,n=this.MAX_TEXTURES,r=e._textureArrayPool,i=this.renderer.batch,o=this._tempBoundTextures,s=this.renderer.textureGC.count,a=++Ue._globalBatch,u=0,c=r[0],h=0;i.copyBoundTextures(o,n);for(var l=0;l=n&&(i.boundArray(c,o,a,n),this.buildDrawCalls(c,h,l),h=l,c=r[++u],++a),d._batchEnabled=a,d.touched=s,c.elements[c.count++]=d)}c.count>0&&(i.boundArray(c,o,a,n),this.buildDrawCalls(c,h,this._bufferSize),++u,++a);for(l=0;l0&&(e+="\nelse "),n0||e.responseType===t.XHR_RESPONSE_TYPE.BUFFER)?r=200:1223===r&&(r=204),2===(r/100|0)){if(this.xhrType===t.XHR_RESPONSE_TYPE.TEXT)this.data=n,this.type=t.TYPE.TEXT;else if(this.xhrType===t.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(n),this.type=t.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT)try{if(self.DOMParser){var i=new DOMParser;this.data=i.parseFromString(n,"text/xml")}else{var o=document.createElement("div");o.innerHTML=n,this.data=o}this.type=t.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=e.response||n;this.complete()}else this.abort("["+e.status+"] "+e.statusText+": "+e.responseURL)},t.prototype._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(self.origin!==self.location.origin)return"anonymous";e=e||self.location,si||(si=document.createElement("a")),si.href=t;var n=ii(si.href,{strictMode:!0}),r=!n.port&&""===e.port||n.port===e.port,i=n.protocol?n.protocol+":":"";return n.host===e.hostname&&r&&i===e.protocol?"":"anonymous"},t.prototype._determineXhrType=function(){return t._xhrTypeMap[this.extension]||t.XHR_RESPONSE_TYPE.TEXT},t.prototype._determineLoadType=function(){return t._loadTypeMap[this.extension]||t.LOAD_TYPE.XHR},t.prototype._getExtension=function(t){void 0===t&&(t=this.url);var e="";if(this.isDataUrl){var n=t.indexOf("/");e=t.substring(n+1,t.indexOf(";",n))}else{var r=t.indexOf("?"),i=t.indexOf("#"),o=Math.min(r>-1?r:t.length,i>-1?i:t.length);e=(t=t.substring(0,o)).substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},t.prototype._getMimeFromXhrType=function(e){switch(e){case t.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case t.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case t.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case t.XHR_RESPONSE_TYPE.JSON:return"application/json";case t.XHR_RESPONSE_TYPE.DEFAULT:case t.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},t}();function li(){}function di(t){return function(){for(var e=arguments,n=[],r=0;r>2,i[1]=(3&r[0])<<4|r[1]>>4,i[2]=(15&r[1])<<2|r[2]>>6,i[3]=63&r[2],n-(t.length-1)){case 2:i[3]=64,i[2]=64;break;case 1:i[3]=64}for(o=0;o0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=33776&&t<=33779)return"s3tc";if(t>=37488&&t<=37497)return"etc";if(t>=35840&&t<=35843)return"pvrtc";if(t>=36196)return"etc1";if(t>=35986&&t<=34798)return"atc";throw new Error("Invalid (compressed) texture format given!")},e._createLevelBuffers=function(t,e,n,r,i,o,s){for(var a=new Array(n),u=t.byteOffset,c=o,h=s,l=c+r-1&~(r-1),d=h+i-1&~(i-1),f=l*d*xi[e],p=0;p1?c:l,levelHeight:n>1?h:d,levelBuffer:new Uint8Array(t.buffer,u,f)},u+=f,f=(l=(c=c>>1||1)+r-1&~(r-1))*(d=(h=h>>1||1)+i-1&~(i-1))*xi[e];return a},e}(function(t){function e(e,n){void 0===n&&(n={width:1,height:1,autoLoad:!0});var r,i,o=this;return"string"==typeof e?(r=e,i=new Uint8Array):(r=null,i=e),(o=t.call(this,i,n)||this).origin=r,o.buffer=i?new jr(i):null,o.origin&&!1!==n.autoLoad&&o.load(),i&&i.length&&(o.loaded=!0,o.onBlobLoaded(o.buffer.rawBinaryData)),o}return Si(e,t),e.prototype.onBlobLoaded=function(t){},e.prototype.load=function(){return t=this,e=void 0,r=function(){var t;return Ti(this,(function(e){switch(e.label){case 0:return[4,fetch(this.origin)];case 1:return[4,e.sent().blob()];case 2:return[4,e.sent().arrayBuffer()];case 3:return t=e.sent(),this.data=new Uint32Array(t),this.buffer=new jr(t),this.loaded=!0,this.onBlobLoaded(t),this.update(),[2,this]}}))},new((n=Promise)||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){t.done?i(t.value):new n((function(e){e(t.value)})).then(s,a)}u((r=r.apply(t,e||[])).next())}));var t,e,n,r},e}(je)),Di=function(){function t(){}return t.use=function(e,n){var r=e.data;if(e.type===hi.TYPE.JSON&&r&&r.cacheID&&r.textures){for(var i=r.textures,o=void 0,s=void 0,a=0,u=i.length;a>>=1,w>>>=1}var M=148;for(x=0;x<_;x++)y.push(new Uint8Array(t,M,b)),M+=b}return y.map((function(t){return new Li(t,{format:m,width:i,height:r,levels:o})}))}if(64&a)throw new Error("DDSLoader does not support uncompressed texture data.");if(512&a)throw new Error("DDSLoader does not supported YUV uncompressed texture data.");if(131072&a)throw new Error("DDSLoader does not support single-channel (lumninance) texture data!");if(2&a)throw new Error("DDSLoader does not support single-channel (alpha) texture data!");throw new Error("DDSLoader failed to load a texture file due to an unknown reason!")},t}();hi.setExtensionXhrType("ktx",hi.XHR_RESPONSE_TYPE.BUFFER);var Ji=[171,75,84,88,32,49,49,187,13,10,26,10],Ki=12,qi=16,$i=24,Zi=28,Qi=36,to=40,eo=44,no=48,ro=52,io=56,oo=60,so=((Gi={})[tt.UNSIGNED_BYTE]=1,Gi[tt.UNSIGNED_SHORT]=2,Gi[tt.FLOAT]=4,Gi[tt.HALF_FLOAT]=8,Gi),ao=((Hi={})[Z.RGBA]=4,Hi[Z.RGB]=3,Hi[Z.LUMINANCE]=1,Hi[Z.LUMINANCE_ALPHA]=2,Hi[Z.ALPHA]=1,Hi),uo=((Vi={})[tt.UNSIGNED_SHORT_4_4_4_4]=2,Vi[tt.UNSIGNED_SHORT_5_5_5_1]=2,Vi[tt.UNSIGNED_SHORT_5_6_5]=2,Vi),co=function(){function t(){}return t.use=function(e,n){if("ktx"===e.extension&&e.data)try{var r=e.name||e.url;Object.assign(e,Ci(r,t.parse(r,e.data),e.metadata))}catch(t){return void n(t)}n()},t.parse=function(e,n){var r=new DataView(n);if(!t.validate(e,r))return null;var i=67305985===r.getUint32(Ki,!0),o=r.getUint32(qi,i),s=r.getUint32($i,i),a=r.getUint32(Zi,i),u=r.getUint32(Qi,i),c=r.getUint32(to,i)||1,h=r.getUint32(eo,i)||1,l=r.getUint32(no,i)||1,d=r.getUint32(ro,i),f=r.getUint32(io,i),p=r.getUint32(oo,i);if(0===c||1!==h)throw new Error("Only 2D textures are supported");if(1!==d)throw new Error("CubeTextures are not supported by KTXLoader yet!");if(1!==l)throw new Error("WebGL does not support array textures");var _,m=u+3&-4,y=c+3&-4,v=new Array(l),b=u*c;if(0===o&&(b=m*y),void 0===(_=0!==o?so[o]?so[o]*ao[s]:uo[o]:xi[a]))throw new Error("Unable to resolve the pixel format stored in the *.ktx file!");for(var g=b*_,w=u,x=c,M=m,S=y,T=64+p,A=0;A1?w:M,levelHeight:f>1?x:S,levelBuffer:new Uint8Array(n,L,g)},L+=g}T=(T+=E+4)%4!=0?T+4-T%4:T,g=(M=(w=w>>1||1)+4-1&-4)*(S=(x=x>>1||1)+4-1&-4)*_}if(0!==o)throw new Error("TODO: Uncompressed");return v.map((function(t){return new Li(null,{format:a,width:u,height:c,levels:f,levelBuffers:t})}))},t.validate=function(t,e){for(var n=0;n16384&&(r=16384),o._properties=[!1,!0,!1,!1,!1],o._maxSize=e,o._batchSize=r,o._buffers=null,o._bufferUpdateIDs=[],o._updateID=0,o.interactiveChildren=!1,o.blendMode=q.NORMAL,o.autoResize=i,o.roundPixels=!0,o.baseTexture=null,o.setProperties(n),o._tint=0,o.tintRgb=new Float32Array(4),o.tint=16777215,o}lo(e,t),e.prototype.setProperties=function(t){t&&(this._properties[0]="vertices"in t||"scale"in t?!!t.vertices||!!t.scale:this._properties[0],this._properties[1]="position"in t?!!t.position:this._properties[1],this._properties[2]="rotation"in t?!!t.rotation:this._properties[2],this._properties[3]="uvs"in t?!!t.uvs:this._properties[3],this._properties[4]="tint"in t||"alpha"in t?!!t.tint||!!t.alpha:this._properties[4])},e.prototype.updateTransform=function(){this.displayObjectUpdateTransform()},Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,xt(t,this.tintRgb)},enumerable:!1,configurable:!0}),e.prototype.render=function(t){var e=this;this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable&&(this.baseTexture||(this.baseTexture=this.children[0]._texture.baseTexture,this.baseTexture.valid||this.baseTexture.once("update",(function(){return e.onChildrenChange(0)}))),t.batch.setObjectRenderer(t.plugins.particle),t.plugins.particle.render(this))},e.prototype.onChildrenChange=function(t){for(var e=Math.floor(t/this._batchSize);this._bufferUpdateIDs.lengthn&&!t.autoResize&&(o=n);var s=t._buffers;s||(s=t._buffers=this.generateBuffers(t));var a=e[0]._texture.baseTexture;this.state.blendMode=At(t.blendMode,a.alphaMode),i.state.set(this.state);var u,c,h,l,d=i.gl,f=t.worldTransform.copyTo(this.tempMatrix);f.prepend(i.globalUniforms.uniforms.projectionMatrix),this.shader.uniforms.translationMatrix=f.toArray(!0),this.shader.uniforms.uColor=(u=t.tintRgb,c=t.worldAlpha,h=this.shader.uniforms.uColor,l=a.alphaMode,h=h||new Float32Array(4),l||void 0===l?(h[0]=u[0]*c,h[1]=u[1]*c,h[2]=u[2]*c):(h[0]=u[0],h[1]=u[1],h[2]=u[2]),h[3]=c,h),this.shader.uniforms.uSampler=a,this.renderer.shader.bind(this.shader);for(var p=!1,_=0,m=0;_r&&(y=r),m>=s.length&&s.push(this._generateOneMoreBuffer(t));var v=s[m];v.uploadDynamic(e,_,y);var b=t._bufferUpdateIDs[m]||0;(p=p||v._updateID0,c=a.alpha,h=c<1&&u?Et(a._tintRGB,c):a._tintRGB+(255*c<<24);r[o]=h,r[o+i]=h,r[o+2*i]=h,r[o+3*i]=h,o+=4*i}},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.shader&&(this.shader.destroy(),this.shader=null),this.tempMatrix=null},e}(Sn);!function(t){t.MITER="miter",t.BEVEL="bevel",t.ROUND="round"}(fo||(fo={})),function(t){t.BUTT="butt",t.ROUND="round",t.SQUARE="square"}(po||(po={}));var yo={adaptive:!0,maxLength:10,minSegments:8,maxSegments:2048,epsilon:1e-4,_segmentsCount:function(t,e){if(void 0===e&&(e=20),!this.adaptive||!t||isNaN(t))return e;var n=Math.ceil(t/this.maxLength);return nthis.maxSegments&&(n=this.maxSegments),n}},vo=function(){function t(){this.color=16777215,this.alpha=1,this.texture=rn.WHITE,this.matrix=null,this.visible=!1,this.reset()}return t.prototype.clone=function(){var e=new t;return e.color=this.color,e.alpha=this.alpha,e.texture=this.texture,e.matrix=this.matrix,e.visible=this.visible,e},t.prototype.reset=function(){this.color=16777215,this.alpha=1,this.texture=rn.WHITE,this.matrix=null,this.visible=!1},t.prototype.destroy=function(){this.texture=null,this.matrix=null},t}(),bo=function(t,e){return(bo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function go(t,e){function n(){this.constructor=t}bo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var wo={build:function(t){t.points=t.shape.points.slice()},triangulate:function(t,e){var n=t.points,r=t.holes,i=e.points,o=e.indices;if(n.length>=6){for(var s=[],a=0;al&&(l+=2*Math.PI);var d=h,f=l-h,p=Math.abs(f),_=Math.sqrt(u*u+c*c),m=1+(15*p*Math.sqrt(_)/Math.PI>>0),y=f/m;if(d+=y,a){s.push(t,e),s.push(n,r);for(var v=1,b=d;vv?(j?(d.push(z,W),d.push(w+T*O,x+A*O),d.push(z,W),d.push(w+E*O,x+L*O)):(d.push(w-T*k,x-A*k),d.push(X,J),d.push(w-E*k,x-L*k),d.push(X,J)),p+=2):o.join===fo.ROUND?j?(d.push(z,W),d.push(w+T*O,x+A*O),p+=Lo(w,x,w+T*O,x+A*O,w+E*O,x+L*O,d,!0)+4,d.push(z,W),d.push(w+E*O,x+L*O)):(d.push(w-T*k,x-A*k),d.push(X,J),p+=Lo(w,x,w-T*k,x-A*k,w-E*k,x-L*k,d,!1)+4,d.push(w-E*k,x-L*k),d.push(X,J)):(d.push(z,W),d.push(X,J)):(d.push(w-T*k,x-A*k),d.push(w+T*O,x+A*O),o.join===fo.BEVEL||V/y>v||(o.join===fo.ROUND?p+=j?Lo(w,x,w+T*O,x+A*O,w+E*O,x+L*O,d,!0)+2:Lo(w,x,w-T*k,x-A*k,w-E*k,x-L*k,d,!1)+2:(j?(d.push(X,J),d.push(X,J)):(d.push(z,W),d.push(z,W)),p+=2)),d.push(w-E*k,x-L*k),d.push(w+E*O,x+L*O),p+=2)}}b=r[2*(f-2)],g=r[2*(f-2)+1],w=r[2*(f-1)],T=-(g-(x=r[2*(f-1)+1])),A=b-w,T/=D=Math.sqrt(T*T+A*A),A/=D,T*=m,A*=m,d.push(w-T*k,x-A*k),d.push(w+T*O,x+A*O),u||(o.cap===po.ROUND?p+=Lo(w-T*(k-O)*.5,x-A*(k-O)*.5,w-T*k,x-A*k,w+T*O,x+A*O,d,!1)+2:o.cap===po.SQUARE&&(p+=Eo(w,x,T,A,k,O,!1,d)));var q=e.indices,$=yo.epsilon*yo.epsilon;for(I=_;Ih*a}},t.arc=function(t,e,n,r,i,o,s,a,u){for(var c=s-o,h=yo._segmentsCount(Math.abs(c)*i,40*Math.ceil(Math.abs(c)/Wt)),l=c/(2*h),d=2*l,f=Math.cos(l),p=Math.sin(l),_=h-1,m=_%1/_,y=0;y<=_;++y){var v=l+o+d*(y+m*y),b=Math.cos(v),g=-Math.sin(v);u.push((f*b+p*g)*i+n,(f*-g+p*b)*i+r)}},t}(),Oo=function(){function t(){}return t.curveLength=function(t,e,n,r,i,o,s,a){for(var u=0,c=0,h=0,l=0,d=0,f=0,p=0,_=0,m=0,y=0,v=0,b=t,g=e,w=1;w<=10;++w)y=b-(_=(p=(f=(d=1-(c=w/10))*d)*d)*t+3*f*c*n+3*d*(h=c*c)*i+(l=h*c)*s),v=g-(m=p*e+3*f*c*r+3*d*h*o+l*a),b=_,g=m,u+=Math.sqrt(y*y+v*v);return u},t.curveTo=function(e,n,r,i,o,s,a){var u=a[a.length-2],c=a[a.length-1];a.length-=2;var h=yo._segmentsCount(t.curveLength(u,c,e,n,r,i,o,s)),l=0,d=0,f=0,p=0,_=0;a.push(u,c);for(var m=1,y=0;m<=h;++m)f=(d=(l=1-(y=m/h))*l)*l,_=(p=y*y)*y,a.push(f*u+3*d*y*e+3*l*p*r+_*o,f*c+3*d*y*n+3*l*p*i+_*s)},t}(),Io=function(){function t(){}return t.curveLength=function(t,e,n,r,i,o){var s=t-2*n+i,a=e-2*r+o,u=2*n-2*t,c=2*r-2*e,h=4*(s*s+a*a),l=4*(s*u+a*c),d=u*u+c*c,f=2*Math.sqrt(h+l+d),p=Math.sqrt(h),_=2*h*p,m=2*Math.sqrt(d),y=l/p;return(_*f+p*l*(f-m)+(4*d*h-l*l)*Math.log((2*p+y+f)/(y+m)))/(4*_)},t.curveTo=function(e,n,r,i,o){for(var s=o[o.length-2],a=o[o.length-1],u=yo._segmentsCount(t.curveLength(s,a,e,n,r,i)),c=0,h=0,l=1;l<=u;++l){var d=l/u;c=s+(e-s)*d,h=a+(n-a)*d,o.push(c+(e+(r-e)*d-c)*d,h+(n+(i-n)*d-h)*d)}},t}(),Po=function(){function t(){this.reset()}return t.prototype.begin=function(t,e,n){this.reset(),this.style=t,this.start=e,this.attribStart=n},t.prototype.end=function(t,e){this.attribSize=e-this.attribStart,this.size=t-this.start},t.prototype.reset=function(){this.style=null,this.size=0,this.start=0,this.attribStart=0,this.attribSize=0},t}(),Ro=((Co={})[zt.POLY]=wo,Co[zt.CIRC]=xo,Co[zt.ELIP]=xo,Co[zt.RECT]=Mo,Co[zt.RREC]=Ao,Co),Yo=[],Bo=[];function No(t){for(var e=t.points,n=0,r=0;r0}var jo=function(){function t(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),this.points=[],this.holes=[],this.shape=t,this.lineStyle=n,this.fillStyle=e,this.matrix=r,this.type=t.type}return t.prototype.clone=function(){return new t(this.shape,this.fillStyle,this.lineStyle,this.matrix)},t.prototype.destroy=function(){this.shape=null,this.holes.length=0,this.holes=null,this.points.length=0,this.points=null,this.lineStyle=null,this.fillStyle=null},t}(),Fo=new te,Uo=new de,Go=function(t){function e(){var e=t.call(this)||this;return e.closePointEps=1e-4,e.boundsPadding=0,e.uvsFloat32=null,e.indicesUint16=null,e.batchable=!1,e.points=[],e.colors=[],e.uvs=[],e.indices=[],e.textureIds=[],e.graphicsData=[],e.drawCalls=[],e.batchDirty=-1,e.batches=[],e.dirty=0,e.cacheDirty=-1,e.clearDirty=0,e.shapeIndex=0,e._bounds=new de,e.boundsDirty=-1,e}return go(e,t),Object.defineProperty(e.prototype,"bounds",{get:function(){return this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.calculateBounds()),this._bounds},enumerable:!1,configurable:!0}),e.prototype.invalidate=function(){this.boundsDirty=-1,this.dirty++,this.batchDirty++,this.shapeIndex=0,this.points.length=0,this.colors.length=0,this.uvs.length=0,this.indices.length=0,this.textureIds.length=0;for(var t=0;t0&&(this.invalidate(),this.clearDirty++,this.graphicsData.length=0),this},e.prototype.drawShape=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=new jo(t,e,n,r);return this.graphicsData.push(i),this.dirty++,this},e.prototype.drawHole=function(t,e){if(void 0===e&&(e=null),!this.graphicsData.length)return null;var n=new jo(t,null,null,e),r=this.graphicsData[this.graphicsData.length-1];return n.lineStyle=r.lineStyle,r.holes.push(n),this.dirty++,this},e.prototype.destroy=function(){t.prototype.destroy.call(this);for(var e=0;e0&&(i=(r=this.batches[this.batches.length-1]).style);for(var o=this.shapeIndex;o65535&&t;this.indicesUint16=y?new Uint32Array(this.indices):new Uint16Array(this.indices)}this.batchable=this.isBatchable(),this.batchable?this.packBatches():this.buildDrawCalls()}else this.batchable=!0}}else this.batchable=!0},e.prototype._compareStyles=function(t,e){return!(!t||!e)&&(t.texture.baseTexture===e.texture.baseTexture&&(t.color+t.alpha===e.color+e.alpha&&!!t.native==!!e.native))},e.prototype.validateBatching=function(){if(this.dirty===this.cacheDirty||!this.graphicsData.length)return!1;for(var t=0,e=this.graphicsData.length;t131070)return!1;for(var t=this.batches,n=0;n0&&((i=Bo.pop())||((i=new Br).texArray=new Nr),this.drawCalls.push(i)),i.start=h,i.size=0,i.texArray.count=0,i.type=c),f.touched=1,f._batchEnabled=t,f._batchLocation=o,f.wrapMode=rt.REPEAT,i.texArray.elements[i.texArray.count++]=f,o++)),i.size+=l.size,h+=l.size,a=f._batchLocation,this.addColors(n,d.color,d.alpha,l.attribSize,l.attribStart),this.addTextureIds(r,a,l.attribSize,l.attribStart)}Ue._globalBatch=t,this.packAttributes()},e.prototype.packAttributes=function(){for(var t=this.points,e=this.uvs,n=this.colors,r=this.textureIds,i=new ArrayBuffer(3*t.length*4),o=new Float32Array(i),s=new Uint32Array(i),a=0,u=0;u>16)+(65280&e)+((255&e)<<16),n);t.length=Math.max(t.length,i+r);for(var s=0;s0&&t.alpha>0;return e?(t.matrix&&(t.matrix=t.matrix.clone(),t.matrix.invert()),Object.assign(this._lineStyle,{visible:e},t)):this._lineStyle.reset(),this},e.prototype.startPoly=function(){if(this.currentPath){var t=this.currentPath.points,e=this.currentPath.points.length;e>2&&(this.drawShape(this.currentPath),this.currentPath=new Zt,this.currentPath.closeStroke=!1,this.currentPath.points.push(t[e-2],t[e-1]))}else this.currentPath=new Zt,this.currentPath.closeStroke=!1},e.prototype.finishPoly=function(){this.currentPath&&(this.currentPath.points.length>2?(this.drawShape(this.currentPath),this.currentPath=null):this.currentPath.points.length=0)},e.prototype.moveTo=function(t,e){return this.startPoly(),this.currentPath.points[0]=t,this.currentPath.points[1]=e,this},e.prototype.lineTo=function(t,e){this.currentPath||this.moveTo(0,0);var n=this.currentPath.points,r=n[n.length-2],i=n[n.length-1];return r===t&&i===e||n.push(t,e),this},e.prototype._initCurve=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.currentPath?0===this.currentPath.points.length&&(this.currentPath.points=[t,e]):this.moveTo(t,e)},e.prototype.quadraticCurveTo=function(t,e,n,r){this._initCurve();var i=this.currentPath.points;return 0===i.length&&this.moveTo(0,0),Io.curveTo(t,e,n,r,i),this},e.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._initCurve(),Oo.curveTo(t,e,n,r,i,o,this.currentPath.points),this},e.prototype.arcTo=function(t,e,n,r,i){this._initCurve(t,e);var o=this.currentPath.points,s=ko.curveTo(t,e,n,r,i,o);if(s){var a=s.cx,u=s.cy,c=s.radius,h=s.startAngle,l=s.endAngle,d=s.anticlockwise;this.arc(a,u,c,h,l,d)}return this},e.prototype.arc=function(t,e,n,r,i,o){if(void 0===o&&(o=!1),r===i)return this;if(!o&&i<=r?i+=Wt:o&&r<=i&&(r+=Wt),0===i-r)return this;var s=t+Math.cos(r)*n,a=e+Math.sin(r)*n,u=this._geometry.closePointEps,c=this.currentPath?this.currentPath.points:null;if(c){var h=Math.abs(c[c.length-2]-s),l=Math.abs(c[c.length-1]-a);h0;return e?(t.matrix&&(t.matrix=t.matrix.clone(),t.matrix.invert()),Object.assign(this._fillStyle,{visible:e},t)):this._fillStyle.reset(),this},e.prototype.endFill=function(){return this.finishPoly(),this._fillStyle.reset(),this},e.prototype.drawRect=function(t,e,n,r){return this.drawShape(new Kt(t,e,n,r))},e.prototype.drawRoundedRect=function(t,e,n,r,i){return this.drawShape(new Qt(t,e,n,r,i))},e.prototype.drawCircle=function(t,e,n){return this.drawShape(new qt(t,e,n))},e.prototype.drawEllipse=function(t,e,n,r){return this.drawShape(new $t(t,e,n,r))},e.prototype.drawPolygon=function(){for(var t,e=arguments,n=[],r=0;r>16&255)/255*i,o.tint[1]=(r>>8&255)/255*i,o.tint[2]=(255&r)/255*i,o.tint[3]=i,t.shader.bind(e),t.geometry.bind(n,e),t.state.set(this.state);for(var a=0,u=s.length;a>16)+(65280&i)+((255&i)<<16)}}},e.prototype.calculateVertices=function(){var t=this.transform._worldID;if(this._transformID!==t){this._transformID=t;for(var e=this.transform.worldTransform,n=e.a,r=e.b,i=e.c,o=e.d,s=e.tx,a=e.ty,u=this._geometry.points,c=this.vertexData,h=0,l=0;l=r&&Ko.x=i&&Ko.y>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||rn.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),e}(ve),Zo=function(t,e){return(Zo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){t[t.LINEAR_VERTICAL=0]="LINEAR_VERTICAL",t[t.LINEAR_HORIZONTAL=1]="LINEAR_HORIZONTAL"}(Jo||(Jo={}));var Qo={align:"left",breakWords:!1,dropShadow:!1,dropShadowAlpha:1,dropShadowAngle:Math.PI/6,dropShadowBlur:0,dropShadowColor:"black",dropShadowDistance:5,fill:"black",fillGradientType:Jo.LINEAR_VERTICAL,fillGradientStops:[],fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",letterSpacing:0,lineHeight:0,lineJoin:"miter",miterLimit:10,padding:0,stroke:"black",strokeThickness:0,textBaseline:"alphabetic",trim:!1,whiteSpace:"pre",wordWrap:!1,wordWrapWidth:100,leading:0},ts=["serif","sans-serif","monospace","cursive","fantasy","system-ui"],es=function(){function t(t){this.styleID=0,this.reset(),is(this,t,t)}return t.prototype.clone=function(){var e={};return is(e,this,Qo),new t(e)},t.prototype.reset=function(){is(this,Qo,Qo)},Object.defineProperty(t.prototype,"align",{get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"breakWords",{get:function(){return this._breakWords},set:function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadow",{get:function(){return this._dropShadow},set:function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowAlpha",{get:function(){return this._dropShadowAlpha},set:function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowAngle",{get:function(){return this._dropShadowAngle},set:function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowBlur",{get:function(){return this._dropShadowBlur},set:function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowColor",{get:function(){return this._dropShadowColor},set:function(t){var e=rs(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropShadowDistance",{get:function(){return this._dropShadowDistance},set:function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fill",{get:function(){return this._fill},set:function(t){var e=rs(t);this._fill!==e&&(this._fill=e,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillGradientType",{get:function(){return this._fillGradientType},set:function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fillGradientStops",{get:function(){return this._fillGradientStops},set:function(t){(function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var n=0;n=0;n--){var r=e[n].trim();!/([\"\'])[^\'\"]+\1/.test(r)&&ts.indexOf(r)<0&&(r='"'+r+'"'),e[n]=r}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},t}();function ns(t){return"number"==typeof t?Mt(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function rs(t){if(Array.isArray(t)){for(var e=0;ep)if(""!==s&&(a+=t.addLine(s),s="",o=0),t.canBreakWords(y,n.breakWords))for(var w=t.wordWrapSplit(y),x=0;xp&&(a+=t.addLine(s),f=!1,s="",o=0),s+=M,o+=E}else{s.length>0&&(a+=t.addLine(s),s="",o=0);var L=m===_.length-1;a+=t.addLine(y,!L),f=!1,s="",o=0}else g+o>p&&(f=!1,a+=t.addLine(s),s="",o=0),(s.length>0||!t.isBreakingSpace(y)||f)&&(s+=y,o+=g)}return a+=t.addLine(s,!1)},t.addLine=function(e,n){return void 0===n&&(n=!0),e=t.trimRight(e),e=n?e+"\n":e},t.getFromCache=function(t,e,n,r){var i=n[t];if("number"!=typeof i){var o=t.length*e;i=r.measureText(t).width+o,n[t]=i}return i},t.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},t.collapseNewlines=function(t){return"normal"===t},t.trimRight=function(e){if("string"!=typeof e)return"";for(var n=e.length-1;n>=0;n--){var r=e[n];if(!t.isBreakingSpace(r))break;e=e.slice(0,-1)}return e},t.isNewline=function(e){return"string"==typeof e&&t._newlines.indexOf(e.charCodeAt(0))>=0},t.isBreakingSpace=function(e,n){return"string"==typeof e&&t._breakingSpaces.indexOf(e.charCodeAt(0))>=0},t.tokenize=function(e){var n=[],r="";if("string"!=typeof e)return n;for(var i=0;ia;--d){for(_=0;_0&&p>_&&(m=(_+p)/2);var y=_+f,v=n.lineHeight*(d+1),b=y;d+10},t}();function ls(t,e){var n=!1;if(t&&t._textures&&t._textures.length)for(var r=0;r=0;e--)this.add(t.children[e]);return this},t.prototype.destroy=function(){this.ticking&&xe.system.remove(this.tick,this),this.ticking=!1,this.addHooks=null,this.uploadHooks=null,this.renderer=null,this.completes=null,this.queue=null,this.limiter=null,this.uploadHookHelper=null},t}()),xs=(function(){function t(t){this.maxMilliseconds=t,this.frameStart=0}t.prototype.beginFrame=function(){this.frameStart=Date.now()},t.prototype.allowedToUpload=function(){return Date.now()-this.frameStart=r&&As.x=i&&As.y>16)+(65280&t)+((255&t)<<16),this._colorDirty=!0)},enumerable:!1,configurable:!0}),e.prototype.update=function(){if(this._colorDirty){this._colorDirty=!1;var t=this.texture.baseTexture;Lt(this._tint,this._alpha,this.uniforms.uColor,t.alphaMode)}this.uvMatrix.update()&&(this.uniforms.uTextureMatrix=this.uvMatrix.mapCoord)},e}(rr),Bs=function(t){function e(e,n,r){var i=t.call(this)||this,o=new hn(e),s=new hn(n,!0),a=new hn(r,!0,!0);return i.addAttribute("aVertexPosition",o,2,!1,tt.FLOAT).addAttribute("aTextureCoord",s,2,!1,tt.FLOAT).addIndex(a),i._updateId=-1,i}return ks(e,t),Object.defineProperty(e.prototype,"vertexDirtyId",{get:function(){return this.buffers[0]._updateID},enumerable:!1,configurable:!0}),e}(_n),Ns=function(t,e){return(Ns=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var js=function(){this.info=[],this.common=[],this.page=[],this.char=[],this.kerning=[]},Fs=function(){function t(){}return t.test=function(t){return"string"==typeof t&&0===t.indexOf("info face=")},t.parse=function(t){var e=t.match(/^[a-z]+\s+.+$/gm),n={info:[],common:[],page:[],char:[],chars:[],kerning:[],kernings:[]};for(var r in e){var i=e[r].match(/^[a-z]+/gm)[0],o=e[r].match(/[a-zA-Z]+=([^\s"']+|"([^"]*)")/gm),s={};for(var a in o){var u=o[a].split("="),c=u[0],h=u[1].replace(/"/gm,""),l=parseFloat(h),d=isNaN(l)?h:l;s[c]=d}n[i].push(s)}var f=new js;return n.info.forEach((function(t){return f.info.push({face:t.face,size:parseInt(t.size,10)})})),n.common.forEach((function(t){return f.common.push({lineHeight:parseInt(t.lineHeight,10)})})),n.page.forEach((function(t){return f.page.push({id:parseInt(t.id,10),file:t.file})})),n.char.forEach((function(t){return f.char.push({id:parseInt(t.id,10),page:parseInt(t.page,10),x:parseInt(t.x,10),y:parseInt(t.y,10),width:parseInt(t.width,10),height:parseInt(t.height,10),xoffset:parseInt(t.xoffset,10),yoffset:parseInt(t.yoffset,10),xadvance:parseInt(t.xadvance,10)})})),n.kerning.forEach((function(t){return f.kerning.push({first:parseInt(t.first,10),second:parseInt(t.second,10),amount:parseInt(t.amount,10)})})),f},t}(),Us=function(){function t(){}return t.test=function(t){return t instanceof XMLDocument&&t.getElementsByTagName("page").length&&null!==t.getElementsByTagName("info")[0].getAttribute("face")},t.parse=function(t){for(var e=new js,n=t.getElementsByTagName("info"),r=t.getElementsByTagName("common"),i=t.getElementsByTagName("page"),o=t.getElementsByTagName("char"),s=t.getElementsByTagName("kerning"),a=0;a")>-1){var e=(new self.DOMParser).parseFromString(t,"text/xml");return Us.test(e)}return!1},t.parse=function(t){var e=(new self.DOMParser).parseFromString(t,"text/xml");return Us.parse(e)},t}(),Hs=[Fs,Us,Gs];function Vs(t){for(var e=0;e=c-S*a){if(0===v)throw new Error("[BitmapFont] textureHeight "+c+"px is too small for "+l.fontSize+"px fonts");--w,p=null,_=null,m=null,v=0,y=0,b=0}else if(b=Math.max(S+x.fontProperties.descent,b),T*a+y>=d)--w,v+=b*a,v=Math.ceil(v),y=0,b=0;else{zs(p,_,x,y,v,a,l);var A=x.text.charCodeAt(0);f.char.push({id:A,page:g.length-1,x:y/a,y:v/a,width:T,height:S,xoffset:0,yoffset:0,xadvance:Math.ceil(M-(l.dropShadow?l.dropShadowDistance:0)-(l.stroke?l.strokeThickness:0))}),y+=(T+2*s)*a,y=Math.ceil(y)}}w=0;for(var E=h.length;w0&&r.x>c&&(It(i,1+p-++m,1+b-p),b=p,p=-1,o.push(_),s.push(i.length>0?i[i.length-1].prevSpaces:0),d=Math.max(d,_),f++,r.x=0,r.y+=e.lineHeight,h=null,v=0)}}else o.push(l),s.push(-1),d=Math.max(d,l),++f,++m,r.x=0,r.y+=e.lineHeight,h=null,v=0}var S=a.charAt(a.length-1);"\r"!==S&&"\n"!==S&&(/(?:\s)/.test(S)&&(l=_),o.push(l),d=Math.max(d,l),s.push(-1));var T=[];for(b=0;b<=f;b++){var A=0;"right"===this._align?A=d-o[b]:"center"===this._align?A=(d-o[b])/2:"justify"===this._align&&(A=s[b]<0?0:(d-o[b])/s[b]),T.push(A)}var E=i.length,L={},D=[],C=this._activePagesMeshData;for(b=0;b6*R)||X.vertices.length<2*Rs.BATCHABLE_SIZE)X.vertices=new Float32Array(8*R),X.uvs=new Float32Array(8*R),X.indices=new Uint16Array(6*R);else for(var Y=X.total,B=X.vertices,N=4*Y*2;N=r&&(e=t-s-1),o+=a=a.replace("%value%",n[e].toString()),o+="\n"}return i=(i=i.replace("%blur%",o)).replace("%size%",t.toString())} /*! * @pixi/constants - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/constants is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */(o);return(s=t.call(this,a,u)||this).horizontal=e,s.resolution=i,s._quality=0,s.quality=r,s.blur=n,s}return Zs(e,t),e.prototype.apply=function(t,e,n,r){if(n?this.horizontal?this.uniforms.strength=1/n.width*(n.width/e.width):this.uniforms.strength=1/n.height*(n.height/e.height):this.horizontal?this.uniforms.strength=1/t.renderer.width*(t.renderer.width/e.width):this.uniforms.strength=1/t.renderer.height*(t.renderer.height/e.height),this.uniforms.strength*=this.strength,this.uniforms.strength/=this.passes,1===this.passes)t.applyFilter(this,e,n,r);else{var i=t.getFilterTexture(),o=t.renderer,s=e,a=i;this.state.blend=!1,t.applyFilter(this,s,a,da.CLEAR);for(var u=1;u 0.0) {\n c.rgb /= c.a;\n }\n\n vec4 result;\n\n result.r = (m[0] * c.r);\n result.r += (m[1] * c.g);\n result.r += (m[2] * c.b);\n result.r += (m[3] * c.a);\n result.r += m[4];\n\n result.g = (m[5] * c.r);\n result.g += (m[6] * c.g);\n result.g += (m[7] * c.b);\n result.g += (m[8] * c.a);\n result.g += m[9];\n\n result.b = (m[10] * c.r);\n result.b += (m[11] * c.g);\n result.b += (m[12] * c.b);\n result.b += (m[13] * c.a);\n result.b += m[14];\n\n result.a = (m[15] * c.r);\n result.a += (m[16] * c.g);\n result.a += (m[17] * c.b);\n result.a += (m[18] * c.a);\n result.a += m[19];\n\n vec3 rgb = mix(c.rgb, result.rgb, uAlpha);\n\n // Premultiply alpha again.\n rgb *= result.a;\n\n gl_FragColor = vec4(rgb, result.a);\n}\n",n)||this).alpha=1,e}return function(t,e){function n(){this.constructor=t}wa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype._loadMatrix=function(t,e){void 0===e&&(e=!1);var n=t;e&&(this._multiply(n,this.uniforms.m,t),n=this._colorMatrix(n)),this.uniforms.m=n},e.prototype._multiply=function(t,e,n){return t[0]=e[0]*n[0]+e[1]*n[5]+e[2]*n[10]+e[3]*n[15],t[1]=e[0]*n[1]+e[1]*n[6]+e[2]*n[11]+e[3]*n[16],t[2]=e[0]*n[2]+e[1]*n[7]+e[2]*n[12]+e[3]*n[17],t[3]=e[0]*n[3]+e[1]*n[8]+e[2]*n[13]+e[3]*n[18],t[4]=e[0]*n[4]+e[1]*n[9]+e[2]*n[14]+e[3]*n[19]+e[4],t[5]=e[5]*n[0]+e[6]*n[5]+e[7]*n[10]+e[8]*n[15],t[6]=e[5]*n[1]+e[6]*n[6]+e[7]*n[11]+e[8]*n[16],t[7]=e[5]*n[2]+e[6]*n[7]+e[7]*n[12]+e[8]*n[17],t[8]=e[5]*n[3]+e[6]*n[8]+e[7]*n[13]+e[8]*n[18],t[9]=e[5]*n[4]+e[6]*n[9]+e[7]*n[14]+e[8]*n[19]+e[9],t[10]=e[10]*n[0]+e[11]*n[5]+e[12]*n[10]+e[13]*n[15],t[11]=e[10]*n[1]+e[11]*n[6]+e[12]*n[11]+e[13]*n[16],t[12]=e[10]*n[2]+e[11]*n[7]+e[12]*n[12]+e[13]*n[17],t[13]=e[10]*n[3]+e[11]*n[8]+e[12]*n[13]+e[13]*n[18],t[14]=e[10]*n[4]+e[11]*n[9]+e[12]*n[14]+e[13]*n[19]+e[14],t[15]=e[15]*n[0]+e[16]*n[5]+e[17]*n[10]+e[18]*n[15],t[16]=e[15]*n[1]+e[16]*n[6]+e[17]*n[11]+e[18]*n[16],t[17]=e[15]*n[2]+e[16]*n[7]+e[17]*n[12]+e[18]*n[17],t[18]=e[15]*n[3]+e[16]*n[8]+e[17]*n[13]+e[18]*n[18],t[19]=e[15]*n[4]+e[16]*n[9]+e[17]*n[14]+e[18]*n[19]+e[19],t},e.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},e.prototype.brightness=function(t,e){var n=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.tint=function(t,e){var n=[(t>>16&255)/255,0,0,0,0,0,(t>>8&255)/255,0,0,0,0,0,(255&t)/255,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.greyscale=function(t,e){var n=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.blackAndWhite=function(t){this._loadMatrix([.3,.6,.1,0,0,.3,.6,.1,0,0,.3,.6,.1,0,0,0,0,0,1,0],t)},e.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var n=Math.cos(t),r=Math.sin(t),i=1/3,o=(0,Math.sqrt)(i),s=[n+(1-n)*i,i*(1-n)-o*r,i*(1-n)+o*r,0,0,i*(1-n)+o*r,n+i*(1-n),i*(1-n)-o*r,0,0,i*(1-n)-o*r,i*(1-n)+o*r,n+i*(1-n),0,0,0,0,0,1,0];this._loadMatrix(s,e)},e.prototype.contrast=function(t,e){var n=(t||0)+1,r=-.5*(n-1),i=[n,0,0,0,r,0,n,0,0,r,0,0,n,0,r,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.saturate=function(t,e){void 0===t&&(t=0);var n=2*t/3+1,r=-.5*(n-1),i=[n,r,r,0,0,r,n,r,0,0,r,r,n,0,0,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.desaturate=function(){this.saturate(-1)},e.prototype.negative=function(t){this._loadMatrix([-1,0,0,1,0,0,-1,0,1,0,0,0,-1,1,0,0,0,0,1,0],t)},e.prototype.sepia=function(t){this._loadMatrix([.393,.7689999,.18899999,0,0,.349,.6859999,.16799999,0,0,.272,.5339999,.13099999,0,0,0,0,0,1,0],t)},e.prototype.technicolor=function(t){this._loadMatrix([1.9125277891456083,-.8545344976951645,-.09155508482755585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0],t)},e.prototype.polaroid=function(t){this._loadMatrix([1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0],t)},e.prototype.toBGR=function(t){this._loadMatrix([0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0],t)},e.prototype.kodachrome=function(t){this._loadMatrix([1.1285582396593525,-.3967382283601348,-.03992559172921793,0,63.72958762196502,-.16404339962244616,1.0835251566291304,-.05498805115633132,0,24.732407896706203,-.16786010706155763,-.5603416277695248,1.6014850761964943,0,35.62982807460946,0,0,0,1,0],t)},e.prototype.browni=function(t){this._loadMatrix([.5997023498159715,.34553243048391263,-.2708298674538042,0,47.43192855600873,-.037703249837783157,.8609577587992641,.15059552388459913,0,-36.96841498319127,.24113635128153335,-.07441037908422492,.44972182064877153,0,-7.562075277591283,0,0,0,1,0],t)},e.prototype.vintage=function(t){this._loadMatrix([.6279345635605994,.3202183420819367,-.03965408211312453,0,9.651285835294123,.02578397704808868,.6441188644374771,.03259127616149294,0,7.462829176470591,.0466055556782719,-.0851232987247891,.5241648018700465,0,5.159190588235296,0,0,0,1,0],t)},e.prototype.colorTone=function(t,e,n,r,i){var o=((n=n||16770432)>>16&255)/255,s=(n>>8&255)/255,a=(255&n)/255,u=((r=r||3375104)>>16&255)/255,c=(r>>8&255)/255,h=(255&r)/255,l=[.3,.59,.11,0,0,o,s,a,t=t||.2,0,u,c,h,e=e||.15,0,o-u,s-c,a-h,0,0];this._loadMatrix(l,i)},e.prototype.night=function(t,e){var n=[-2*(t=t||.1),-t,0,0,0,-t,0,t,0,0,0,t,2*t,0,0,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.predator=function(t,e){var n=[11.224130630493164*t,-4.794486999511719*t,-2.8746118545532227*t,0*t,.40342438220977783*t,-3.6330697536468506*t,9.193157196044922*t,-2.951810836791992*t,0*t,-1.316135048866272*t,-3.2184197902679443*t,-4.2375030517578125*t,7.476448059082031*t,0*t,.8044459223747253*t,0,0,0,1,0];this._loadMatrix(n,e)},e.prototype.lsd=function(t){this._loadMatrix([2,-.4,.5,0,0,-.5,2,-.4,0,0,-.4,-.5,3,0,0,0,0,0,1,0],t)},e.prototype.reset=function(){this._loadMatrix([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],!1)},Object.defineProperty(e.prototype,"matrix",{get:function(){return this.uniforms.m},set:function(t){this.uniforms.m=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t},enumerable:!1,configurable:!0}),e}(or);xa.prototype.grayscale=xa.prototype.greyscale; /*! * @pixi/filter-displacement - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/filter-displacement is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var Ma=function(t,e){return(Ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){function e(e,n){var r=this,i=new ne;return e.renderable=!1,(r=t.call(this,"attribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\nuniform mat3 filterMatrix;\n\nvarying vec2 vTextureCoord;\nvarying vec2 vFilterCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aVertexPosition * (outputFrame.zw * inputSize.zw);\n}\n\nvoid main(void)\n{\n\tgl_Position = filterVertexPosition();\n\tvTextureCoord = filterTextureCoord();\n\tvFilterCoord = ( filterMatrix * vec3( vTextureCoord, 1.0) ).xy;\n}\n","varying vec2 vFilterCoord;\nvarying vec2 vTextureCoord;\n\nuniform vec2 scale;\nuniform mat2 rotation;\nuniform sampler2D uSampler;\nuniform sampler2D mapSampler;\n\nuniform highp vec4 inputSize;\nuniform vec4 inputClamp;\n\nvoid main(void)\n{\n vec4 map = texture2D(mapSampler, vFilterCoord);\n\n map -= 0.5;\n map.xy = scale * inputSize.zw * (rotation * map.xy);\n\n gl_FragColor = texture2D(uSampler, clamp(vec2(vTextureCoord.x + map.x, vTextureCoord.y + map.y), inputClamp.xy, inputClamp.zw));\n}\n",{mapSampler:e._texture,filterMatrix:i,scale:{x:1,y:1},rotation:new Float32Array([1,0,0,1])})||this).maskSprite=e,r.maskMatrix=i,null==n&&(n=20),r.scale=new te(n,n),r}(function(t,e){function n(){this.constructor=t}Ma(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.apply=function(t,e,n,r){this.uniforms.filterMatrix=t.calculateSpriteMatrix(this.maskMatrix,this.maskSprite),this.uniforms.scale.x=this.scale.x,this.uniforms.scale.y=this.scale.y;var i=this.maskSprite.worldTransform,o=Math.sqrt(i.a*i.a+i.b*i.b),s=Math.sqrt(i.c*i.c+i.d*i.d);0!==o&&0!==s&&(this.uniforms.rotation[0]=i.a/o,this.uniforms.rotation[1]=i.b/o,this.uniforms.rotation[2]=i.c/s,this.uniforms.rotation[3]=i.d/s),t.applyFilter(this,e,n,r)},Object.defineProperty(e.prototype,"map",{get:function(){return this.uniforms.mapSampler},set:function(t){this.uniforms.mapSampler=t},enumerable:!1,configurable:!0})}(or);var Sa=function(t,e){return(Sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};!function(t){function e(){return t.call(this,"\nattribute vec2 aVertexPosition;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\n\nuniform vec4 inputSize;\nuniform vec4 outputFrame;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aVertexPosition * max(outputFrame.zw, vec2(0.)) + outputFrame.xy;\n\n return vec4((projectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);\n}\n\nvoid texcoords(vec2 fragCoord, vec2 inverseVP,\n out vec2 v_rgbNW, out vec2 v_rgbNE,\n out vec2 v_rgbSW, out vec2 v_rgbSE,\n out vec2 v_rgbM) {\n v_rgbNW = (fragCoord + vec2(-1.0, -1.0)) * inverseVP;\n v_rgbNE = (fragCoord + vec2(1.0, -1.0)) * inverseVP;\n v_rgbSW = (fragCoord + vec2(-1.0, 1.0)) * inverseVP;\n v_rgbSE = (fragCoord + vec2(1.0, 1.0)) * inverseVP;\n v_rgbM = vec2(fragCoord * inverseVP);\n}\n\nvoid main(void) {\n\n gl_Position = filterVertexPosition();\n\n vFragCoord = aVertexPosition * outputFrame.zw;\n\n texcoords(vFragCoord, inputSize.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n}\n",'varying vec2 v_rgbNW;\nvarying vec2 v_rgbNE;\nvarying vec2 v_rgbSW;\nvarying vec2 v_rgbSE;\nvarying vec2 v_rgbM;\n\nvarying vec2 vFragCoord;\nuniform sampler2D uSampler;\nuniform highp vec4 inputSize;\n\n\n/**\n Basic FXAA implementation based on the code on geeks3d.com with the\n modification that the texture2DLod stuff was removed since it\'s\n unsupported by WebGL.\n\n --\n\n From:\n https://github.com/mitsuhiko/webgl-meincraft\n\n Copyright (c) 2011 by Armin Ronacher.\n\n Some rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials provided\n with the distribution.\n\n * The names of the contributors may not be used to endorse or\n promote products derived from this software without specific\n prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n#ifndef FXAA_REDUCE_MIN\n#define FXAA_REDUCE_MIN (1.0/ 128.0)\n#endif\n#ifndef FXAA_REDUCE_MUL\n#define FXAA_REDUCE_MUL (1.0 / 8.0)\n#endif\n#ifndef FXAA_SPAN_MAX\n#define FXAA_SPAN_MAX 8.0\n#endif\n\n//optimized version for mobile, where dependent\n//texture reads can be a bottleneck\nvec4 fxaa(sampler2D tex, vec2 fragCoord, vec2 inverseVP,\n vec2 v_rgbNW, vec2 v_rgbNE,\n vec2 v_rgbSW, vec2 v_rgbSE,\n vec2 v_rgbM) {\n vec4 color;\n vec3 rgbNW = texture2D(tex, v_rgbNW).xyz;\n vec3 rgbNE = texture2D(tex, v_rgbNE).xyz;\n vec3 rgbSW = texture2D(tex, v_rgbSW).xyz;\n vec3 rgbSE = texture2D(tex, v_rgbSE).xyz;\n vec4 texColor = texture2D(tex, v_rgbM);\n vec3 rgbM = texColor.xyz;\n vec3 luma = vec3(0.299, 0.587, 0.114);\n float lumaNW = dot(rgbNW, luma);\n float lumaNE = dot(rgbNE, luma);\n float lumaSW = dot(rgbSW, luma);\n float lumaSE = dot(rgbSE, luma);\n float lumaM = dot(rgbM, luma);\n float lumaMin = min(lumaM, min(min(lumaNW, lumaNE), min(lumaSW, lumaSE)));\n float lumaMax = max(lumaM, max(max(lumaNW, lumaNE), max(lumaSW, lumaSE)));\n\n mediump vec2 dir;\n dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n\n float dirReduce = max((lumaNW + lumaNE + lumaSW + lumaSE) *\n (0.25 * FXAA_REDUCE_MUL), FXAA_REDUCE_MIN);\n\n float rcpDirMin = 1.0 / (min(abs(dir.x), abs(dir.y)) + dirReduce);\n dir = min(vec2(FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n max(vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n dir * rcpDirMin)) * inverseVP;\n\n vec3 rgbA = 0.5 * (\n texture2D(tex, fragCoord * inverseVP + dir * (1.0 / 3.0 - 0.5)).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * (2.0 / 3.0 - 0.5)).xyz);\n vec3 rgbB = rgbA * 0.5 + 0.25 * (\n texture2D(tex, fragCoord * inverseVP + dir * -0.5).xyz +\n texture2D(tex, fragCoord * inverseVP + dir * 0.5).xyz);\n\n float lumaB = dot(rgbB, luma);\n if ((lumaB < lumaMin) || (lumaB > lumaMax))\n color = vec4(rgbA, texColor.a);\n else\n color = vec4(rgbB, texColor.a);\n return color;\n}\n\nvoid main() {\n\n vec4 color;\n\n color = fxaa(uSampler, vFragCoord, inputSize.zw, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n\n gl_FragColor = color;\n}\n')||this}(function(t,e){function n(){this.constructor=t}Sa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t)}(or);var Ta=function(t,e){return(Ta=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var Aa,Ea,La,Da,Ca,ka,Oa,Ia,Pa,Ra,Ya,Ba,Na,ja,Fa,Ua,Ga,Ha,Va;!function(t){function e(e,n){void 0===e&&(e=.5),void 0===n&&(n=Math.random());var r=t.call(this,Yr,"precision highp float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform float uNoise;\nuniform float uSeed;\nuniform sampler2D uSampler;\n\nfloat rand(vec2 co)\n{\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main()\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n float randomValue = rand(gl_FragCoord.xy * uSeed);\n float diff = (randomValue - 0.5) * uNoise;\n\n // Un-premultiply alpha before applying the color matrix. See issue #3539.\n if (color.a > 0.0) {\n color.rgb /= color.a;\n }\n\n color.r += diff;\n color.g += diff;\n color.b += diff;\n\n // Premultiply alpha again.\n color.rgb *= color.a;\n\n gl_FragColor = color;\n}\n",{uNoise:0,uSeed:0})||this;return r.noise=e,r.seed=n,r}(function(t,e){function n(){this.constructor=t}Ta(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),Object.defineProperty(e.prototype,"noise",{get:function(){return this.uniforms.uNoise},set:function(t){this.uniforms.uNoise=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"seed",{get:function(){return this.uniforms.uSeed},set:function(t){this.uniforms.uSeed=t},enumerable:!1,configurable:!0})}(or);!function(t){t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2"}(Aa||(Aa={})),function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS"}(Ea||(Ea={})),function(t){t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL"}(La||(La={})),function(t){t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR"}(Da||(Da={})),function(t){t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN"}(Ca||(Ca={})),function(t){t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL"}(ka||(ka={})),function(t){t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z"}(Oa||(Oa={})),function(t){t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT"}(Ia||(Ia={})),function(t){t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT"}(Pa||(Pa={})),function(t){t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR"}(Ra||(Ra={})),function(t){t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT"}(Ya||(Ya={})),function(t){t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL"}(Ba||(Ba={})),function(t){t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLY_ALPHA=2]="PREMULTIPLY_ALPHA"}(Na||(Na={})),function(t){t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT"}(ja||(ja={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(Fa||(Fa={})),function(t){t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp"}(Ua||(Ua={})),function(t){t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE"}(Ga||(Ga={})),function(t){t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH"}(Ha||(Ha={})),function(t){t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER"}(Va||(Va={}));var za=new ne;_e.prototype._cacheAsBitmap=!1,_e.prototype._cacheData=null,_e.prototype._cacheAsBitmapResolution=null,_e.prototype._cacheAsBitmapMultisample=Ha.NONE;var Wa=function(){this.textureCacheId=null,this.originalRender=null,this.originalRenderCanvas=null,this.originalCalculateBounds=null,this.originalGetLocalBounds=null,this.originalUpdateTransform=null,this.originalDestroy=null,this.originalMask=null,this.originalFilterArea=null,this.originalContainsPoint=null,this.sprite=null};Object.defineProperties(_e.prototype,{cacheAsBitmapResolution:{get:function(){return this._cacheAsBitmapResolution},set:function(t){t!==this._cacheAsBitmapResolution&&(this._cacheAsBitmapResolution=t,this.cacheAsBitmap&&(this.cacheAsBitmap=!1,this.cacheAsBitmap=!0))}},cacheAsBitmapMultisample:{get:function(){return this._cacheAsBitmapMultisample},set:function(t){t!==this._cacheAsBitmapMultisample&&(this._cacheAsBitmapMultisample=t,this.cacheAsBitmap&&(this.cacheAsBitmap=!1,this.cacheAsBitmap=!0))}},cacheAsBitmap:{get:function(){return this._cacheAsBitmap},set:function(t){var e;this._cacheAsBitmap!==t&&(this._cacheAsBitmap=t,t?(this._cacheData||(this._cacheData=new Wa),(e=this._cacheData).originalRender=this.render,e.originalRenderCanvas=this.renderCanvas,e.originalUpdateTransform=this.updateTransform,e.originalCalculateBounds=this.calculateBounds,e.originalGetLocalBounds=this.getLocalBounds,e.originalDestroy=this.destroy,e.originalContainsPoint=this.containsPoint,e.originalMask=this._mask,e.originalFilterArea=this.filterArea,this.render=this._renderCached,this.renderCanvas=this._renderCachedCanvas,this.destroy=this._cacheAsBitmapDestroy):((e=this._cacheData).sprite&&this._destroyCachedDisplayObject(),this.render=e.originalRender,this.renderCanvas=e.originalRenderCanvas,this.calculateBounds=e.originalCalculateBounds,this.getLocalBounds=e.originalGetLocalBounds,this.destroy=e.originalDestroy,this.updateTransform=e.originalUpdateTransform,this.containsPoint=e.originalContainsPoint,this._mask=e.originalMask,this.filterArea=e.originalFilterArea))}}}),_e.prototype._renderCached=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObject(t),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._render(t))},_e.prototype._initCachedDisplayObject=function(t){var e;if(!this._cacheData||!this._cacheData.sprite){var n=this.alpha;this.alpha=1,t.batch.flush();var r=this.getLocalBounds(null,!0).clone();if(this.filters){var i=this.filters[0].padding;r.pad(i)}r.ceil(dt.RESOLUTION);var o=t.renderTexture.current,s=t.renderTexture.sourceFrame.clone(),a=t.renderTexture.destinationFrame.clone(),u=t.projection.transform,c=sn.create({width:r.width,height:r.height,resolution:this.cacheAsBitmapResolution||t.resolution,multisample:null!==(e=this.cacheAsBitmapMultisample)&&void 0!==e?e:t.multisample}),h="cacheAsBitmap_"+Yt();this._cacheData.textureCacheId=h,Ue.addToCache(c.baseTexture,h),rn.addToCache(c,h);var l=this.transform.localTransform.copyTo(za).invert().translate(-r.x,-r.y);this.render=this._cacheData.originalRender,t.render(this,{renderTexture:c,clear:!0,transform:l,skipUpdateTransform:!1}),t.framebuffer.blit(),t.projection.transform=u,t.renderTexture.bind(o,s,a),this.render=this._renderCached,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null,this.alpha=n;var d=new $o(c);d.transform.worldTransform=this.transform.worldTransform,d.anchor.x=-r.x/r.width,d.anchor.y=-r.y/r.height,d.alpha=n,d._bounds=this._bounds,this._cacheData.sprite=d,this.transform._parentID=-1,this.parent?this.updateTransform():(this.enableTempParent(),this.updateTransform(),this.disableTempParent(null)),this.containsPoint=d.containsPoint.bind(d)}},_e.prototype._renderCachedCanvas=function(t){!this.visible||this.worldAlpha<=0||!this.renderable||(this._initCachedDisplayObjectCanvas(t),this._cacheData.sprite.worldAlpha=this.worldAlpha,this._cacheData.sprite._renderCanvas(t))},_e.prototype._initCachedDisplayObjectCanvas=function(t){if(!this._cacheData||!this._cacheData.sprite){var e=this.getLocalBounds(null,!0),n=this.alpha;this.alpha=1;var r=t.context,i=t._projTransform;e.ceil(dt.RESOLUTION);var o=sn.create({width:e.width,height:e.height}),s="cacheAsBitmap_"+Yt();this._cacheData.textureCacheId=s,Ue.addToCache(o.baseTexture,s),rn.addToCache(o,s);var a=za;this.transform.localTransform.copyTo(a),a.invert(),a.tx-=e.x,a.ty-=e.y,this.renderCanvas=this._cacheData.originalRenderCanvas,t.render(this,{renderTexture:o,clear:!0,transform:a,skipUpdateTransform:!1}),t.context=r,t._projTransform=i,this.renderCanvas=this._renderCachedCanvas,this.updateTransform=this.displayObjectUpdateTransform,this.calculateBounds=this._calculateCachedBounds,this.getLocalBounds=this._getCachedLocalBounds,this._mask=null,this.filterArea=null,this.alpha=n;var u=new $o(o);u.transform.worldTransform=this.transform.worldTransform,u.anchor.x=-e.x/e.width,u.anchor.y=-e.y/e.height,u.alpha=n,u._bounds=this._bounds,this._cacheData.sprite=u,this.transform._parentID=-1,this.parent?this.updateTransform():(this.parent=t._tempDisplayObjectParent,this.updateTransform(),this.parent=null),this.containsPoint=u.containsPoint.bind(u)}},_e.prototype._calculateCachedBounds=function(){this._bounds.clear(),this._cacheData.sprite.transform._worldID=this.transform._worldID,this._cacheData.sprite._calculateBounds(),this._bounds.updateID=this._boundsID},_e.prototype._getCachedLocalBounds=function(){return this._cacheData.sprite.getLocalBounds(null)},_e.prototype._destroyCachedDisplayObject=function(){this._cacheData.sprite._texture.destroy(!0),this._cacheData.sprite=null,Ue.removeFromCache(this._cacheData.textureCacheId),rn.removeFromCache(this._cacheData.textureCacheId),this._cacheData.textureCacheId=null},_e.prototype._cacheAsBitmapDestroy=function(t){this.cacheAsBitmap=!1,this.destroy(t)}, /*! * @pixi/mixin-get-child-by-name - v6.1.3 * Compiled Mon, 13 Sep 2021 15:29:31 UTC * * @pixi/mixin-get-child-by-name is licensed under the MIT License. * http://www.opensource.org/licenses/mit-license */ _e.prototype.name=null,ve.prototype.getChildByName=function(t,e){for(var n=0,r=this.children.length;n0){var d=a.x-t[h].x,f=a.y-t[h].y,p=Math.sqrt(d*d+f*f);a=t[h],s+=p/u}else s=h/(c-1);i[l]=s,i[l+1]=0,i[l+2]=s,i[l+3]=1}var _=0;for(h=0;h0?this.textureScale*this._width/2:this._width/2;r/=h,i/=h,r*=l,i*=l,o[c]=u.x+r,o[c+1]=u.y+i,o[c+2]=u.x-r,o[c+3]=u.y-i,n=u}this.buffers[0].update()}},e.prototype.update=function(){this.textureScale>0?this.build():this.updateVertices()},e}(Bs),$a=(function(t){function e(e,n,r){void 0===r&&(r=0);var i=this,o=new qa(e.height,n,r),s=new Ys(e);return r>0&&(e.baseTexture.wrapMode=rt.REPEAT),(i=t.call(this,o,s)||this).autoUpdate=!0,i}Ja(e,t),e.prototype._render=function(e){var n=this.geometry;(this.autoUpdate||n._width!==this.shader.texture.height)&&(n._width=this.shader.texture.height,n.update()),t.prototype._render.call(this,e)}}(Rs),function(t){function e(e,n,r){var i=this,o=new Ka(e.width,e.height,n,r),s=new Ys(rn.WHITE);return(i=t.call(this,o,s)||this).texture=e,i.autoResize=!0,i}return Ja(e,t),e.prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID;var t=this.geometry,e=this.shader.texture,n=e.width,r=e.height;!this.autoResize||t.width===n&&t.height===r||(t.width=this.shader.texture.width,t.height=this.shader.texture.height,t.build())},Object.defineProperty(e.prototype,"texture",{get:function(){return this.shader.texture},set:function(t){this.shader.texture!==t&&(this.shader.texture=t,this._textureID=-1,t.baseTexture.valid?this.textureUpdated():t.once("update",this.textureUpdated,this))},enumerable:!1,configurable:!0}),e.prototype._render=function(e){this._textureID!==this.shader.texture._updateID&&this.textureUpdated(),t.prototype._render.call(this,e)},e.prototype.destroy=function(e){this.shader.texture.off("update",this.textureUpdated,this),t.prototype.destroy.call(this,e)},e}(Rs)),Za=(function(t){function e(e,n,r,i,o){void 0===e&&(e=rn.EMPTY);var s=this,a=new Bs(n,r,i);a.getBuffer("aVertexPosition").static=!1;var u=new Ys(e);return(s=t.call(this,a,u,null,o)||this).autoUpdate=!0,s}Ja(e,t),Object.defineProperty(e.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!1,configurable:!0}),e.prototype._render=function(e){this.autoUpdate&&this.geometry.getBuffer("aVertexPosition").update(),t.prototype._render.call(this,e)}}(Rs),function(t){function e(e,n,r,i,o){void 0===n&&(n=10),void 0===r&&(r=10),void 0===i&&(i=10),void 0===o&&(o=10);var s=t.call(this,rn.WHITE,4,4)||this;return s._origWidth=e.orig.width,s._origHeight=e.orig.height,s._width=s._origWidth,s._height=s._origHeight,s._leftWidth=n,s._rightWidth=i,s._topHeight=r,s._bottomHeight=o,s.texture=e,s}Ja(e,t),e.prototype.textureUpdated=function(){this._textureID=this.shader.texture._updateID,this._refresh()},Object.defineProperty(e.prototype,"vertices",{get:function(){return this.geometry.getBuffer("aVertexPosition").data},set:function(t){this.geometry.getBuffer("aVertexPosition").data=t},enumerable:!1,configurable:!0}),e.prototype.updateHorizontalVertices=function(){var t=this.vertices,e=this._getMinScale();t[9]=t[11]=t[13]=t[15]=this._topHeight*e,t[17]=t[19]=t[21]=t[23]=this._height-this._bottomHeight*e,t[25]=t[27]=t[29]=t[31]=this._height},e.prototype.updateVerticalVertices=function(){var t=this.vertices,e=this._getMinScale();t[2]=t[10]=t[18]=t[26]=this._leftWidth*e,t[4]=t[12]=t[20]=t[28]=this._width-this._rightWidth*e,t[6]=t[14]=t[22]=t[30]=this._width},e.prototype._getMinScale=function(){var t=this._leftWidth+this._rightWidth,e=this._width>t?1:this._width/t,n=this._topHeight+this._bottomHeight,r=this._height>n?1:this._height/n;return Math.min(e,r)},Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"leftWidth",{get:function(){return this._leftWidth},set:function(t){this._leftWidth=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rightWidth",{get:function(){return this._rightWidth},set:function(t){this._rightWidth=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"topHeight",{get:function(){return this._topHeight},set:function(t){this._topHeight=t,this._refresh()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bottomHeight",{get:function(){return this._bottomHeight},set:function(t){this._bottomHeight=t,this._refresh()},enumerable:!1,configurable:!0}),e.prototype._refresh=function(){var t=this.texture,e=this.geometry.buffers[1].data;this._origWidth=t.orig.width,this._origHeight=t.orig.height;var n=1/this._origWidth,r=1/this._origHeight;e[0]=e[8]=e[16]=e[24]=0,e[1]=e[3]=e[5]=e[7]=0,e[6]=e[14]=e[22]=e[30]=1,e[25]=e[27]=e[29]=e[31]=1,e[2]=e[10]=e[18]=e[26]=n*this._leftWidth,e[4]=e[12]=e[20]=e[28]=1-n*this._rightWidth,e[9]=e[11]=e[13]=e[15]=r*this._topHeight,e[17]=e[19]=e[21]=e[23]=1-r*this._bottomHeight,this.updateHorizontalVertices(),this.updateVerticalVertices(),this.geometry.buffers[0].update(),this.geometry.buffers[1].update()}}($a),function(t,e){return(Za=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)});!function(t){function e(e,n){void 0===n&&(n=!0);var r=t.call(this,e[0]instanceof rn?e[0]:e[0].texture)||this;return r._textures=null,r._durations=null,r._autoUpdate=n,r._isConnectedToTicker=!1,r.animationSpeed=1,r.loop=!0,r.updateAnchor=!1,r.onComplete=null,r.onFrameChange=null,r.onLoop=null,r._currentTime=0,r._playing=!1,r._previousFrame=null,r.textures=e,r}(function(t,e){function n(){this.constructor=t}Za(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(e,t),e.prototype.stop=function(){this._playing&&(this._playing=!1,this._autoUpdate&&this._isConnectedToTicker&&(xe.shared.remove(this.update,this),this._isConnectedToTicker=!1))},e.prototype.play=function(){this._playing||(this._playing=!0,this._autoUpdate&&!this._isConnectedToTicker&&(xe.shared.add(this.update,this,be.HIGH),this._isConnectedToTicker=!0))},e.prototype.gotoAndStop=function(t){this.stop();var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture()},e.prototype.gotoAndPlay=function(t){var e=this.currentFrame;this._currentTime=t,e!==this.currentFrame&&this.updateTexture(),this.play()},e.prototype.update=function(t){if(this._playing){var e=this.animationSpeed*t,n=this.currentFrame;if(null!==this._durations){var r=this._currentTime%1*this._durations[this.currentFrame];for(r+=e/60*1e3;r<0;)this._currentTime--,r+=this._durations[this.currentFrame];var i=Math.sign(this.animationSpeed*t);for(this._currentTime=Math.floor(this._currentTime);r>=this._durations[this.currentFrame];)r-=this._durations[this.currentFrame]*i,this._currentTime+=i;this._currentTime+=r/this._durations[this.currentFrame]}else this._currentTime+=e;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):n!==this.currentFrame&&(this.loop&&this.onLoop&&(this.animationSpeed>0&&this.currentFramen)&&this.onLoop(),this.updateTexture())}},e.prototype.updateTexture=function(){var t=this.currentFrame;this._previousFrame!==t&&(this._previousFrame=t,this._texture=this._textures[t],this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this.uvs=this._texture._uvs.uvsFloat32,this.updateAnchor&&this._anchor.copyFrom(this._texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame))},e.prototype.destroy=function(e){this.stop(),t.prototype.destroy.call(this,e),this.onComplete=null,this.onFrameChange=null,this.onLoop=null},e.fromFrames=function(t){for(var n=[],r=0;r=20?"ste":"de")},week:{dow:1,doy:4}})}(n("TiKg"))},oPUo:function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("heVN"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("pCvA"))},oTRi:function(t,e,n){"use strict";var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt=e.encrypt=e.unwrapKey=e.wrapKey=void 0;var i=r(n("NthX")),o=r(n("fFdx")),s=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,h,l;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=void 0===s?"AES-KW":s,u=r.iv,void 0!==window.msCrypto){t.next=20;break}return t.prev=2,t.next=5,o.importKey("raw",n,{name:a},!1,["wrapKey","unwrapKey"]);case 5:return c=t.sent,t.next=8,o.importKey("raw",e,{name:a},!0,["wrapKey","unwrapKey"]);case 8:return h=t.sent,t.next=11,o.wrapKey("raw",h,c,{name:a,iv:u});case 11:return l=t.sent,t.abrupt("return",new Uint8Array(l));case 15:throw t.prev=15,t.t0=t.catch(2),new Error("WebCrypto_FailedToWrapKey - ".concat(t.t0.message));case 18:t.next=21;break;case 20:throw new Error("ThrowAwayIeAsap");case 21:case"end":return t.stop()}}),t,null,[[2,15]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.wrapKey=s;var a=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,h;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=void 0===s?"AES-KW":s,u=r.iv,void 0!==window.msCrypto){t.next=21;break}return t.prev=2,t.next=5,o.importKey("raw",n,{name:a},!1,["wrapKey","unwrapKey"]);case 5:return c=t.sent,t.next=8,o.unwrapKey("raw",e,c,{name:a,iv:u},{name:"AES-GCM"},!0,["encrypt","decrypt"]);case 8:return h=t.sent,t.t0=Uint8Array,t.next=12,o.exportKey("raw",h);case 12:return t.t1=t.sent,t.abrupt("return",new t.t0(t.t1));case 16:throw t.prev=16,t.t2=t.catch(2),new Error("WebCrypto_FailedToUnwrapKey - ".concat(t.t2.message));case 19:t.next=22;break;case 21:throw new Error("ThrowAwayMsIeAsap");case 22:case"end":return t.stop()}}),t,null,[[2,16]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.unwrapKey=a;var u=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,f,p,_,m,y,v,b;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=void 0===s?"AES-GCM":s,u=r.iv,c=r.additionalData,f=r.tagLength,p=h({name:a,iv:u,additionalData:c,tagLength:f}),void 0!==window.msCrypto){t.next=18;break}return t.prev=3,t.next=6,o.importKey("raw",n,p,!1,["encrypt","decrypt"]);case 6:return _=t.sent,t.next=9,o.encrypt(p,_,e);case 9:return m=t.sent,t.abrupt("return",new Uint8Array(m));case 13:throw t.prev=13,t.t0=t.catch(3),new Error("WebCrypto_EncryptionFailure: ".concat(t.t0.message));case 16:t.next=38;break;case 18:return t.prev=18,t.next=21,l("raw",n,p,!1,["encrypt","decrypt"],o);case 21:return y=t.sent,t.next=24,d(p,y,e,o);case 24:if(v=t.sent,"AES-GCM"!==a){t.next=32;break}return(b=new Uint8Array(v.ciphertext.byteLength+v.tag.byteLength)).set(new Uint8Array(v.ciphertext)),b.set(new Uint8Array(v.tag),v.ciphertext.byteLength),t.abrupt("return",b);case 32:return t.abrupt("return",new Uint8Array(v));case 33:t.next=38;break;case 35:throw t.prev=35,t.t1=t.catch(18),new Error("ThrowAwayMsIeAsap: ".concat(t.t1.message));case 38:case"end":return t.stop()}}),t,null,[[3,13],[18,35]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.encrypt=u;var c=function(){var t=(0,o.default)(i.default.mark((function t(e,n,r,o){var s,a,u,c,d,p,_,m,y,v,b;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=r.name,a=r.iv,u=r.additionalData,c=r.tagLength,d=h({name:s,iv:a,additionalData:u,tagLength:c}),window.msCrypto){t.next=18;break}return t.prev=3,t.next=6,o.importKey("raw",n,d,!1,["encrypt","decrypt"]);case 6:return p=t.sent,t.next=9,o.decrypt(d,p,e);case 9:return _=t.sent,t.abrupt("return",new Uint8Array(_));case 13:throw t.prev=13,t.t0=t.catch(3),new Error("WebCrypto_DecryptionFailure: ".concat(t.t0.message));case 16:t.next=39;break;case 18:return t.prev=18,t.next=21,l("raw",n,d,!1,["encrypt","decrypt"],o);case 21:if(m=t.sent,"AES-GCM"!==s){t.next=30;break}return v=e.slice(0,e.length-c),b=e.slice(e.length-c,e.length),t.next=27,f(Object.assign(d,{tag:b}),m,v,o);case 27:y=t.sent,t.next=33;break;case 30:return t.next=32,f(d,m,e,o);case 32:y=t.sent;case 33:return t.abrupt("return",new Uint8Array(y));case 36:throw t.prev=36,t.t1=t.catch(18),new Error("ThrowAwayMsIeAsap: ".concat(t.t1.message));case 39:case"end":return t.stop()}}),t,null,[[3,13],[18,36]])})));return function(e,n,r,i){return t.apply(this,arguments)}}();e.decrypt=c;var h=function(t){var e=t.name,n=t.iv,r=t.additionalData,i=t.tagLength,o={};switch(e){case"AES-GCM":Object.assign(o,{name:e,iv:n,tagLength:8*i}),Object.assign(o,r.length>0?{additionalData:r}:{});break;case"AES-CBC":o.name=e,o.iv=n;break;case"AES-CTR":if(0===n.length||n.length>16)throw new Error("InvalidIVLength");o.name=e,o.counter=new Uint8Array(16),o.counter.set(n),o.counter[15]+=1,o.length=128}return o},l=function(t,e,n,r,i,o){return new Promise((function(s,a){var u=o.importKey(t,e,n,r,i);u.oncomplete=function(t){s(t.target.result)},u.onerror=function(){a("KeyImportingFailed")}}))},d=function(t,e,n,r){return new Promise((function(i,o){var s=r.encrypt(t,e,n);s.oncomplete=function(t){i(t.target.result)},s.onerror=function(){o("EncryptionFailure")}}))},f=function(t,e,n,r){return new Promise((function(i,o){var s=r.decrypt(t,e,n);s.oncomplete=function(t){i(t.target.result)},s.onerror=function(){o("DecryptionFailure")}}))}},oaWn:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("TiKg"))},omOp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAlgorithmFromOid=r,e.getAlgorithmFromOidStrict=e.default=void 0;function r(t,e){return Object.keys(e).filter((function(n){return e[n].oid.toString()===t.toString()}))}e.default={namedCurves:{"P-256":{indutnyName:"p256",payloadSize:32,oid:[1,2,840,10045,3,1,7]},"P-384":{indutnyName:"p384",payloadSize:48,oid:[1,3,132,0,34]},"P-521":{indutnyName:"p521",payloadSize:66,oid:[1,3,132,0,35]},"P-256K":{indutnyName:"secp256k1",payloadSize:32,oid:[1,3,132,0,10]}},publicKeyAlgorithms:{EC:{oid:[1,2,840,10045,2,1]},RSA:{oid:[1,2,840,113549,1,1,1]}},passwordBasedEncryptionSchemes:{"pbeWithMD5AndDES-CBC":{oid:[1,2,840,113549,1,5,3],hash:"MD5",encrypt:"DES-CBC"},"pbeWithSHA1AndDES-CBC":{oid:[1,2,840,113549,1,5,10],hash:"SHA-1",encrypt:"DES-CBC"},pbes2:{oid:[1,2,840,113549,1,5,13]}},keyDerivationFunctions:{pbkdf2:{oid:[1,2,840,113549,1,5,12],defaultSaltLen:8}},pbkdf2Prfs:{hmacWithSHA1:{oid:[1,2,840,113549,2,7],hash:"SHA-1"},hmacWithSHA256:{oid:[1,2,840,113549,2,9],hash:"SHA-256"},hmacWithSHA384:{oid:[1,2,840,113549,2,10],hash:"SHA-384"},hmacWithSHA512:{oid:[1,2,840,113549,2,11],hash:"SHA-512"}},encryptionSchemes:{"des-ede3-cbc":{oid:[1,2,840,113549,3,7],keyLength:24,ivLength:8},"aes128-cbc":{oid:[2,16,840,1,101,3,4,1,2],keyLength:16,ivLength:16},"aes192-cbc":{oid:[2,16,840,1,101,3,4,1,22],keyLength:24,ivLength:16},"aes256-cbc":{oid:[2,16,840,1,101,3,4,1,42],keyLength:32,ivLength:16}},hashes:{"SHA-256":{hashSize:32},"SHA-384":{hashSize:48},"SHA-512":{hashSize:64},"SHA-1":{hashSize:20},MD5:{hashSize:16}}};e.getAlgorithmFromOidStrict=function(t,e){var n=r(t,e);if(0===n.length)throw new Error("UnsupportedAlgorithm");return n[0]}},ooRU:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.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(t){return"م"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n("TiKg"))},opZB:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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("TiKg"))},ovh1:function(t,e,n){"use strict";var r=n("5QbJ"),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return void 0===t}function a(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===i.call(t)}function h(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n0||o>0;){var h=new i;h.update(c),h.update(t),e&&h.update(e),c=h.digest();var l=0;if(s>0){var d=a.length-s;l=Math.min(s,c.length),c.copy(a,d,0,l),s-=l}if(l0){var f=u.length-o,p=Math.min(o,c.length-l);c.copy(u,f,l,l+p),o-=p}}return c.fill(0),{key:a,iv:u}}},phCo:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("fOyB").assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,n){return e instanceof o?e:new o(t,{pub:e,pubEnc:n})},o.fromPrivate=function(t,e,n){return e instanceof o?e:new o(t,{priv:e,privEnc:n})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new r(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,n){return this.ec.sign(t,this,e,n)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return""}},pkQU:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.compute=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("wQqr")),u=i(n("ldBe")),c=i(n("w1Rh")),h=n("DCHf"),l=i(n("tFbo")),d=function(){var t=(0,s.default)(o.default.mark((function t(e){var n,r,i,s,c,h,l,d=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=d.length>1&&void 0!==d[1]?d[1]:"SHA-256",!(Object.keys(u.default.hashes).indexOf(n)<0)){t.next=3;break}throw new Error("UnsupportedHashAlgorithm");case 3:if(e instanceof Uint8Array){t.next=5;break}throw new Error("UnsupportedMessageType");case 5:if(r=a.getWebCrypto(),i=a.getNodeCrypto(),s=a.getMsCrypto(),l=!0,void 0===r||"function"!=typeof r.digest||void 0!==s){t.next=15;break}return t.next=12,r.digest(n,e).catch((function(t){h=t.message,l=!1}));case 12:c=t.sent,t.next=26;break;case 15:if(void 0===i){t.next=19;break}try{c=p(n,e,i)}catch(t){h=t.message,l=!1}t.next=26;break;case 19:if(void 0===s||"function"!=typeof s.digest){t.next=25;break}return t.next=22,f(n,e,s).catch((function(t){h=t.message,l=!1}));case 22:c=t.sent,t.next=26;break;case 25:l=!1;case 26:if(l){t.next=35;break}t.prev=27,c=_(n,e),t.next=35;break;case 31:throw t.prev=31,t.t0=t.catch(27),h="".concat(h," => ").concat(t.t0.message),new Error("UnsupportedEnvironment: ".concat(h));case 35:return t.abrupt("return",new Uint8Array(c));case 36:case"end":return t.stop()}}),t,null,[[27,31]])})));return function(e){return t.apply(this,arguments)}}();e.compute=d;var f=function(t,e,n){return new Promise((function(r,i){var o=n.digest(t,e);o.oncomplete=function(t){r(t.target.result)},o.onerror=function(t){i(t)}}))},p=function(t,e,n){var r=u.default.hashes[t].nodeName,i=n.createHash(r);return i.update(e),i.digest()},_=function(t,e){var r;if("MD5"===t)r=(0,c.default)(Array.from(e),{asBytes:!0});else if(["SHA3-512","SHA3-384","SHA3-256","SHA3-224"].indexOf(t)>=0){var i=new h.SHA3(8*u.default.hashes[t].hashSize),o=n("qykS").Buffer;i.update(o.from(e)),r=i.digest("binary")}else r=l.default[u.default.hashes[t].nodeName]().update(e).digest();return new Uint8Array(r)}},plIT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n("LxOh"))&&r.__esModule?r:{default:r};var o=function(t){for(var e=t.A,n=t.C,r=t.D,o=t.W,s=0,a=0,u=0;u<5;u++){var c=2*u,h=2*(u+5),l=2*(u+10),d=2*(u+15),f=2*(u+20);n[c]=e[c]^e[h]^e[l]^e[d]^e[f],n[c+1]=e[c+1]^e[h+1]^e[l+1]^e[d+1]^e[f+1]}for(var p=0;p<5;p++){(0,i.default)(n,(p+1)%5)(o,0),s=o[0],a=o[1],o[0]=s<<1|a>>>31,o[1]=a<<1|s>>>31,r[2*p]=n[(p+4)%5*2]^o[0],r[2*p+1]=n[(p+4)%5*2+1]^o[1];for(var _=0;_<25;_+=5)e[2*(_+p)]^=r[2*p],e[2*(_+p)+1]^=r[2*p+1]}};e.default=o},psIG:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var h=c.render;c.render=function(t,e){return u.call(e),h(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},qIg4:function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="https://static.line-scdn.net/liff/edge/2/",n(n.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.liff=void 0,n(1),n(2);var r=n(3).default;e.liff=r,e.default=r},function(t,e){t.exports=n("Igas")},function(t,e){t.exports=n("wthT")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(5),o=n(6),s=n(7),a=n(8),u=n(9),c=n(10),h=n(11),l=n(12),d=n(13),f=n(14),p=n(15),_=n(16),m=n(17),y=n(18),v=n(19),b=n(20),g=n(21),w=n(22),x=n(23),M=n(24),S=n(25),T=n(26),A=n(27),E=n(28),L=Object.defineProperties({},{getOS:{value:u.getOS,enumerable:!0,writable:!0},getVersion:{value:c.getVersion,enumerable:!0,writable:!0},getLanguage:{value:h.getLanguage,enumerable:!0,writable:!0},isInClient:{value:s.isInClient,enumerable:!0,writable:!0},isLoggedIn:{value:d.isLoggedIn,enumerable:!0,writable:!0},logout:{value:f.logout,enumerable:!0,writable:!0},getAccessToken:{value:o.getAccessToken,enumerable:!0,writable:!0},getIDToken:{value:o.getIDToken,enumerable:!0,writable:!0},getDecodedIDToken:{value:o.getDecodedIDToken,enumerable:!0,writable:!0},getContext:{value:o.getContext,enumerable:!0,writable:!0},openWindow:{value:y.openWindow,enumerable:!0,writable:!0},closeWindow:{value:v.closeWindow,enumerable:!0,writable:!0},getFriendship:{value:A.attachChecker(g.getFriendship,"profile"),enumerable:!0,writable:!0},getAId:{value:o.getAId,enumerable:!0,writable:!0},getProfilePlus:{value:o.getProfilePlus,enumerable:!0,writable:!0},getIsVideoAutoPlay:{value:o.getIsVideoAutoPlay,enumerable:!0,writable:!0},getLineVersion:{value:_.getLineVersion,enumerable:!0,writable:!0},isApiAvailable:{value:m.isApiAvailable,enumerable:!0,writable:!0},getProfile:{value:A.attachChecker(l.getProfile,"profile"),enumerable:!0,writable:!0},sendMessages:{value:A.attachChecker(b.sendMessages,"chat_message.write"),enumerable:!0,writable:!0},shareTargetPicker:{value:E.shareTargetPicker,enumerable:!0,writable:!0},subWindow:{value:w.subWindow,enumerable:!0,writable:!0},ready:{value:a.ready,enumerable:!0,writable:!0},id:{get:function(){return o.getConfig().liffId||null},enumerable:!0},_dispatchEvent:{value:p.dispatch,enumerable:!0,writable:!0},_call:{value:p.call,enumerable:!0,writable:!0},_addListener:{value:p.addListener,enumerable:!0,writable:!0},_removeListener:{value:p.removeListener,enumerable:!0,writable:!0},_postMessage:{value:p.postMessage,enumerable:!0,writable:!0}}),D=new x.ModuleDriverImpl,C=new x.ModuleContextImpl(D),k=new x.UseModule(D,{namespacePrefix:""}).install(C);[new i.LoginModule(D),new r.InitModule(L,D),new M.AnalyticsModule(L),S.module,T.module,A.module].forEach((function(t){k.call(L,t)})),e.default=L},function(t,e){t.exports=n("6Bnx")},function(t,e){t.exports=n("sNJ5")},function(t,e){t.exports=n("JpNb")},function(t,e){t.exports=n("YaxJ")},function(t,e){t.exports=n("ZIm7")},function(t,e){t.exports=n("NOeq")},function(t,e){t.exports=n("8WWn")},function(t,e){t.exports=n("KZ9t")},function(t,e){t.exports=n("9hTT")},function(t,e){t.exports=n("hGkD")},function(t,e){t.exports=n("1XdC")},function(t,e){t.exports=n("cAUJ")},function(t,e){t.exports=n("53ng")},function(t,e){t.exports=n("YVk5")},function(t,e){t.exports=n("Ggl8")},function(t,e){t.exports=n("KbIP")},function(t,e){t.exports=n("Fthy")},function(t,e){t.exports=n("IChs")},function(t,e){t.exports=n("OOa2")},function(t,e){t.exports=n("I2oy")},function(t,e){t.exports=n("sXMr")},function(t,e){t.exports=n("h1m7")},function(t,e){t.exports=n("bI9i")},function(t,e){t.exports=n("Pyak")},function(t,e){t.exports=n("6vYI")}]).default},qXhl:function(t,e,n){var r=n("pRMk").Buffer,i=n("8kJ5"),o=n("6MVH").ec,s=n("LER9"),a=n("Jlhb");function u(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,n,c,h){var l=s(n);if("ec"===l.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),s=n.data.subjectPrivateKey.data;return i.verify(e,t,s)}(t,e,l)}if("dsa"===l.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,n){var r=n.data.p,o=n.data.q,a=n.data.g,c=n.data.pub_key,h=s.signature.decode(t,"der"),l=h.s,d=h.r;u(l,o),u(d,o);var f=i.mont(r),p=l.invm(o);return 0===a.toRed(f).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(f).redPow(d.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(d)}(t,e,l)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=r.concat([h,e]);for(var d=l.modulus.byteLength(),f=[1],p=0;e.length+f.length+2=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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("TiKg"))},ql4I:function(t,e,n){var r=n("pRMk").Buffer,i=n("ZG6w").Transform,o=n("soc2").StringDecoder;function s(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("wfEq")(s,i),s.prototype.update=function(t,e,n){"string"==typeof t&&(t=r.from(t,e));var i=this._update(t);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},s.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},s.prototype._finalOrDigest=function(t){var e=this.__final()||r.alloc(0);return t&&(e=this._toString(e,t,!0)),e},s.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r},t.exports=s},qwGt:function(t,e,n){"use strict";var r=n("HpGB"),i=n("HbDv");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},qykS:function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=n("KlUR"),i=n("FaXh"),o=n("kah5");function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(t).length;default:if(r)return F(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return L(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){var o,s=1,a=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var h=-1;for(o=n;oa&&(n=a-u),o=n;o>=0;o--){for(var l=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function T(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+l<=n)switch(l){case 1:c<128&&(h=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(h=u);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(h=u)}null===h?(h=65533,l=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),i+=l}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),c=this.slice(r,i),h=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return g(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function O(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function I(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function P(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function R(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Y(t,e,n,r,o){return o||R(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,o){return o||R(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||k(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||k(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||k(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||k(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||k(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||k(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||k(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||k(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||k(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||k(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||k(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||k(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||k(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||k(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||O(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);O(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);O(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return Y(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return Y(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function G(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n("pCvA"))},r6R4:function(t,e,n){"use strict";var r=n("HpGB"),i=n("siiD");function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(e,n))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},s2ex:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return i+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return i+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},s5bY:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("TiKg"))},sCZo:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,r,i){var o=function(t){var n=Math.floor(t%1e3/100),r=Math.floor(t%100/10),i=t%10,o="";return n>0&&(o+=e[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+e[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+e[i]),""===o?"pagh":o}(t);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}t.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:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},sIcz:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("TiKg"))},sNJ5:function(t,e,n){"use strict";n.r(e),n.d(e,"LoginModule",(function(){return f}));var r=n("kp3F"),i=n("QuL7"),o=n("eJvy"),s=n("JpNb"),a=n("2q8S"),u=n("8WWn"),c=n("bI9i"),h=n("YaxJ"),l=n("sUNN"),d=n.n(l),f=function(){function t(t){this.driver=t}return Object.defineProperty(t.prototype,"name",{get:function(){return"login"},enumerable:!1,configurable:!0}),t.prototype.install=function(){return this.login.bind(this)},t.prototype.login=function(t){this.driver.runSyncHook("beforeLogin",t);var e=Object(o.v)(43),n=Object(o.n)(d()(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),l=Object(s.getConfig)();if(!l||!l.liffId)throw Object(o.j)(r.g,"You need to define `liffId` for liff.login()");var f={app_id:l.liffId,state:Object(o.v)(12),response_type:"code",code_challenge_method:"S256",code_challenge:n,liff_sdk_version:Object(u.getVersion)()};t&&t.redirectUri&&(f.redirect_uri=t.redirectUri),Object(c.isSubWindow)()&&!Object(h.isInClient)()&&(f.disable_auto_login="true"),Object(s.setLoginTmp)({codeVerifier:e});var p=Object(a.b)("authorize")+"?"+o.u.stringify(f);i.a.debug("[Redirect] "+p),window.location.href=p},t}()},sTnJ:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={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ı"};t.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(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},sUNN:function(t,e,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){var t=function t(e){function n(t,e){return t>>>e|t<<32-e}for(var r,i,o=Math.pow,s=o(2,32),a="",u=[],c=8*e.length,h=t.h=t.h||[],l=t.k=t.k||[],d=l.length,f={},p=2;d<64;p++)if(!f[p]){for(r=0;r<313;r+=p)f[r]=p;h[d]=o(p,.5)*s|0,l[d++]=o(p,1/3)*s|0}for(e+="€";e.length%64-56;)e+="\0";for(r=0;r>8)return;u[r>>2]|=i<<(3-r)%4*8}for(u[u.length]=c/s|0,u[u.length]=c,i=0;i>>3)+_[r-7]+(n(v,17)^n(v,19)^v>>>10)|0);(h=[w+((n(b,2)^n(b,13)^n(b,22))+(b&h[1]^b&h[2]^h[1]&h[2]))|0].concat(h))[4]=h[4]+w|0}for(r=0;r<8;r++)h[r]=h[r]+m[r]|0}for(r=0;r<8;r++)for(i=3;i+1;i--){var x=h[r]>>8*i&255;a+=(x<16?0:"")+x.toString(16)}return a};return t.code='var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math.pow,g=f(2,32),h="length",i="",j=[],k=8*b[h],l=a.h=a.h||[],m=a.k=a.k||[],n=m[h],o={},p=2;64>n;p++)if(!o[p]){for(d=0;313>d;d+=p)o[d]=p;l[n]=f(p,.5)*g|0,m[n++]=f(p,1/3)*g|0}for(b+="\\x80";b[h]%64-56;)b+="\\x00";for(d=0;d>8)return;j[d>>2]|=e<<(3-d)%4*8}for(j[j[h]]=k/g|0,j[j[h]]=k,e=0;ed;d++){var s=q[d-15],t=q[d-2],u=l[0],v=l[4],w=l[7]+(c(v,6)^c(v,11)^c(v,25))+(v&l[5]^~v&l[6])+m[d]+(q[d]=16>d?q[d]:q[d-16]+(c(s,7)^c(s,18)^s>>>3)+q[d-7]+(c(t,17)^c(t,19)^t>>>10)|0),x=(c(u,2)^c(u,13)^c(u,22))+(u&l[1]^u&l[2]^l[1]&l[2]);l=[w+x|0].concat(l),l[4]=l[4]+w|0}for(d=0;8>d;d++)l[d]=l[d]+r[d]|0}for(d=0;8>d;d++)for(e=3;e+1;e--){var y=l[d]>>8*e&255;i+=(16>y?0:"")+y.toString(16)}return i};',t})?r.apply(e,i):r)||(t.exports=o)},sXMr:function(t,e,n){"use strict";n.r(e),n.d(e,"AnalyticsModule",(function(){return f})),n.d(e,"sendShareTargetPicker",(function(){return p}));var r=n("bb6g"),i=n("kp3F"),o=n("QuL7"),s=n("eJvy"),a=n("JpNb"),u=n("8WWn"),c=n("hGkD"),h=n("9hTT");function l(){return Object(r.b)(this,void 0,void 0,(function(){var t,e;return Object(r.d)(this,(function(n){switch(n.label){case 0:if(!Object(c.isLoggedIn)())return[3,6];n.label=1;case 1:return n.trys.push([1,5,,6]),(t=Object(a.getDecodedIDToken)())&&t.sub?[2,t.sub]:[3,2];case 2:return[4,Object(h.getProfile)()];case 3:if((e=n.sent())&&e.userId)return[2,e.userId];n.label=4;case 4:return[3,6];case 5:return n.sent(),o.a.debug("can't retrieve Mid/Uid because of something wrong"),[3,6];case 6:return[2]}}))}))}function d(){return Object(r.b)(this,void 0,void 0,(function(){var t;return Object(r.d)(this,(function(e){switch(e.label){case 0:return[4,l()];case 1:return(t=e.sent())&&"u"===t.substring(0,1)?[2,t]:[2]}}))}))}var f=function(){function t(t){this.liffCore=t,this.utsExtra={isLiffSuccessful:!1,isLoggedIn:!1,id:"",version:""},this.injected=!1}return Object.defineProperty(t,"CUSTOMPLACEID_INIT",{get:function(){return"liff.init"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"CUSTOMTYPE",{get:function(){return"liffSdk"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GENERAL_UTS_ID",{get:function(){return"liff_general"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"GENERAL_APP_NAME",{get:function(){return"LIFF General"},enumerable:!1,configurable:!0}),Object.defineProperty(t,"LiffUtsLoginStatus",{get:function(){return{isLoggedIn:1,isLiffSuccessful:2}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return"analytics"},enumerable:!1,configurable:!0}),t.prototype.install=function(t){(0,t.addHooks)({beforeInitFinished:this.beforeInitFinished.bind(this),beforeInitSuccess:this.beforeInitSuccess.bind(this),initError:this.initError.bind(this)})},t.prototype.changeRatioToUTSFormat=function(t){if(t&&Number.isFinite(t))return Math.round(100*t)},t.prototype.setExtra=function(){var e=this.utsExtra,n=e.isLiffSuccessful,r=e.isLoggedIn,i=e.id,o=e.version,s=(r?t.LiffUtsLoginStatus.isLoggedIn:0)|(n?t.LiffUtsLoginStatus.isLiffSuccessful:0);this.uts.setExtra("liff",{id:i,loginStatus:s,version:o})},t.prototype.assignUtsExtra=function(t){Object.assign(this.utsExtra,t)},t.prototype.setVersion=function(t){this.assignUtsExtra({version:t}),o.a.debug("[LIFFUTS][SDK version] "+t),this.setExtra()},t.prototype.setLiffId=function(t){this.assignUtsExtra({id:t}),o.a.debug("[LIFFUTS][LIFFID] "+t),this.setExtra()},t.prototype.setIsLoggedIn=function(t){this.assignUtsExtra({isLoggedIn:t}),o.a.debug("[LIFFUTS][isLoggedIn] "+t),this.setExtra()},t.prototype.sendLiffInit=function(){o.a.debug("[LIFFUTS][sendCustom] liff.init"),this.uts.sendCustom({type:t.CUSTOMTYPE,params:{placeId:t.CUSTOMPLACEID_INIT}})},t.prototype.setIsLiffSuccessful=function(t){this.assignUtsExtra({isLiffSuccessful:t}),o.a.debug("[LIFFUTS][isLiffInitSuccessful] "+t),this.setExtra()},t.prototype.prepareReferrer=function(t){var e={};Object.keys(t).forEach((function(n){if(i.A.includes(n)){var r=t[n];"string"==typeof r&&r&&(e[n.replace(/^liff\.ref\./,"")]=r)}})),Object.keys(e).length>0&&(this.referrer=e)},t.prototype.beforeInitFinished=function(){return Object(r.b)(this,void 0,void 0,(function(){var e,n,i,h,l,f,p,_,m,y,v,b,g;return Object(r.d)(this,(function(w){switch(w.label){case 0:if(e=s.u.parse(window.location.search),this.prepareReferrer(e),n=Object(a.getContext)(),!(i=null==n?void 0:n.utsTracking))return[2];if("auto"!==(h=i.mode)&&"force"!==h)return[3,6];o.a.debug("[LIFFUTS] "+(new Date).toUTCString()),l=Object(a.getConfig)(),f=l.liffId,p=l.analytics,w.label=1;case 1:return w.trys.push([1,3,,4]),_=this,[4,new Promise((function(t,e){var n=window.uts,r=document.createElement("script");r.type="text/javascript",r.src="https://static.line-scdn.net/uts/edge/4.0.0/uts.js",r.onload=function(){var e=window.uts;t(e),window.uts=n},r.onerror=function(t){e(t)},document.getElementsByTagName("head")[0].appendChild(r)}))];case 2:return _.uts=w.sent(),[3,4];case 3:return m=w.sent(),o.a.debug("[LIFFUTS] cannot load UTS, reason: "+m),[2];case 4:return y=void 0,v=void 0,"force"===h?(y={utsId:t.GENERAL_UTS_ID,appName:t.GENERAL_APP_NAME,appEnv:"release"},v={endpoint:"https://uts-front.line-apps.com",sampleRate:this.changeRatioToUTSFormat(i.sendRatio),version:"current"}):(y=Object(r.a)(Object(r.a)({},null==p?void 0:p.context),{utsId:(null==p?void 0:p.context.utsId)||t.GENERAL_UTS_ID,appName:(null==p?void 0:p.context.appName)||t.GENERAL_APP_NAME,appEnv:(null==p?void 0:p.context.appEnv)||"release"}),v=Object(r.a)(Object(r.a)({endpoint:"https://uts-front.line-apps.com"},null==p?void 0:p.options),{sampleRate:this.changeRatioToUTSFormat(i.sendRatio),version:"current"})),this.uts.init(y,v),[4,d()];case 5:(b=w.sent())&&(o.a.debug("[LIFFUTS][mid] "+b),this.uts.setMid(b)),(null==n?void 0:n.tid)&&(o.a.debug("[LIFFUTS][tid] "+n.tid),this.uts.setTid(n.tid)),this.referrer&&(o.a.debug("liff.ref.referrer",this.referrer),this.uts.setSessionParams(this.referrer)),f&&this.setLiffId(f),this.setIsLoggedIn(Object(c.isLoggedIn)()),this.setVersion(Object(u.getVersion)()),g=Object(s.w)(location.href),o.a.debug("[LIFFUTS][url] "+g),this.uts.setUrl(g),this.liffCore.analytics=this.uts,this.injected=!0,w.label=6;case 6:return[2]}}))}))},t.prototype.beforeInitSuccess=function(){this.injected&&(this.setIsLiffSuccessful(!0),this.sendLiffInit())},t.prototype.initError=function(){this.injected&&(this.setIsLiffSuccessful(!1),this.sendLiffInit())},t}(),p=function(t){o.a.debug("[LIFFUTS][sendCustom] liff.shareTargetPicker"),t.sendCustom({type:"liffSdk",params:{placeId:"liff.shareTargetPicker"}})}},siiD:function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},smmp:function(t,e,n){(function(e){t.exports=function(t,n){for(var r=Math.min(t.length,n.length),i=new e(r),o=0;o>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function h(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(t.lastNeed=i-1),i;if(--r=0)return i>0&&(t.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},srdS:function(t,e,n){"use strict";(function(t){var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.appendLeadingZeros=e.pruneLeadingZeros=e.getJwkType=e.getSec1KeyType=e.getAsn1KeyType=e.isAsn1Public=e.isAsn1Encrypted=void 0;var i=r(n("SDgz")),o=r(n("omOp")),s=n("zYJ4");e.isAsn1Encrypted=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"pem";try{e=a(t,n)}catch(t){return!1}return"encryptedPrivate"===e};e.isAsn1Public=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"pem";try{e=a(t,n)}catch(t){return!1}return"public"===e};var a=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"pem",r="pem"===n?i.default.formatter.pemToBin(e,"private"):e,o=s.KeyStructure.decode(t.from(r),"der");if("encryptedPrivateKeyInfo"===o.type)return"encryptedPrivate";if("oneAsymmetricKey"===o.type)return"private";if("subjectPublicKeyInfo"===o.type)return"public";throw new Error("NotSpkiNorPkcs8Key")};e.getAsn1KeyType=a;e.getSec1KeyType=function(t,e){var n;if(t instanceof Uint8Array)n="binary";else{if("string"!=typeof t)throw new Error("InvalidObjectType");n="string"}var r="string"===n?i.default.encoder.hexStringToArrayBuffer(t):t,s=o.default.namedCurves[e].payloadSize;if(r.length<=s)return"private";if(r.length===2*s+1&&4===r[0]||r.length===s+1&&(2===r[0]||3===r[0]))return"public";throw new Error("UnsupportedKeyStructure")};e.getJwkType=function(t){if("EC"===t.kty){if(t.x&&t.y&&t.d)return"private";if(t.x&&t.y)return"public";throw new Error("InvalidECKey")}if("RSA"===t.kty){if(t.n&&t.e&&t.d&&t.p&&t.q&&t.dp&&t.dq&&t.qi)return"private";if(t.n&&t.e)return"public";throw new Error("InvalidRSAKey")}throw new Error("UnsupportedJWKType")};e.pruneLeadingZeros=function(t){if(!(t instanceof Uint8Array))throw new Error("NonUint8Array");for(var e=0,n=0;ne)throw new Error("InvalidLength");var n=new Uint8Array(e);return n.set(t,e-t.length),n}}).call(this,n("qykS").Buffer)},t5Qd:function(t,e,n){t.exports=n("5Ekh").PassThrough},t6uJ:function(t,e,n){"use strict";var r=n("8kJ5"),i=n("O477"),o=n("fOyB"),s=n("cFST"),a=n("Wxe8"),u=o.assert,c=n("phCo"),h=n("DQGM");function l(t){if(!(this instanceof l))return new l(t);"string"==typeof t&&(u(Object.prototype.hasOwnProperty.call(s,t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=l,l.prototype.keyPair=function(t){return new c(this,t)},l.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},l.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},l.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||a(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var s=new r(e.generate(n));if(!(s.cmp(o)>0))return s.iaddn(1),this.keyFromPrivate(s)}},l.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},l.prototype.sign=function(t,e,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new r(t,16));for(var s=this.n.byteLength(),a=e.getPrivate().toArray("be",s),u=t.toArray("be",s),c=new i({hash:this.hash,entropy:a,nonce:u,pers:o.pers,persEnc:o.persEnc||"utf8"}),l=this.n.sub(new r(1)),d=0;;d++){var f=o.k?o.k(d):new r(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(l)>=0)){var p=this.g.mul(f);if(!p.isInfinity()){var _=p.getX(),m=_.umod(this.n);if(0!==m.cmpn(0)){var y=f.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var v=(p.getY().isOdd()?1:0)|(0!==_.cmp(m)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),v^=1),new h({r:m,s:y,recoveryParam:v})}}}}}},l.prototype.verify=function(t,e,n,i){t=this._truncateToN(new r(t,16)),n=this.keyFromPublic(n,i);var o=(e=new h(e,"hex")).r,s=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,u=s.invm(this.n),c=u.mul(t).umod(this.n),l=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,n.getPublic(),l)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(c,n.getPublic(),l)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},l.prototype.recoverPubKey=function(t,e,n,i){u((3&n)===n,"The recovery param is more than two bits"),e=new h(e,i);var o=this.n,s=new r(t),a=e.r,c=e.s,l=1&n,d=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),l):this.curve.pointFromX(a,l);var f=e.r.invm(o),p=o.sub(s).mul(f).umod(o),_=c.mul(f).umod(o);return this.g.mulAdd(p,a,_)},l.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new h(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},tFbo:function(t,e,n){var r=e;r.utils=n("HpGB"),r.common=n("DDMh"),r.sha=n("viEW"),r.ripemd=n("/QGi"),r.hmac=n("r6R4"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},tImM:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},tL86:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n("TiKg"))},"ta/H":function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapKey=e.wrapKey=e.decrypt=e.encrypt=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("wQqr")),u=r(n("Rs7L")),c=r(n("oTRi")),h=i(n("EvBf")),l=function(t){var e=t.name,n=t.iv,r=t.tagLength;if(Object.keys(h.default.ciphers).indexOf(e)<0)throw new Error("UnsupportedAlgorithm");if(h.default.ciphers[e].ivLength){if(!(n instanceof Uint8Array))throw new Error("InvalidArguments");if(n.byteLength<2||n.byteLength>16)throw new Error("InvalidIVLength");if(h.default.ciphers[e].staticIvLength&&h.default.ciphers[e].ivLength!==n.byteLength)throw new Error("InvalidIVLength")}if(h.default.ciphers[e].tagLength&&r){if(!Number.isInteger(r))throw new Error("InvalidArguments");if(r<4||r>16)throw new Error("InvalidTagLength")}},d=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,d,f,p,_,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-GCM":i,d=r.iv,f=r.additionalData,p=void 0===f?new Uint8Array([]):f,_=r.tagLength,e instanceof Uint8Array&&n instanceof Uint8Array){t.next=3;break}throw new Error("InvalidArguments");case 3:return l({name:s,iv:d,tagLength:_}),h.default.ciphers[s].tagLength&&!_&&(_=h.default.ciphers[s].tagLength),t.next=7,a.getWebCryptoAll();case 7:return m=t.sent,t.next=10,a.getNodeCrypto();case 10:if(y=t.sent,void 0===m||"function"!=typeof m.importKey||"function"!=typeof m.encrypt){t.next=15;break}return t.abrupt("return",c.encrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},m));case 15:if(void 0===y){t.next=19;break}return t.abrupt("return",u.encrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},y));case 19:throw new Error("UnsupportedEnvironment");case 20:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.encrypt=d;var f=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,d,f,p,_,m,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-GCM":i,d=r.iv,f=r.additionalData,p=void 0===f?new Uint8Array([]):f,_=r.tagLength,e instanceof Uint8Array&&n instanceof Uint8Array){t.next=3;break}throw new Error("InvalidArguments");case 3:return l({name:s,iv:d,tagLength:_}),h.default.ciphers[s].tagLength&&!_&&(_=h.default.ciphers[s].tagLength),t.next=7,a.getWebCryptoAll();case 7:return m=t.sent,t.next=10,a.getNodeCrypto();case 10:if(y=t.sent,void 0===m||"function"!=typeof m.importKey||"function"!=typeof m.encrypt){t.next=15;break}return t.abrupt("return",c.decrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},m));case 15:if(void 0===y){t.next=19;break}return t.abrupt("return",u.decrypt(e,n,{name:s,iv:d,additionalData:p,tagLength:_},y));case 19:throw new Error("UnsupportedEnvironment");case 20:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.decrypt=f;var p=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,d,f;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-KW":i,e instanceof Uint8Array){t.next=3;break}throw new Error("NonUint8ArrayData");case 3:if(n instanceof Uint8Array){t.next=5;break}throw new Error("NonUint8ArrayKey");case 5:if(!(e.length%8>0)){t.next=7;break}throw new Error("WrappedKeyMustBeMultipleOf8");case 7:return t.next=9,a.getWebCryptoAll();case 9:return l=t.sent,t.next=12,a.getNodeCrypto();case 12:if(d=t.sent,f=h.default.wrapKeys["AES-KW"].defaultIV,void 0===l||"function"!=typeof l.importKey||"function"!=typeof l.wrapKey){t.next=18;break}return t.abrupt("return",c.wrapKey(e,n,{name:s,iv:f},l));case 18:if(void 0===d){t.next=22;break}return t.abrupt("return",u.wrapKey(e,n,{name:s,iv:f},d));case 22:throw new Error("UnsupportedEnvironment");case 23:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.wrapKey=p;var _=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r){var i,s,l,d,f;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r.name,s=void 0===i?"AES-KW":i,e instanceof Uint8Array){t.next=3;break}throw new Error("NonUint8ArrayData");case 3:if(n instanceof Uint8Array){t.next=5;break}throw new Error("NonUint8ArrayKey");case 5:return t.next=7,a.getWebCryptoAll();case 7:return l=t.sent,t.next=10,a.getNodeCrypto();case 10:if(d=t.sent,f=h.default.wrapKeys["AES-KW"].defaultIV,void 0===l||"function"!=typeof l.importKey||"function"!=typeof l.wrapKey){t.next=16;break}return t.abrupt("return",c.unwrapKey(e,n,{name:s,iv:f},l));case 16:if(void 0===d){t.next=20;break}return t.abrupt("return",u.unwrapKey(e,n,{name:s,iv:f},d));case 20:throw new Error("UnsupportedEnvironment");case 21:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}();e.unwrapKey=_},ta2Q:function(t,e,n){"use strict";var r=n("siiD");function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var n=Math.min(this.buffer.length-this.bufferOff,t.length-e),r=0;r0;r--)e+=this._buffer(t,e),n+=this._flushBuffer(i,n);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,n;return t&&(e=this.update(t)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(n):n},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n("TiKg"))},vdEC:function(t,e,n){var r=n("e+GP");function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){var a=o?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(n,s,a):n[s]=t[s]}return n.default=t,e&&e.set(t,n),n}},vePQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"generateKey",{enumerable:!0,get:function(){return r.generateKey}}),Object.defineProperty(e,"sign",{enumerable:!0,get:function(){return r.sign}}),Object.defineProperty(e,"verify",{enumerable:!0,get:function(){return r.verify}}),Object.defineProperty(e,"deriveSecret",{enumerable:!0,get:function(){return r.deriveSecret}}),e.default=void 0;var r=n("J6Gk"),i={generateKey:r.generateKey,sign:r.sign,verify:r.verify,deriveSecret:r.deriveSecret};e.default=i},viEW:function(t,e,n){"use strict";e.sha1=n("hwY2"),e.sha224=n("Mjob"),e.sha256=n("a/ED"),e.sha384=n("qwGt"),e.sha512=n("HbDv")},"w+CG":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(n("QWm9")),i=s(n("eicH")),o=s(n("LxOh"));function s(t){return t&&t.__esModule?t:{default:t}}var a=function(t){var e=t.A,n=t.C,s=t.W;(0,o.default)(e,1)(s,0);for(var a=0,u=0,c=0,h=32,l=0;l<24;l++){var d=r.default[l],f=i.default[l];(0,o.default)(e,d)(n,0),a=s[0],u=s[1],h=32-f,s[c=f<32?0:1]=a<>>h,s[(c+1)%2]=u<>>h,(0,o.default)(s,0)(e,d),(0,o.default)(n,0)(s,0)}};e.default=a},w1Rh:function(t,e,n){var r,i,o,s,a;r=n("DPV4"),i=n("arkH").utf8,o=n("EbX1"),s=n("arkH").bin,(a=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?s.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=r.bytesToWords(t),u=8*t.length,c=1732584193,h=-271733879,l=-1732584194,d=271733878,f=0;f>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[u>>>5]|=128<>>9<<4)]=u;var p=a._ff,_=a._gg,m=a._hh,y=a._ii;for(f=0;f>>0,h=h+b>>>0,l=l+g>>>0,d=d+w>>>0}return r.endian([c,h,l,d])})._ff=function(t,e,n,r,i,o,s){var a=t+(e&n|~e&r)+(i>>>0)+s;return(a<>>32-o)+e},a._gg=function(t,e,n,r,i,o,s){var a=t+(e&r|n&~r)+(i>>>0)+s;return(a<>>32-o)+e},a._hh=function(t,e,n,r,i,o,s){var a=t+(e^n^r)+(i>>>0)+s;return(a<>>32-o)+e},a._ii=function(t,e,n,r,i,o,s){var a=t+(n^(e|~r))+(i>>>0)+s;return(a<>>32-o)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=r.wordsToBytes(a(t,e));return e&&e.asBytes?n:e&&e.asString?s.bytesToString(n):r.bytesToHex(n)}},w8x0:function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},wQqr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRootWebCryptoAll=e.getWebCryptoAll=e.getMsCrypto=e.getWebCrypto=e.getNodeCrypto=e.default=void 0;var r=function(){return"undefined"!=typeof window?void 0:n("9dER")};e.getNodeCrypto=r;var i=function(){if("undefined"!=typeof window)return window.crypto?window.crypto.subtle:void 0};e.getWebCrypto=i;var o=function(){if("undefined"!=typeof window)return window.msCrypto?window.msCrypto.subtle:window.crypto?window.crypto.subtle:void 0};e.getWebCryptoAll=o;var s=function(){if("undefined"!=typeof window)return window.msCrypto?window.msCrypto:window.crypto?window.crypto:void 0};e.getRootWebCryptoAll=s;var a=function(){if("undefined"!=typeof window&&!window.crypto)return window.msCrypto?window.msCrypto.subtle:void 0};e.getMsCrypto=a;var u={getNodeCrypto:r,getWebCrypto:i,getMsCrypto:a,getWebCryptoAll:o,getRootWebCryptoAll:s};e.default=u},wQuK:function(t,e,n){var r=n("wfEq"),i=n("LpNI");function o(t){i.call(this,t),this.enc="pem"}r(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var n=i.prototype.encode.call(this,t).toString("base64"),r=["-----BEGIN "+e.label+"-----"],o=0;o=10;)t/=10;return n(t)}return n(t/=1e3)}t.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:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},wTN5:function(t,e,n){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,n){t[0+n]=e>>>24,t[1+n]=e>>>16&255,t[2+n]=e>>>8&255,t[3+n]=255&e},e.ip=function(t,e,n,r){for(var i=0,o=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1;for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1}n[r+0]=i>>>0,n[r+1]=o>>>0},e.rip=function(t,e,n,r){for(var i=0,o=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)i<<=1,i|=e>>>a+s&1,i<<=1,i|=t>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)o<<=1,o|=e>>>a+s&1,o<<=1,o|=t>>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.pc1=function(t,e,n,r){for(var i=0,o=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},e.r28shl=function(t,e){return t<>>28-e};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,i){for(var o=0,s=0,a=r.length>>>1,u=0;u>>r[u]&1;for(u=a;u>>r[u]&1;n[i+0]=o>>>0,n[i+1]=s>>>0},e.expand=function(t,e,n){var r=0,i=0;r=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[n+0]=r>>>0,e[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(t>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(e>>>18-6*r&63)]}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,n=0;n>>o[n]&1;return e>>>0},e.padSplit=function(t,e,n){for(var r=t.toString(2);r.length10&&t<20}function i(t){return e[t].split("_")}function o(t,e,o,s){var a=t+" ";return 1===t?a+n(0,e,o[0],s):e?a+(r(t)?i(o)[1]:i(o)[0]):s?a+i(o)[1]:a+(r(t)?i(o)[1]:i(o)[2])}t.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:function(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("TiKg"))},wcNg:function(t,e,n){var r=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function a(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),s=new x(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return S()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=b(s,n);if(a){if(a===c)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var h=u(t,e,n);if("normal"===h.type){if(r=n.done?"completed":"suspendedYield",h.arg===c)continue;return{value:h.arg,done:n.done}}"throw"===h.type&&(r="completed",n.method="throw",n.arg=h.arg)}}}(t,n,s),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var c={};function h(){}function l(){}function d(){}var f={};f[i]=function(){return this};var p=Object.getPrototypeOf,_=p&&p(p(M([])));_&&_!==e&&n.call(_,i)&&(f=_);var m=d.prototype=h.prototype=Object.create(f);function y(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function v(t,e){var r;this._invoke=function(i,o){function s(){return new e((function(r,s){!function r(i,o,s,a){var c=u(t[i],t,o);if("throw"!==c.type){var h=c.arg,l=h.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,a)}),(function(t){r("throw",t,s,a)})):e.resolve(l).then((function(t){h.value=t,s(h)}),(function(t){return r("throw",t,s,a)}))}a(c.arg)}(i,o,r,s)}))}return r=r?r.then(s,s):s()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,c;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function g(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(g,this),this.reset(!0)}function M(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:M(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},wehu:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e=/(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,n=[/^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];t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("TiKg"))},wfEq:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},wthT:function(t,e,n){"use strict";n.r(e),function(t){var e=n("5+HP"),r=n("Z3s7"),i=n("AIuu"),o=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("unable to locate global object")}();"function"!=typeof o.Promise?o.Promise=e.a:o.Promise.prototype.finally?o.Promise.allSettled||(o.Promise.allSettled=i.a):o.Promise.prototype.finally=r.a}.call(this,n("pCvA"))},wuJa:function(t,e,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,s=n("peDq"),a=n("Ih9J"),u=n("pRMk").Buffer;t.exports=function(t,e){var n,c=t.toString(),h=c.match(r);if(h){var l="aes"+h[1],d=u.from(h[2],"hex"),f=u.from(h[3].replace(/[\r\n]/g,""),"base64"),p=s(e,d.slice(0,8),parseInt(h[1],10)).key,_=[],m=a.createDecipheriv(l,p,d);_.push(m.update(f)),_.push(m.final()),n=u.concat(_)}else{var y=c.match(o);n=new u(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:n}}},ww2P:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("TiKg"))},x0TR:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration function e(t,e,n,r){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r||e?i[n][0]:i[n][1]}t.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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},xSFS:function(t,e,n){"use strict";var r=n("ovh1"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},xTpk:function(t,e,n){"use strict";var r=n("upWy");function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(r.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},xVOH:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function r(t,r,i){return t+" "+n(e[i],t,r)}function i(t,r,i){return n(e[i],t,r)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("TiKg"))},xXeP:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,r){var i=e.words[r];return 1===r.length?n?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("TiKg"))},xeyG:function(t,e,n){var r=n("8gph"),i=n("pRMk").Buffer,o=n("ql4I"),s=n("wfEq"),a=n("S2bg"),u=n("smmp"),c=n("3qw6");function h(t,e,n,s){o.call(this);var u=i.alloc(4,0);this._cipher=new r.AES(e);var h=this._cipher.encryptBlock(u);this._ghash=new a(h),n=function(t,e,n){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var r=new a(n),o=e.length,s=o%16;r.update(e),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var u=8*o,h=i.alloc(8);h.writeUIntBE(u,0,8),r.update(h),t._finID=r.state;var l=i.from(t._finID);return c(l),l}(this,n,h),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}s(h,o),h.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var n=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(n),this._len+=t.length,n},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var n=0;t.length!==e.length&&n++;for(var r=Math.min(t.length,e.length),i=0;i=0);return i},o.prototype._randrange=function(t,e){var n=e.sub(t);return t.add(this._randbelow(n))},o.prototype.test=function(t,e,n){var i=t.bitLength(),o=r.mont(t),s=new r(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var a=t.subn(1),u=0;!a.testn(u);u++);for(var c=t.shrn(u),h=a.toRed(o);e>0;e--){var l=this._randrange(new r(2),a);n&&n(l);var d=l.toRed(o).redPow(c);if(0!==d.cmp(s)&&0!==d.cmp(h)){for(var f=1;f0;e--){var h=this._randrange(new r(2),s),l=t.gcd(h);if(0!==l.cmpn(1))return l;var d=h.toRed(i).redPow(u);if(0!==d.cmp(o)&&0!==d.cmp(c)){for(var f=1;f>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function d(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function f(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,p=0|this._f,_=0|this._g,m=0|this._h,y=0;y<16;++y)n[y]=t.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((e=n[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[y-7]+f(n[y-15])+n[y-16];for(var v=0;v<64;++v){var b=m+d(u)+c(u,p,_)+s[v]+n[v]|0,g=l(r)+h(r,i,o)|0;m=_,_=p,p=u,u=a+b|0,a=o,o=i,i=r,r=b+g|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=_+this._g|0,this._h=m+this._h|0},u.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=u},yPwC:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(n("TiKg"))},yRLl:function(t,e,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.decryptEncryptedPrivateKeyInfo=e.encryptEncryptedPrivateKeyInfo=void 0;var o=i(n("NthX")),s=i(n("fFdx")),a=r(n("omOp")),u=n("zYJ4"),c=i(n("oBSY")),h=i(n("qykS")),l=i(n("+Gs+")),d=i(n("SDgz")),f=i(n("gSrR")),p=i(n("a8jK")),_=i(n("6yG2")),m=h.default.Buffer,y=l.default.bignum,v=function(){var t=(0,s.default)(o.default.mark((function t(e){var n,r,i,s,c=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===(n=c.length>1&&void 0!==c[1]?c[1]:{passphrase:""}).algorithm&&(n.algorithm="pbes2"),void 0===n.iterationCount&&(n.iterationCount=2048),"pbes2"!==n.algorithm){t.next=15;break}return void 0===n.cipher&&(n.cipher="aes256-cbc"),void 0===n.prf&&(n.prf="hmacWithSHA256"),r="pbkdf2",t.next=9,x(e,n.passphrase,r,n.prf,n.iterationCount,n.cipher);case 9:return i=t.sent,t.next=12,g(i);case 12:return t.abrupt("return",t.sent);case 15:return t.next=17,S(e,n.passphrase,n.algorithm,n.iterationCount);case 17:return(s=t.sent).encryptionAlgorithm.algorithm=a.default.passwordBasedEncryptionSchemes[s.encryptionAlgorithm.algorithm].oid,s.encryptionAlgorithm.parameters=u.PBEParameter.encode(s.encryptionAlgorithm.parameters,"der"),t.abrupt("return",u.EncryptedPrivateKeyInfo.encode(s,"der"));case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.encryptEncryptedPrivateKeyInfo=v;var b=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r={}).encryptionAlgorithm={algorithm:(0,a.getAlgorithmFromOidStrict)(e.encryptionAlgorithm.algorithm,a.default.passwordBasedEncryptionSchemes)},"pbes2"===r.encryptionAlgorithm.algorithm?r.encryptionAlgorithm.parameters=w(e.encryptionAlgorithm.parameters):r.encryptionAlgorithm.parameters=u.PBEParameter.decode(e.encryptionAlgorithm.parameters,"der"),r.encryptedData=e.encryptedData,"pbes2"!==r.encryptionAlgorithm.algorithm){t.next=10;break}return t.next=7,M(r,n);case 7:return t.abrupt("return",t.sent);case 10:return t.next=12,T(r,n);case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();e.decryptEncryptedPrivateKeyInfo=b;var g=function(t){var e={encryptionAlgorithm:{}};e.encryptionAlgorithm.algorithm=a.default.passwordBasedEncryptionSchemes[t.encryptionAlgorithm.algorithm].oid;var n=t.encryptionAlgorithm.parameters.keyDerivationFunc;if("pbkdf2"!==n.algorithm)throw new Error("UnsupportedKDF");n.parameters.prf.algorithm=a.default.pbkdf2Prfs[n.parameters.prf.algorithm].oid,n.parameters=u.PBKDF2Params.encode(n.parameters,"der"),n.algorithm=a.default.keyDerivationFunctions[n.algorithm].oid;var r=t.encryptionAlgorithm.parameters.encryptionScheme;if(!(Object.keys(u.PBES2ESParams).indexOf(r.algorithm)>=0))throw new Error("UnsupportedCipher");return r.parameters=u.PBES2ESParams[r.algorithm].encode(r.parameters,"der"),r.algorithm=a.default.encryptionSchemes[r.algorithm].oid,e.encryptionAlgorithm.parameters=u.PBES2Params.encode({keyDerivationFunc:n,encryptionScheme:r},"der"),e.encryptedData=t.encryptedData,u.EncryptedPrivateKeyInfo.encode(e,"der")},w=function(t){var e,n,r,i=u.PBES2Params.decode(t,"der"),o=(0,a.getAlgorithmFromOidStrict)(i.keyDerivationFunc.algorithm,a.default.keyDerivationFunctions);if("pbkdf2"!==o)throw new Error("UnsupportedKDF");var s=u.PBKDF2Params.decode(i.keyDerivationFunc.parameters,"der");r={algorithm:(0,a.getAlgorithmFromOidStrict)(s.prf.algorithm,a.default.pbkdf2Prfs),parameters:s.prf.parameters},e=s.iterationCount,n={type:s.salt.type,value:s.salt.value};var c=(0,a.getAlgorithmFromOidStrict)(i.encryptionScheme.algorithm,a.default.encryptionSchemes);if(!(Object.keys(u.PBES2ESParams).indexOf(c)>=0))throw new Error("UnsupportedCipher");return{keyDerivationFunc:{algorithm:o,parameters:{salt:n,iterationCount:e,prf:r}},encryptionScheme:{algorithm:c,parameters:u.PBES2ESParams[c].decode(i.encryptionScheme.parameters,"der")}}},x=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i,s,u){var h,l,v,b,g,w,x,M;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h=d.default.encoder.stringToArrayBuffer(n),t.next=3,_.default.getRandomBytes(a.default.keyDerivationFunctions[r].defaultSaltLen);case 3:if(l=t.sent,v=a.default.encryptionSchemes[u].keyLength,"pbkdf2"!==r){t.next=11;break}return t.next=8,f.default.pbkdf2(h,l,s,v,a.default.pbkdf2Prfs[i].hash);case 8:b=t.sent,t.next=12;break;case 11:throw new Error("UnsupportedKDF");case 12:if("des-ede3-cbc"!==u){t.next=23;break}return t.t0=m,t.next=16,_.default.getRandomBytes(a.default.encryptionSchemes[u].ivLength);case 16:t.t1=t.sent,g=t.t0.from.call(t.t0,t.t1),x=c.default.CBC.instantiate(c.default.EDE),M=x.create({type:"encrypt",key:m.from(b),iv:g}),w=m.from(M.update(e).concat(M.final())),t.next=36;break;case 23:if("aes128-cbc"!==u&&"aes192-cbc"!==u&&"aes256-cbc"!==u){t.next=35;break}return t.next=26,_.default.getRandomBytes(a.default.encryptionSchemes[u].ivLength);case 26:return g=t.sent,t.t2=m,t.next=30,p.default.encrypt(new Uint8Array(e),b,{name:"AES-CBC",iv:g});case 30:t.t3=t.sent,w=t.t2.from.call(t.t2,t.t3),g=m.from(g),t.next=36;break;case 35:throw new Error("UnsupportedCipher");case 36:return t.abrupt("return",{encryptedData:w,encryptionAlgorithm:{algorithm:"pbes2",parameters:{keyDerivationFunc:{algorithm:r,parameters:{salt:{type:"specified",value:m.from(l)},iterationCount:new y(s),prf:{algorithm:i,parameters:m.from([5,0])}}},encryptionScheme:{algorithm:u,parameters:g}}}});case 37:case"end":return t.stop()}}),t)})));return function(e,n,r,i,o,s){return t.apply(this,arguments)}}(),M=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,h,l,_,y,v,b,g,w,x,M;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.encryptionAlgorithm.parameters.keyDerivationFunc,i=e.encryptionAlgorithm.parameters.encryptionScheme,s=a.default.encryptionSchemes[i.algorithm].keyLength,"pbkdf2"!==r.algorithm){t.next=15;break}if(l=d.default.encoder.stringToArrayBuffer(n),"specified"===r.parameters.salt.type){t.next=7;break}throw new Error("UnsupportedSaltSource");case 7:return _=new Uint8Array(r.parameters.salt.value),y=r.parameters.iterationCount.toNumber(),v=r.parameters.prf.algorithm,t.next=12,f.default.pbkdf2(l,_,y,s,a.default.pbkdf2Prfs[v].hash);case 12:h=t.sent,t.next=16;break;case 15:throw new Error("UnsupportedKDF");case 16:if("des-ede3-cbc"!==i.algorithm){t.next=23;break}g=i.parameters,w=c.default.CBC.instantiate(c.default.EDE),x=w.create({type:"decrypt",key:h,iv:g}),b=m.from(x.update(e.encryptedData).concat(x.final())),t.next=33;break;case 23:if("aes128-cbc"!==i.algorithm&&"aes192-cbc"!==i.algorithm&&"aes256-cbc"!==i.algorithm){t.next=32;break}return M=new Uint8Array(i.parameters),t.t0=m,t.next=28,p.default.decrypt(new Uint8Array(e.encryptedData),h,{name:"AES-CBC",iv:M});case 28:t.t1=t.sent,b=t.t0.from.call(t.t0,t.t1),t.next=33;break;case 32:throw new Error("UnsupportedEncryptionAlgorithm");case 33:return t.abrupt("return",u.OneAsymmetricKey.decode(b,"der"));case 34:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),S=function(){var t=(0,s.default)(o.default.mark((function t(e,n,r,i){var s,u,h,l,p,v,b,g,w;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=d.default.encoder.stringToArrayBuffer(n),t.next=3,_.default.getRandomBytes(8);case 3:return u=t.sent,h=a.default.passwordBasedEncryptionSchemes[r].hash,t.next=7,f.default.pbkdf1(s,u,i,16,h);case 7:if(l=t.sent,p=l.slice(0,8),v=l.slice(8,16),"DES-CBC"!==a.default.passwordBasedEncryptionSchemes[r].encrypt){t.next=17;break}g=c.default.CBC.instantiate(c.default.DES),w=g.create({type:"encrypt",key:p,iv:v}),b=m.from(w.update(e).concat(w.final())),t.next=18;break;case 17:throw new Error("UnsupportedEncryptionAlgorithm");case 18:return t.abrupt("return",{encryptionAlgorithm:{algorithm:r,parameters:{salt:m.from(u),iterationCount:new y(i)}},encryptedData:b});case 19:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}(),T=function(){var t=(0,s.default)(o.default.mark((function t(e,n){var r,i,s,h,l,p,_,y,v,b;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=d.default.encoder.stringToArrayBuffer(n),i=new Uint8Array(e.encryptionAlgorithm.parameters.salt),s=a.default.passwordBasedEncryptionSchemes[e.encryptionAlgorithm.algorithm].hash,h=e.encryptionAlgorithm.parameters.iterationCount.toNumber(),t.next=6,f.default.pbkdf1(r,i,h,16,s);case 6:if(l=t.sent,p=l.slice(0,8),_=l.slice(8,16),"DES-CBC"!==a.default.passwordBasedEncryptionSchemes[e.encryptionAlgorithm.algorithm].encrypt){t.next=16;break}v=c.default.CBC.instantiate(c.default.DES),b=v.create({type:"decrypt",key:p,iv:_}),y=m.from(b.update(e.encryptedData).concat(b.final())),t.next=17;break;case 16:throw new Error("UnsupportedEncryptionAlgorithm");case 17:return t.abrupt("return",u.OneAsymmetricKey.decode(y,"der"));case 18:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()},yuDq:function(t,e,n){t.exports=n("A/eZ")},z3ad:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.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(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("TiKg"))},zJNk:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("TiKg"))},zWXE:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,s){var a=n(e),u=r[t][n(e)];return 2===a&&(u=u[i?0:1]),u.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("TiKg"))},zYJ4:function(t,e,n){"use strict";(function(t){var r=n("63Ad");Object.defineProperty(e,"__esModule",{value:!0}),e.PBES2ESParams=e.PBKDF2Params=e.PBES2Params=e.PBEParameter=e.EncryptedPrivateKeyInfo=e.OneAsymmetricKey=e.SubjectPublicKeyInfo=e.KeyStructure=void 0;var i=r(n("+Gs+")),o=i.default.define("KeyStructure",(function(){this.choice({subjectPublicKeyInfo:this.use(s),oneAsymmetricKey:this.use(a),encryptedPrivateKeyInfo:this.use(u)})}));e.KeyStructure=o;var s=i.default.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(f),this.key("subjectPublicKey").bitstr())}));e.SubjectPublicKeyInfo=s;var a=i.default.define("OneAsymmetricKey",(function(){this.seq().obj(this.key("version").use(p),this.key("privateKeyAlgorithm").use(f),this.key("privateKey").octstr(),this.key("attributes").implicit(0).optional().any(),this.key("publicKey").implicit(1).optional().bitstr())}));e.OneAsymmetricKey=a;var u=i.default.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("encryptionAlgorithm").use(f),this.key("encryptedData").octstr())}));e.EncryptedPrivateKeyInfo=u;var c=i.default.define("PBEParameter",(function(){this.seq().obj(this.key("salt").octstr(8),this.key("iterationCount").int())}));e.PBEParameter=c;var h=i.default.define("PBES2Params",(function(){this.seq().obj(this.key("keyDerivationFunc").use(f),this.key("encryptionScheme").use(f))}));e.PBES2Params=h;var l=i.default.define("PBKDF2Params",(function(){this.seq().obj(this.key("salt").choice({specified:this.octstr(),otherSource:this.use(f)}),this.key("iterationCount").int(),this.key("keyLength").int().optional(),this.key("prf").use(f).def({algorithm:[1,2,840,113549,2,7],parameters:t.from([5,0])}))}));e.PBKDF2Params=l;var d={"des-ede3-cbc":i.default.define("DesEde3CbcParams",(function(){this.octstr()})),"aes128-cbc":i.default.define("Aes128CbcParams",(function(){this.octstr()})),"aes192-cbc":i.default.define("Aes192CbcParams",(function(){this.octstr()})),"aes256-cbc":i.default.define("Aes256CbcParams",(function(){this.octstr()}))};e.PBES2ESParams=d;var f=i.default.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())})),p=i.default.define("Version",(function(){this.int()}))}).call(this,n("qykS").Buffer)},zaxx:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,n,o,s){var a=r(e),u=i[t][r(e)];return 2===a&&(u=u[n?0:1]),u.replace(/%d/i,e)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("TiKg"))},zf4f:function(t,e,n){"use strict";var r=n("ovh1"),i=n("aECo"),o=n("vMO2"),s=n("fwl+"),a=n("h1Um"),u=n("xSFS"),c=n("cON5"),h=n("2KG9");t.exports=function(t){return new Promise((function(e,n){var l=t.data,d=t.headers,f=t.responseType;r.isFormData(l)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(_+":"+m)}var y=a(t.baseURL,t.url);function v(){if(p){var r="getAllResponseHeaders"in p?u(p.getAllResponseHeaders()):null,o={data:f&&"text"!==f&&"json"!==f?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:t,request:p};i(e,n,o),p=null}}if(p.open(t.method.toUpperCase(),s(y,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,"onloadend"in p?p.onloadend=v:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(v)},p.onabort=function(){p&&(n(h("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(h("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(h(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||c(y))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}"setRequestHeader"in p&&r.forEach(d,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),f&&"json"!==f&&(p.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),n(t),p=null)})),l||(l=null),p.send(l)}))}},zhSd:function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.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(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<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(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n("TiKg"))},zn3x:function(t,e,n){"use strict";var r=n("wfEq"),i=n("pRMk").Buffer,o=n("ql4I"),s=i.alloc(128);function a(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,s],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),a=0;a<64;a++)n[a]=54^e[a],r[a]=92^e[a];this._hash=[n]}r(a,o),a.prototype._update=function(t){this._hash.push(t)},a.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=a},zxuB:function(t,e,n){var r=n("pRMk").Buffer,i=n("smmp");function o(t,e,n){var o=e.length,s=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=r.concat([t._prev,n?e:s]),s}e.encrypt=function(t,e,n){for(var i,s=r.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=r.allocUnsafe(0)),!(t._cache.length<=e.length)){s=r.concat([s,o(t,e,n)]);break}i=t._cache.length,s=r.concat([s,o(t,e.slice(0,i),n)]),e=e.slice(i)}return s}}}]);